I also have Asrock Thunderbolt 4 AIC and I flashed FW with Linux
Thanks to
@racermaster for the nixOS Linux Live CD patched for Maple Ridge, being able to flash thunderbolt Firmware
Thanks to
@Elias64Fr for the modified FW attached on first post (1MB size)
I cut the last 512K bytes off (zeroes), because thunderbolt kernel module for Linux only allows FW with size between 32K and 512K for flashing, according to kernel source code.
I replaced UID on FW with mine and the corresponding CRC8, for Bus 0
Boot from USB nixOS Live CD and following the procedure explained on Linux kernel documentation (USB4 and Thunderbolt)
First step. This command copies FW to internal buffer of linux thunderbolt kernel module:
# dd if=ASROCK_Thunderbolt4_AIC_modified_Elias64Fr_512K.bin of=/sys/bus/thunderbolt/devices/0-0/nvm_non_active0/nvmem
Second step. This is the flashing process indeed. It takes several minutes to write EEPROM
Once the operation completes we can trigger NVM authentication and upgrade process as follows:
# echo 1 > /sys/bus/thunderbolt/devices/0-0/nvm_authenticate
Don't touch anything and wait several minutes until the flashing process has finished.
Reboot
From SSDT posted on this thread to enable Thunderbolt Bus for RP05 on Asus Z790 ProArt, I replace RP05 with RP09 for Asrock Card and Thunderbolt Bus was enabled on Monterey and Ventura. I don't have Sonoma for now.
On Ventura DROM was shown on ioreg - IOThunderboltSwitchOS
My Hackintosh with Asrock card connected to my laptop