Contribute
Register

[SUCCESS] Gigabyte Designare Z390 (Thunderbolt 3) + i7-9700K + AMD RX 580

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,779
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
OK. Here are my aml and extensions folder pix as well as the EFI.
View attachment 466736
View attachment 466737
Please try this:
  • Temporarily remove the Radeon Boost patches:
    • CLOVER/ACPI/patched/SSDT-RX 5700 XT-Version 1.0.aml
    • CLOVER/kexts/Other/dAGPM.kext
  • Delete the duplicate kext:
    • CLOVER/kexts/10.14/SmallTreeIntel82576.kext
  • Use the attached config.plist. Backup the original file.
 

Attachments

  • config.plist
    10.7 KB · Views: 26
Joined
Mar 24, 2014
Messages
116
Motherboard
Aorus Xtreme Z390
CPU
i9-9900K
Graphics
Vega 56
Mobile Phone
  1. Other
@CaseySJ Completely off-topic: do you know, whether the Synology E10G18-T1 works (OOB, if possible) with OS X? I've read that it has the AQC107 chip, just not sure, if it sports the AQC107"s", or the normal one. If it works oob, it could be flashed with the Apple FW
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,779
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Hi,
I probably asked this in the past, but can't find it anymore.
Is there a way to create a SSDT for PCI Information injection instead of using the Clover -> Devices -> Arbitrary injection ?
Sure, we can use SSDT to inject device properties. Probably the best way to learn this is by example. Have a look at KGP's X299 repository on GitHub (click here).

Most (not all) of the files below are used only to inject device properties. We can use Hackintool --> PCIe to determine the IOReg path of various devices in our system.

Screen Shot 2020-05-03 at 4.29.44 AM.png
 
Joined
Jul 20, 2013
Messages
81
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
RX 590
@CaseySJ
Not getting expected output still..
Will look into the breadboard like @iRamon (great post btw, I didn't see it as I'm just looking at the flashing tuts.)
but just trying again as I feel I'm pretty close to getting it to read. Tried to run 3 separate tests and save the .binView attachment 466780

EDIT: Oh hang on.. I may have done it already looking back at the tutorial..
Should I Flash?? Aghh.. here we go
Seems like you are already reading the chip successfully @ziggenpuss!

Verify that checksums of test1.bin, test2.bin and test3.bin are identical:
Code:
shasum test*.bin

If they are identical, your clip is attached properly are you are succesfully and consistently reading the chip correctly.
KEEP these testx.bin files, they are your backup of the original firmware!

When three checksums match, then move on to the write command to flash the patched firmware.bin.

If flashing is successfull (message with VERIFIED), make sure to do three read commands again (use different filenames, so you don't overwrite your original backup files!!). Verify that the checksums are identical again using shasum *.bin command. If the checksums of those three reads match with the checksum of the patched firmware .bin file, celebrate! Because then you have succesfully patched your Thunderbolt firmware.

I've listed the commands and output of my succesfull flash in the spoiler below. Hope that makes it easier to follow the flashing procedure and recognize desired outputs.
Rich (BB code):
$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r test-connection-ATX-NoPSU-VCC.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r ReadOriginalROM-01-ATX-PSU-NoVCC-BrightWhite.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r ReadOriginalROM-02-ATX-PSU-NoVCC-BrightWhite.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r ReadOriginalROM-03-ATX-PSU-NoVCC-BrightWhite.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ shasum *.bin
8a07244b1f6ea08643eb144e5dd520e50babef7e  ReadOriginalROM-01-ATX-PSU-NoVCC-BrightWhite.bin
8a07244b1f6ea08643eb144e5dd520e50babef7e  ReadOriginalROM-02-ATX-PSU-NoVCC-BrightWhite.bin
8a07244b1f6ea08643eb144e5dd520e50babef7e  ReadOriginalROM-03-ATX-PSU-NoVCC-BrightWhite.bin
1809647344696d2bdc8a4982d1171bafb1dfd630  tb-firmware-original.bin
edbbe3cbf8e3fa4a9d991e0681f2a5702b248224  tb-firmware-patched.bin
8a07244b1f6ea08643eb144e5dd520e50babef7e  test-connection-ATX-NoPSU-VCC.bin
NOTE: all ReadOriginalROM checksums above are identical

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -w tb-firmware-patched.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r ReadPatchedROM-01.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r ReadPatchedROM-02.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096 -r ReadPatchedROM-03.bin
flashrom  on Linux 4.19.97-v7l+ (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on linux_spi.
Reading flash... done.

$ shasum ReadPatched*.bin
edbbe3cbf8e3fa4a9d991e0681f2a5702b248224  ReadPatchedROM-01.bin
edbbe3cbf8e3fa4a9d991e0681f2a5702b248224  ReadPatchedROM-02.bin
edbbe3cbf8e3fa4a9d991e0681f2a5702b248224  ReadPatchedROM-03.bin
NOTE: all ReadPatchedROM checksums above are identical, and match checksum of tb-firmware-patched.bin

Good luck, hope you will be succesfull!
 
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,779
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Please... Help adapting IOReg Path in Tbolt3 aml.

/PC03@0/AppleACPIPCI/BR3B@1/IOPP/SL0A@0/IOPP/pci-bridge@0/IOPP/pci8086,15eb@0
Please copy both of the attached SSDTs to CLOVER/ACPI/patched. Reboot and check IORegistry again.
 

Attachments

  • SSDT-TBOLT3-X299_J.aml
    2.2 KB · Views: 25
  • SSDT-DTPG.aml
    100 bytes · Views: 28

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,779
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
@CaseySJ
Not getting expected output still..
Will look into the breadboard like @iRamon (great post btw, I didn't see it as I'm just looking at the flashing tuts.)
but just trying again as I feel I'm pretty close to getting it to read. Tried to run 3 separate tests and save the .binView attachment 466780

EDIT: Oh hang on.. I may have done it already looking back at the tutorial..
Should I Flash?? Aghh.. here we go
Seems like you are already reading the chip successfully @ziggenpuss!

Verify that checksums of test1.bin, test2.bin and test3.bin are identical:
Code:
shasum test*.bin

If they are identical, your clip is attached properly are you are succesfully and consistently reading the chip correctly.
KEEP these testx.bin files, they are your backup of the original firmware!

When three checksums match, then move on to the write command to flash the patched firmware.bin.

If flashing is successfull (message with VERIFIED), make sure to do three read commands again (use different filenames, so you don't overwrite your original backup files!!). Verify that the checksums are identical again using shasum command. If the checksums match, celebrate! Because then you have succesfully patched your Thunderbolt firmware.

Good luck, hope you will be succesfull!
@ziggenpuss,

Yes you're ready to flash! But please verify checksums as mentioned by @iRamon and also type strings test1.bin. If you see a bunch of strings -- even if they look meaningless -- then you're good to go.
 
Joined
Apr 6, 2020
Messages
9
Motherboard
Z390 DESIGNARE
CPU
i9 9900k
Graphics
Radeon ⅶ
Could you please tell me how to clean up so many ICONS after I complete the installation according to the steps? Also, I installed win10 before I installed the MAC, but I can't get in now. Is there anything wrong?
 

Attachments

  • 79174E39-C62B-4175-BC28-FFEC8635A8B2.jpeg
    79174E39-C62B-4175-BC28-FFEC8635A8B2.jpeg
    348.4 KB · Views: 28
Joined
May 31, 2016
Messages
876
Motherboard
Gigabyte Z490 Vision G
CPU
i9-10900K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
  4. Mac mini
Classic Mac
  1. PowerBook
  2. Quadra
Mobile Phone
  1. iOS
I don't get it either. For Pro Tools sleep should be turned off according to Avid, and Cubase turns sleep of by itself, just the screen will sleep.
Hot swapping an interface is just weird. Like switching a hardware analog mixer on half way in the recording session.

On the other hand, I will sometimes walk away or get distracted for a while, and if sleep would work properly even with a DAW running, this would lower the electricity bill somewhat.

Cubase/ULN-8/PSI-17m's with a serious project loaded: 270W. My desk with Hack sleeping: 19W.

FWIW, I have sleep working on my 6700K iMac 17,1 and sleep ProTools Ultimate all the time without issue. Avid might recommend against it but it certainly works just fine (with my hardware, YMMV)
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,779
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
@CaseySJ Completely off-topic: do you know, whether the Synology E10G18-T1 works (OOB, if possible) with OS X? I've read that it has the AQC107 chip, just not sure, if it sports the AQC107"s", or the normal one. If it works oob, it could be flashed with the Apple FW
Please see @pastrychef's post here (and click the Amazon link):
...and here:
 
Joined
Mar 21, 2011
Messages
781
Motherboard
GA-Z390-Designare
CPU
i7-9700K
Graphics
RX 590
@mm2margaret , you found all the right bits, good job. All the changes that need to be made are done in the SSDT-TbtOnPCH file, not the system DSDT. The _GPE hot-plug method you need is indeed _E4C. So all you need to do is change _E2C in the SSDT to _E4C and XE2C to XE4C as per the attached file. Don't mess with your DSDT and remember to have Force Power enabled in the thunderbolt configuration section of your bios. Then use the config.plist ACPI patches I've also attached
@dgsga--what would be the patch for replacing RP21._INI with RP21.XINI?
and I assume that patch and the _GPE patch would work in clover if placed in config.plist/ACPI/DSDT/Patches.

attached is my un-patched DSDT.

thanks!
 

Attachments

  • DSDT.aml
    258.7 KB · Views: 23
Last edited:
Top