Contribute
Register

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

Joined
Apr 25, 2016
Messages
208
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
CaseySJ
I have only one file in patched folder now:
1588449083111.png
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,787
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
After a lot of painful, very tense moments trying to get the clip to give me that dim red glow..
I've ended up here.. Don't want to mess it up now? What's the best option?
View attachment 466618
Looks like a copy-and-paste issue. If you copied the text directly from Step 5 as shown, the "extra parameter" might be due to the boldfaced text.

Screen Shot 2020-05-02 at 12.54.09 PM.png
Just type the whole thing manually or copy/paste from here:
Code:
sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=1024 -r test1.bin
 
Joined
Apr 25, 2016
Messages
208
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
We also need to hide your motherboard's onboard Bluetooth. Please download and run IORegistryExplorer and scroll the device tree on left side of the app until you see all of the HSxx devices from HS01 to HS14. Post a screenshot of that page with all HSxx devices expanded so we can see their child nodes.
Is this right screen or should I make a screenshot of individual pages?

1588449527618.png
 
Joined
Aug 24, 2017
Messages
126
Motherboard
GigaByte Z390 Designare
CPU
i9-9900K
Graphics
Vega FE Liquid
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Performa
  2. Power Mac
Mobile Phone
  1. iOS
Looks like a copy-and-paste issue. If you copied the text directly from Step 5 as shown, the "extra parameter" might be due to the boldfaced text.

Thanks, at least if it pops up again I'll know what it is.. I was trying for 2hrs last night to get it to read but it wouldn't.
Tried earlier and got the above.. will keep going.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,787
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
I think everyone is because were asking the system to operate in a way it wasn't designed to do (run macOS). When I used patched firmware my Lacie 2Big Dock (TB3) would not power off or sleep correctly. Now I'm using a SSDT-only approach to getting a full tree it powers down fine but insta-wakes on sleep. I've spent hours modifying ACPI tables but no joy so far. The wake log always shows 'wake reason : ?' which is not too helpful...
This problem (i.e. Thunderbolt devices not auto-connecting/waking after sleep) does not happen with the modified firmware flashed to the Designare motherboard -- at least not with the devices I've tested myself.

On wake, the _WAK() method is called, which in turn calls RWAK(), which in turn issues a Notify to the root port of all PCI devices. According to Osy86, macOS expects a Notify to the NHI0 device of each Thunderbolt controller instead of the root port.

On my Test Bench I experimented with this earlier today for the GC-Titan Ridge add-in-card that suffers from wake issues. However, no luck so far.

Changes made (per Osy86 article):
  • ACPI --> Rename RWAK to XWAK
  • Implement a modified RWAK that calls XWAK and then issues a Notify to each NHI0 device. The code segment is shown below.
    • RP05 --> on-board Titan Ridge controller
    • PEG1 --> GC-Titan Ridge in middle long slot
Purpose of this post is to suggest that a proper solution for Thunderbolt wake might need to include this, but this by itself does not seem to be sufficient.

Screen Shot 2020-05-02 at 9.33.08 AM.png
 
Last edited:
Joined
Sep 8, 2011
Messages
78
Motherboard
Asus WS X299 SAGE 10G
CPU
i9-7960X
Graphics
WX4100
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
This could be useful!

I'm already seeing interesting differences compared to ThunderboltConfig from MacBookPro 15,1/15,2 and iMac19,1.

The last 4 bytes of each config show USB-C port IDs: 0x06, 0x05, 0x08, 0x07, 0x0C, 0x0D, 0x0E, 0x0F. Seems MacPro 7,1 has eight Thunderbolt ports.

There should be 4 Thunderbolt controllers on various paths such as RP05, RP09, RP21, etc. Under each one there should be a UPSB --> DSB0 --> NHI0. If you click on each NHI0, you should see a lot of device properties on the right side of IORegistryExplorer.

Would you be able to post screenshots of each of these 4 NHI0 property screens?
@CaseySJ @Elias64Fr

Don't know if this can help somehow but I extracted today some ThunderboltConfig Values from an MacPro7,1

0x02, 0x03, 0x02, 0x00, 0x0a, 0x00, 0x05, 0x01,
0x01, 0x00, 0x01, 0x00, 0x05, 0x01, 0x02, 0x00,
0x06, 0x00, 0x05, 0x01, 0x01, 0x00, 0x01, 0x00,
0x03, 0x01, 0x02, 0x00, 0x06, 0x00, 0x05, 0x00

0x03, 0x03, 0x03, 0x00, 0x09, 0x00, 0x05, 0x01,
0x01, 0x00, 0x00, 0x00, 0x05, 0x01, 0x02, 0x00,
0x04, 0x00, 0x05, 0x01, 0x01, 0x00, 0x00, 0x00,
0x03, 0x01, 0x02, 0x00, 0x08, 0x00, 0x07, 0x00

0x06, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0d, 0x00

0x07, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x0f, 0x00

try in this sequence: ()

0x02, 0x03, 0x02, 0x00, 0x0a, 0x00,
0x05, 0x01, 0x01, 0x00, 0x01, 0x00,
0x05, 0x01, 0x02, 0x00, 0x06, 0x00,
0x05, 0x01, 0x01, 0x00, 0x01, 0x00,
0x03, 0x01, 0x02, 0x00, 0x06, 0x00,
0x05, 0x00

0x02 Bus. 0x01 0x00 HS1? 0x02 0x00 HS2? (it appear in all models)
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,787
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Thanks, at least if it pops up again I'll know what it is.. I was trying for 2hrs last night to get it to read but it wouldn't.
Tried earlier and got the above.. will keep going.
Please have a look at @iRamon's post as well:
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,787
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Is this right screen or should I make a screenshot of individual pages?

View attachment 466639
That is the right screenshot.
  • Does your board come with WiFi/Bluetooth?
  • Do you have the Z390 AORUS Pro WiFi?
I'm surprised that none of the USB 2 ports is in use. However, remember I said scroll the device tree on left side? That's because the Search field is dangerous -- it hides details. But if you click the "X" on the far right side of the search bar, then details will be visible again. So please try that and re-post the screenshot.
 
Joined
Apr 25, 2016
Messages
208
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
That is the right screenshot.
  • Does your board come with WiFi/Bluetooth?
  • Do you have the Z390 AORUS Pro WiFi?
I'm surprised that none of the USB 2 ports is in use. However, remember I said scroll the device tree on left side? That's because the Search field is dangerous -- it hides details. But if you click the "X" on the far right side of the search bar, then details will be visible again. So please try that and re-post the screenshot.
It is Gigabyte Z390 Aorus Ultra and I didn't remove onboard wifi card. I will send you screenshot soon.
 
Joined
Apr 25, 2016
Messages
208
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Yes, you are right, it gives more details if I find them without searching:
1588450817653.png
 
Top