Contribute
Register

Z490 & Z590 - Will Z590 ever have macOS Support ?

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:
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:

Attachments

  • EX4OEMfirmware-patched-experimentation.zip
    659.6 KB · Views: 33
Last edited:
@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:
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.
 
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 1.ioreg
    9.7 MB · Views: 47
  • Test’s iMac test rom 2.ioreg
    9.8 MB · Views: 46
  • Test’s iMac test rom 3.ioreg
    9.8 MB · Views: 29
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: 31
  • Test’s iMac rom test 3 EB150000.ioreg
    9.8 MB · Views: 30
  • Test’s iMac rom test 1 EB150000.ioreg
    10 MB · Views: 45
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:
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.

OriginalFirmware-Z590iTH4-test01.bin

Screenshot 2021-10-15 at 00.37.25.png

Screenshot 2021-10-15 at 00.36.49.png
Screenshot 2021-10-15 at 00.37.06.png

Screenshot 2021-10-15 at 00.32.58.png


1. Yes
2. Hot-plug work.
3. Sleep does not work.
 
Last edited:
Back
Top