Contribute
Register

Z490 & Z590

Joined
Feb 16, 2012
Messages
207
Motherboard
Z590i Vision D
CPU
i7-11700
Graphics
RX560
Mac
  1. MacBook Air
@ori69

It seem that we have a problem with first file size...

I have patched your last submitted file. Could you test theses 3 patched versions ?

(I think first or third will be OK)
1. OriginalFirmware-Z590iTH4-test01.bin
Code:
MacBook-Air:~ macbook$ flashrom -p ch341a_spi
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
No operations were specified.
MacBook-Air:~ macbook$ flashrom -p ch341a_spi -w OriginalFirmware-Z590iTH4-test01.bin
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
MacBook-Air:~ macbook$ flashrom -p ch341a_spi -v OriginalFirmware-Z590iTH4-test01.bin
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
Verifying flash... VERIFIED.

Screenshot 2018-07-01 at 17.02.32.png


Screenshot 2018-07-01 at 17.02.43.png


What else do you want to know?
Write what tests should I generate.
 
Last edited:
Joined
Feb 16, 2012
Messages
207
Motherboard
Z590i Vision D
CPU
i7-11700
Graphics
RX560
Mac
  1. MacBook Air
2. OriginalFirmware-Z590iTH4-test02.bin


Code:
MacBook-Air:~ macbook$ flashrom -p ch341a_spi


flashrom v1.2 on Darwin 18.7.0 (x86_64)


flashrom is free software, get the source code at https://flashrom.org





Calibrating delay loop... OK.


libusb: info [darwin_claim_interface] no interface found; setting configuration: 1


Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.


No operations were specified.


MacBook-Air:~ macbook$ flashrom -p ch341a_spi -w OriginalFirmware-Z590iTH4-test02.bin


flashrom v1.2 on Darwin 18.7.0 (x86_64)


flashrom is free software, get the source code at https://flashrom.org





Calibrating delay loop... delay loop is unreliable, trying to continue OK.


Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.


Reading old flash chip contents... done.


Erasing and writing flash chip... Erase/write done.


Verifying flash... VERIFIED.


MacBook-Air:~ macbook$ flashrom -p ch341a_spi -v OriginalFirmware-Z590iTH4-test02.bin


flashrom v1.2 on Darwin 18.7.0 (x86_64)


flashrom is free software, get the source code at https://flashrom.org





Calibrating delay loop... OK.


Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.


Verifying flash... VERIFIED.

Screenshot 2033-01-21 at 09.36.51.png

Screenshot 2033-01-21 at 09.37.10.png



3. OriginalFirmware-Z590iTH4-test03.bin

Code:
MacBook-Air:~ macbook$ flashrom -p ch341a_spi
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
No operations were specified.
MacBook-Air:~ macbook$ flashrom -p ch341a_spi -w OriginalFirmware-Z590iTH4-test03.bin
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
MacBook-Air:~ macbook$ flashrom -p ch341a_spi -v OriginalFirmware-Z590iTH4-test03.bin
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... delay loop is unreliable, trying to continue OK.
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
Verifying flash... VERIFIED.

Screenshot 2033-01-21 at 09.36.51.png


Screenshot 2033-01-21 at 09.37.10.png
 
Last edited:
Joined
Jan 1, 2020
Messages
409
Motherboard
Gigabyte Z390 Designare
CPU
i5-9600K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
2. OriginalFirmware-Z590iTH4-test02.bin


Code:
MacBook-Air:~ macbook$ flashrom -p ch341a_spi


flashrom v1.2 on Darwin 18.7.0 (x86_64)


flashrom is free software, get the source code at https://flashrom.org





Calibrating delay loop... OK.


libusb: info [darwin_claim_interface] no interface found; setting configuration: 1


Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.


No operations were specified.


MacBook-Air:~ macbook$ flashrom -p ch341a_spi -w OriginalFirmware-Z590iTH4-test02.bin


flashrom v1.2 on Darwin 18.7.0 (x86_64)


flashrom is free software, get the source code at https://flashrom.org





Calibrating delay loop... delay loop is unreliable, trying to continue OK.


Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.


Reading old flash chip contents... done.


Erasing and writing flash chip... Erase/write done.


Verifying flash... VERIFIED.


MacBook-Air:~ macbook$ flashrom -p ch341a_spi -v OriginalFirmware-Z590iTH4-test02.bin


flashrom v1.2 on Darwin 18.7.0 (x86_64)


flashrom is free software, get the source code at https://flashrom.org





Calibrating delay loop... OK.


Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.


Verifying flash... VERIFIED.

View attachment 530912
View attachment 530911


3. OriginalFirmware-Z590iTH4-test03.bin

Code:
MacBook-Air:~ macbook$ flashrom -p ch341a_spi
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
No operations were specified.
MacBook-Air:~ macbook$ flashrom -p ch341a_spi -w OriginalFirmware-Z590iTH4-test03.bin
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
MacBook-Air:~ macbook$ flashrom -p ch341a_spi -v OriginalFirmware-Z590iTH4-test03.bin
flashrom v1.2 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... delay loop is unreliable, trying to continue OK.
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
Verifying flash... VERIFIED.

View attachment 530910

View attachment 530909
@ori69

First, thanks for these tests !

Then, we don't expect that it work for the first time, that is why we don't care about showing System Informations.

Important information is on IORegistryExplorer file. For example, with current Titan ridge, even with modified firmware, if the NHI driver doesn't load, we expect to have same result ... Thunderbolt: No hardware was found.

That is why, firstly, You should have, like @dehjomz here, driver AppleThunderboltHALType4 loaded like this :
1634143002369.png


Two patches are the following :

Config.plist > DevicesProperties > New device (+):
Devices : PciRoot(0x0)/Pci(0x1C,0x4)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
Key: device-id
Value: 178A0000 > (Later, we can test also EB150000)
Type: DATA

Config.plist > DevicesProperties > Same device than previous patch > New property (+):

Key: class-code
Value: 00800800
Type: DATA
 
Last edited:
Joined
Jan 1, 2020
Messages
409
Motherboard
Gigabyte Z390 Designare
CPU
i5-9600K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini

Attachments

  • EX4OEMfirmware-patched-experimentation.zip
    659.6 KB · Views: 4
Last edited:
Joined
Feb 16, 2012
Messages
207
Motherboard
Z590i Vision D
CPU
i7-11700
Graphics
RX560
Mac
  1. MacBook Air
@ori69

First, thanks for these tests !

Then, we don't expect that it work for the first time, that is why we don't care about showing System Informations.

Important information is on IORegistryExplorer file. For example, with current Titan ridge, even with modified firmware, if the NHI driver doesn't load, we expect to have same result ... Thunderbolt: No hardware was found.

That is why, firstly, You should have, like @dehjomz here, driver AppleThunderboltHALType4 loaded like this :
View attachment 530936

Two patches are the following :

Config.plist > DevicesProperties > New device (+):
Devices : PciRoot(0x0)/Pci(0x1C,0x4)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
Key: device-id
Value: 178A0000 > (Later, we can test also EB150000)
Type: DATA

Config.plist > DevicesProperties > Same device than previous patch > New property (+):

Key: class-code
Value: 00800800
Type: DATA
Zrzut ekranu 2021-10-15 o 10.26.21.png


OriginalFirmware-Z590iTH4.rom
Screenshot 2033-01-21 at 10.03.32 org th4 ROM.png


OriginalFirmware-Z590iTH4-test01.bin

Screenshot 2033-01-21 at 10.05.17.png



Screenshot 2033-01-21 at 10.07.17.png


But it doesn't detect Thunderbolt devices

=====

I changed the settings in the BIOS:

"Native OS security for TBT" - Enabled

211014212241PNG.png


OriginalFirmware-Z590iTH4-test02.bin

Screenshot 2021-10-14 at 23.05.03.png



Screenshot 2021-10-14 at 23.05.58.png


OriginalFirmware-Z590iTH4-test03.bin

Screenshot 2021-10-14 at 23.12.29.png


Screenshot 2021-10-14 at 23.13.08.png
 
Last edited:
Joined
Jan 1, 2020
Messages
409
Motherboard
Gigabyte Z390 Designare
CPU
i5-9600K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
View attachment 530945

OriginalFirmware-Z590iTH4.rom
View attachment 530944

OriginalFirmware-Z590iTH4-test01.bin

View attachment 530943


View attachment 530942

But it doesn't detect Thunderbolt devices
OK !

If you are agree and have some times, could you send us IOReg files for the three patched firmwares ?. I need to verify properties on all NHI0 subtree devices for current device-id patch (178A0000) then with TitanRidge device-id patch (replace 178A0000 with EB150000).

Another point, after macOS boot and showing desktop, could you wait around 1 minute before opening IORegistryExplorer and then saving file.
 
Joined
Feb 16, 2012
Messages
207
Motherboard
Z590i Vision D
CPU
i7-11700
Graphics
RX560
Mac
  1. MacBook Air
OK !

If you are agree and have some times, could you send us IOReg files for the three patched firmwares ?. I need to verify properties on all NHI0 subtree devices for current device-id patch (178A0000) then with TitanRidge device-id patch (replace 178A0000 with EB150000).

Another point, after macOS boot and showing desktop, could you wait around 1 minute before opening IORegistryExplorer and then saving file.
Zrzut ekranu 2021-10-15 o 10.26.21.png



OriginalFirmware-Z590iTH4-test01.bin doesn't detect Thunderbolt devices.
OriginalFirmware-Z590iTH4-test02.bin and OriginalFirmware-Z590iTH4-test03.bin detect Thunderbolt devices.
 

Attachments

  • Test’s iMac test rom 3.ioreg
    9.8 MB · Views: 4
  • Test’s iMac test rom 2.ioreg
    9.8 MB · Views: 3
  • Test’s iMac test rom 1.ioreg
    9.7 MB · Views: 3
Joined
Feb 16, 2012
Messages
207
Motherboard
Z590i Vision D
CPU
i7-11700
Graphics
RX560
Mac
  1. MacBook Air
Zrzut ekranu 2021-10-15 o 12.24.19.png


Now detects devices in all ROMs.
 

Attachments

  • Test’s iMac rom test 2 EB150000.ioreg
    9.8 MB · Views: 5
  • Test’s iMac rom test 3 EB150000.ioreg
    9.8 MB · Views: 3
  • Test’s iMac rom test 1 EB150000.ioreg
    10 MB · Views: 5
Joined
Oct 24, 2013
Messages
625
Motherboard
Gigabyte Z590 Vision D
CPU
i7-11700K OC @ 5.2GHz
Graphics
RX 6800 XT
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
Mobile Phone
  1. iOS
With the modified firmwares and the thundeboltHAL driver attaching after we add the updated class-code and device-id:

1) Is there now any information listed under “Thunderbolt/USB4” ?

2) Is hotplug working?

3) Is sleep working ?

Thanks for testing the modified firmwares on Maple Ridge. You might be the first to ever do it. As @CaseySJ would say, #MadScientistSociety.
 
Last edited:
Top