Contribute
Register

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

Joined
Mar 21, 2011
Messages
756
Motherboard
GA-Z390-AORUS Pro
CPU
i7-9700K
Graphics
RX 590
I may have lost track of the original firmware for my GC-Alpine Ridge AIC rev.2. I flashed what I believe is the original firmware so that later today I can try @dgsda's method. after boot, my apple TB display works, although there is no TB bus nor does the display show up in IOReg under RP21. I didn't expect the display to work without flashed firmware. the checksum of what I believe is the original is different from any of the patched firmwares I have on my RPi, but I want to be sure.

does someone have the original firmware, or is it posted here somewhere?
thanks!
 
Joined
Mar 24, 2014
Messages
116
Motherboard
Aorus Xtreme Z390
CPU
i9-9900K
Graphics
Vega 56
Mobile Phone
  1. Other
Power the motherboard on and try flashing again? Or just see if it will read?

You should see the comprehensive post of @iRamon, he has also shot detailed photos. You attach the clip (with all cables and PSU OFF) and the lights of your Mainboard should come on, if you attached it properly. If not try again. After that pull the cable from pin 8 and the lights should go out. Then flip the PSU power switch to ON and your lights should shine once again. Subsequently start reading and comparing the checksums and then, and ONLY IF the checksums match, start writing. I hope you have good eyes and don't scratch down some resistors :p
 
Joined
Dec 6, 2010
Messages
68
Motherboard
AsRock Z490 ITX/TB3
CPU
i7 107000K
Graphics
UHD 630
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
@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!
@faithie999 Here's your patched DSDT, along with config.plist patches for OpenCore. The TBT hot plug _GPE method in your DSDT is _E17. You'll have to create the Clover version of the same patches... I'm not sure if it'll work with an Alpine Ridge AIC as my Alpine Ridge is built-in. Good luck!
 

Attachments

  • config.plist.zip
    1.1 KB · Views: 26
  • DSDT.aml.zip
    46.1 KB · Views: 19
Joined
Dec 6, 2010
Messages
68
Motherboard
AsRock Z490 ITX/TB3
CPU
i7 107000K
Graphics
UHD 630
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
So, well, not so good, actually......

No TB tree, and hot plug is gone.

I used your TB dsl, checked for the parameters you suggested, they seemed corrected (I couldn't find either _E2C or XE2C) and produced an aml and loaded it. Very similar to the first time I tried it. I double checked the my config.plist and both patches are there, and are enabled.

I have GPIO force enabled in my BIOS settings (this is Asus's version of TB Power enabling). Remember that with my old config, cold plug and hot plug worked.

Sadly, no change. After changing my EFI, and loading this TB aml, only Cold plug works, hot plug does not, and no tree in Sysinfo. Again, in PCI it does change the name of TB devices from GC-Titan Ridge to Intel, but no tree.
@mm2margaret Your SSDT looks fine. I'm sorry it hasn't worked out for you. It's starting to look like this approach only works with built-in Alpine Ridge, not Add In Cards. :(
 
Joined
Feb 5, 2013
Messages
1,231
Motherboard
Gigabyte Vision D
CPU
10850
Graphics
Vega 56
Mac
  1. iMac
  2. Mac Pro
@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


Okay, I'm adding some files.....

As noted earlier, it's not really working for me. I've added my adjusted config.plist, before and after ioreg files, and my BIOS TB settings and the current working (for the most part) TB file.....(these work in macOS, but only Windows style....and no tree as noted before....)
 

Attachments

  • Not_so_good_Beastie.ioreg.zip
    1.3 MB · Views: 19
  • TB_working_Beastie.ioreg.zip
    1.4 MB · Views: 19
  • adjusted_config.plist.zip
    4.7 KB · Views: 20
  • Thunderbolt settings.txt
    748 bytes · Views: 21
  • Working_SSDT-X299-TB3HP.aml.zip
    1.2 KB · Views: 18
Last edited:
Joined
Sep 8, 2011
Messages
72
Motherboard
Asus Rampage VI Extreme
CPU
i9-7960X
Graphics
Radeon VII
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Please copy both of the attached SSDTs to CLOVER/ACPI/patched. Reboot and check IORegistry again.
Same... I had a DTPG with Device (RMDT) [for test purpose]. I tried original DTPG instead of.
I can't load thunderbolt properties with aml for BR3B.
BR3B.png

PCI.png
 

Attachments

  • SSDT-TBOLT3-X299_J.aml
    2.2 KB · Views: 20
Joined
Dec 6, 2010
Messages
68
Motherboard
AsRock Z490 ITX/TB3
CPU
i7 107000K
Graphics
UHD 630
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Okay, I'm adding some files.....

As noted earlier, it's not really working for me. I've added my adjusted config.plist, before and after ioreg files, and my BIOS TB settings.....(these work in macOS, but only Windows style....and no tree as noted before....)
Aaah, I see you're using TitanRidge, not Alpine Ridge. Also, in your "Not_so_good" IOReg the SSDT hasn't loaded as the Thunderbolt devices aren't named correctly (NHI0, DSB0 etc. etc.). There's also some other injection going on as you've got entries like these that shouldn't be there:
Screenshot 2020-05-03 at 16.55.46.png

I would recommend removing these additional entries from your config.plist. When you see entries like this they are making life more difficult. They have no impact on function and just make things look good in the PCI section of System Profiler. I'd recommend removing all the extra injection and keep things to the bare minimum whilst testing. The only device property for thunderbolt that I'm injecting is the ThunderboltDROM with a unique UID
 
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
12,222
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
@mm2margaret Your SSDT looks fine. I'm sorry it hasn't worked out for you. It's starting to look like this approach only works with built-in Alpine Ridge, not Add In Cards. :(
Okay, thanks for trying.....:)
SSDT approach can be adapted for add-in-cards. As long as we can determine the addresses of root port and UPSB, then most often the remaining addresses (of DSB0, NHI0, DSB1, DSB2, DSB4) can be determined using the first two.

I'll take a look at the SSDT later -- no promises, but maybe I can provide some hints.
 
Top