Contribute
Register

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

hello @CaseySJ ,

I was wondering about something in the NVRAM guide.
And I've followed everything to the T up until-
  • Remove EmuVariableUefi from CLOVER/drivers/UEFI (or CLOVER/drivers64UEFI for older versions of Clover)
however I have the "OsxAptioFix2Drv-free2000" instead....

I tried removing the file
then booting back- NO DICE

used my backup to put "OsxAptio..." back in the folder
computer booted
however the NVRAM test did not return "hello"

update 1:
ok so I figured maybe I gotta switch to the QcQuirks method...
which I have now completed

update 2:
now I continued with the NVRAM guide
removed Emu...
deleted scripts
unchecked KernelIPM and AppleIntelCPUPM

system booted

however my main monitor attached to a vega64 in slot-1 was dark
my second monitor attached to an R9 270x in slot-2 showed the desktop...

I switched my HDMI cable from the second monitor to the main and entered Mojave.

when I checked sys prefs-
instead of Graphics showing my Vega64
it showed the R9 270x !!

so I don't know...

I added EmuVariableUefi back into the clover drivers
checked the boxes for KernelIPM and AppleIntelCPUPM
and left SSDT-NVRAM.aml in clover/acpi/patched

system boots back to the correct config:
vega64 driving the 4k
R9270x driving the 2nd monitor

not sure where to go from here...
 
Last edited:
I see this big achievmente here on native NVRAM.
As I'm a total noob, only following guides since 2014, what's the big difference/advantages on using native NVRAM?

Does it worth the hassle?
 
Last post! Using this config.plist, I can use OpenCore NDK to boot into Catalina 10.15.3. The iGPU is enabled and shows up in System Information / PCI. I also ran the VideoProc test and have hardware acceleration for h264 and h265.

I'm highlighting this because I haven't seen anyone get the iGPU working with OpenCore.... at least I don't think I have!
I could also booted with IGPU via OC after 10.15.3 update progress too, but I lost the ability after BIOS training.
 
** Thunderbolt Interim Update **

Thunderbolt Firmware from ASRock X570 Creator:
  • This board also contains on-board (PCH) Titan Ridge controller.
  • Uses a Macronix (MXIC) 25L8006E Flash ROM chip also located on the rear.
  • Thunderbolt 3 firmware (NVM 42) has been extracted.
  • Purpose is to compare this firmware with Designare Z390 (NVM 33).
  • No, I am not using this board for macOS -- so don't ask! :)
Designare Z390 Test Bench:
Now that ACPIDebug logs are reliable, ran several rounds of tests with the following conditions:

Test 1:
  • Conditions:
    • Catalina 10.15.3 (latest)
    • SSDT: SSP1 and SSP2 set to USB Type 0x09 (Type C port, which is technically right)
    • Config.plist: TCONFIG-1, TCONFIG-2, no TCONFIG (ThunderboltConfig property)
    • BIOS: GPIO3 Force Power Enabled and Disabled
    • Cold boot, warm boot, hot plug, hot unplug
  • Results:
    • Not able to activate TNODE/TBUS
    • System freezes upon hot plug and hot unplug
    • Last message on screen when system freezes due to hot unplug, is:
      Code:
      _E17 Tbt
      UPSB AMPE
      UPSB UMPE
      _E17 Exit
      RTPC NHI0 called with arg: 0000000000000001
      _PS0 DSB0
      PCEU DSB0
      PCEU DSB0- Put upstream bridge back into D0
      PCEU DSB0- exit D0, restored = true
      PCEU DSB0- Clear link disable on upstream bridge
      PCEU DSB0- clear link disable, restored = true
      Leaving PCEU DSB0
      _PS0 DSB0
      PCEU DSB0
      PCEU DSB0- Put upstream bridge back into D0
      PCEU DSB0- exit D0, restored = true
      PCEU DSB0- Clear link disable on upstream bridge
      PCEU DSB0- clear link disable, restored = true
      Leaving PCEU DSB0
    • This is consistent. Each time the system freezes on unplug we see the above.
Test 2:
  • Conditions:
    • Catalina 10.15.3 (latest)
    • SSDT: SSP1 and SSP2 set to USB Type 0x03 (USB 3.x Type A port, which is technically wrong)
    • Config.plist: TCONFIG-1
    • BIOS: GPIO3 Force Power Disabled
    • Cold boot, warm boot, hot plug, hot unplug
  • Results:
    • After a cold boot (no TB device) followed by warm boot (w/TB device) followed by hot unplug, and followed by hard reboot, then TNODE/TBUS appear.
      • System is stable, but will hang with hot swap.
      • Please note that although TNODE/TBUS appear, Thunderbolt is not yet functional.
    • Once TNODE/TBUS appear, they reappear each time with warm boot (4 successful reboots in a row with TNODE/TBUS appearing).
    • The ACPI Debug log shows that whenever TNODE/TBUS appear, the following appears in the log:
      • Calls are made to UPSB.MUST()
      • Calls are made to UPSB.PCED()
      • Calls are not made to NHI0.PCED() and XHC2.PCED()
    • When TNODE/TBUS do not appear:
      • Calls are not made to UPSB.MUST()
      • Calls are made to UPSB.PCED()
      • Calls are made to NHI0.PCED() and XHC2.PCED()
    • Successful and unsuccessful activation logs in the spoilers below.
  • Speculation:
    • Because setting XHC2 ports to Type 0x03 (Type A) instead of 0x09 (Type C) seems to activate TNODE/TBUS, we need to determine why.
    • It probably means that we're not activating XHC2 properly, or not handling its ACPI methods properly.
    • It seems that our focus should be on this.
  • Other:
    • I plan to incorporate changes from @Elias64Fr's SSDT-TbtOnPch_Designare-Draft09 later this evening. These changes prevent native Gigabyte firmware from managing the Thunderbolt ports.
kernel: (kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.3.
kernel: (kernel) ACPIDebug: 0x54039854
kernel: (kernel) ACPIDebug: 0xe00e4000
kernel: (kernel) ACPIDebug: 0xe0600000
kernel: (kernel) ACPIDebug: 0xe0700000
kernel: (kernel) ACPIDebug: 0xe0708000
kernel: (kernel) ACPIDebug: 0xe0710000
kernel: (kernel) ACPIDebug: 0xe0720000
kernel: (kernel) ACPIDebug: 0xe0800000
kernel: (kernel) ACPIDebug: "_INI Root Port"
kernel: (kernel) ACPIDebug: "ICMBoot"
kernel: (kernel) ACPIDebug: "Tbt TWIN set to One"
kernel: (kernel) ACPIDebug: "Tbt Force Power with FPG0"
kernel: (kernel) ACPIDebug: "Up Stream VID/DID =0000000015EA8086"
kernel: (kernel) ACPIDebug: "ICMS"
kernel: (kernel) ACPIDebug: "ICME_0="
kernel: (kernel) ACPIDebug: 0xffffffff
kernel: (kernel) ACPIDebug: "Configure NHI called"
kernel: (kernel) ACPIDebug: "Configure NHI RP OK!"
kernel: (kernel) ACPIDebug: "Configure NHI UPSB OK!"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 0 done"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 3 done"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 4 done"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 5 done"
kernel: (kernel) ACPIDebug: "Configure NHI DPs done"
kernel: (kernel) ACPIDebug: "Configure NHI0 all done"
kernel: (kernel) ACPIDebug: "Configure NHI End"
kernel: (kernel) ACPIDebug: "ICME_1="
kernel: (kernel) ACPIDebug: 0x800001a1
kernel: (kernel) ACPIDebug: "ICME_2="
kernel: (kernel) ACPIDebug: 0x800001a1
kernel: (kernel) ACPIDebug: "ICME_3="
kernel: (kernel) ACPIDebug: 0x800001a7
kernel: (kernel) ACPIDebug: 0x800003f5
kernel: (kernel) ACPIDebug: "ICME_4="
kernel: (kernel) ACPIDebug: 0x800001a7
kernel: (kernel) ACPIDebug: "ISTA="
kernel: (kernel) ACPIDebug: 0x800003f5
kernel: (kernel) ACPIDebug: "_PS0 RP05"
kernel: (kernel) ACPIDebug: "PCEU RP05"
kernel: (kernel) ACPIDebug: "PCEU RP05- Put upstream bridge back into D0 "
kernel: (kernel) ACPIDebug: "_PS0 UPSB"
kernel: (kernel) ACPIDebug: "PCED UPSB"
kernel: (kernel) ACPIDebug: "PCED - enable GPIO"
kernel: (kernel) ACPIDebug: "UGIO - PCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - NHI wants on"
kernel: (kernel) ACPIDebug: "UGIO - XHCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - TBT forced on"
kernel: (kernel) ACPIDebug: "UGIO - USB forced on"
kernel: (kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
kernel: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
kernel: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
kernel: (kernel) ACPIDebug: "PCED UPSB- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
kernel: (kernel) ACPIDebug: 0x0
kernel: (kernel) ACPIDebug: "PCED UPSB- Wait for config space..."
kernel: (kernel) ACPIDebug: "UPSB PCED- Read VID/DID = 0000000015EA8086"
kernel: (kernel) ACPIDebug: "CRMW Read Value1"
kernel: (kernel) ACPIDebug: 0x4034021
kernel: (kernel) ACPIDebug: "CRMW Write Value1"
kernel: (kernel) ACPIDebug: 0x4034021
kernel: (kernel) ACPIDebug: "CRMW Read Value2"
kernel: (kernel) ACPIDebug: 0x4034021
kernel: (kernel) ACPIDebug: "CRMW Success"
kernel: (kernel) ACPIDebug: "CRMW Read Value1"
kernel: (kernel) ACPIDebug: 0x4034121
kernel: (kernel) ACPIDebug: "CRMW Write Value1"
kernel: (kernel) ACPIDebug: 0x4034121
kernel: (kernel) ACPIDebug: "CRMW Read Value2"
kernel: (kernel) ACPIDebug: 0x4034121
kernel: (kernel) ACPIDebug: "CRMW Success"
kernel: (kernel) ACPIDebug: "MUST NHI0"
kernel: (kernel) ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
kernel: (kernel) ACPIDebug: "UPSB UMPE"
kernel: (kernel) ACPIDebug: "MUST NHI0"
kernel: (kernel) ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
kernel: (kernel) ACPIDebug: "RTPC NHI0 called with arg: 0000000000000000"
kernel: (kernel) ACPIDebug: "_PS3 NHI0, Nothing to do!"
kernel: (kernel) ACPIDebug: "_PS3 DSB0"
kernel: (kernel) ACPIDebug: "PCDA DSB0"
kernel: (kernel) ACPIDebug: "POFF DSB0"
kernel: (kernel) ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
kernel: (kernel) ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
kernel: (kernel) ACPIDebug: "PCDA DSB0- Wait for link to drop..."
kernel: (kernel) ACPIDebug: "PCDA DSB0- disable GPIO"
kernel: (kernel) ACPIDebug: "UGIO - PCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - NHI wants off"
kernel: (kernel) ACPIDebug: "UGIO - XHCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - TBT allows off"
kernel: (kernel) ACPIDebug: "UGIO - USB forced on"
kernel: (kernel) ACPIDebug: "UGIO - TBT GPIO should be off"
kernel: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
kernel: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.2.
(kernel) ACPIDebug: 0x54039854
(kernel) ACPIDebug: 0xe00e4000
(kernel) ACPIDebug: 0xe0600000
(kernel) ACPIDebug: 0xe0700000
(kernel) ACPIDebug: 0xe0708000
(kernel) ACPIDebug: 0xe0710000
(kernel) ACPIDebug: 0xe0720000
(kernel) ACPIDebug: 0xe0800000
(kernel) ACPIDebug: "_INI Root Port"
(kernel) ACPIDebug: "ICMBoot"
(kernel) ACPIDebug: "Tbt TWIN set to One"
(kernel) ACPIDebug: "Tbt Force Power with FPG0"
(kernel) ACPIDebug: "Up Stream VID/DID =0000000015EA8086"
(kernel) ACPIDebug: "ICMS"
(kernel) ACPIDebug: "ICME_0="
(kernel) ACPIDebug: 0xffffffff
(kernel) ACPIDebug: "Configure NHI called"
(kernel) ACPIDebug: "Configure NHI RP OK!"
(kernel) ACPIDebug: "Configure NHI UPSB OK!"
(kernel) ACPIDebug: "Configure NHI Dp 0 done"
(kernel) ACPIDebug: "Configure NHI Dp 3 done"
(kernel) ACPIDebug: "Configure NHI Dp 4 done"
(kernel) ACPIDebug: "Configure NHI Dp 5 done"
(kernel) ACPIDebug: "Configure NHI DPs done"
(kernel) ACPIDebug: "Configure NHI0 all done"
(kernel) ACPIDebug: "Configure NHI End"
(kernel) ACPIDebug: "ICME_1="
(kernel) ACPIDebug: 0x800001a1
(kernel) ACPIDebug: "ICME_2="
(kernel) ACPIDebug: 0x800001a1
(kernel) ACPIDebug: "ICME_3="
(kernel) ACPIDebug: 0x800001a7
(kernel) ACPIDebug: 0x800003f5
(kernel) ACPIDebug: "ICME_4="
(kernel) ACPIDebug: 0x800001a7
(kernel) ACPIDebug: "ISTA="
(kernel) ACPIDebug: 0x800003f5
(kernel) ACPIDebug: "_PS0 RP05"
(kernel) ACPIDebug: "PCEU RP05"
(kernel) ACPIDebug: "PCEU RP05- Put upstream bridge back into D0 "
(kernel) ACPIDebug: "_PS0 UPSB"
(kernel) ACPIDebug: "PCED UPSB"
(kernel) ACPIDebug: "PCED - enable GPIO"
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants on"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT forced on"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: "PCED UPSB- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "PCED UPSB- Wait for config space..."
(kernel) ACPIDebug: "UPSB PCED- Read VID/DID = 0000000015EA8086"
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x4034021
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4034021
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x4034021
(kernel) ACPIDebug: "CRMW Success"
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x4034121
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4034121
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x4034121
(kernel) ACPIDebug: "CRMW Success"
(kernel) ACPIDebug: "_PS0 DSB0"
(kernel) ACPIDebug: "PCEU DSB0"
(kernel) ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
(kernel) ACPIDebug: "Leaving PCEU DSB0"
(kernel) ACPIDebug: "_PS0 DSB2"
(kernel) ACPIDebug: "PCEU DSB2"
(kernel) ACPIDebug: "PCEU DSB2- Put upstream bridge back into D0 "
(kernel) ACPIDebug: "_PS0 NHI0"
(kernel) ACPIDebug: "PCED NHI0"
(kernel) ACPIDebug: "_PS0 XHC2"
(kernel) ACPIDebug: "PCED XHC2"
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants on"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT forced on"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: "PCED XHC2- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants on"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT forced on"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "PCED XHC2- Wait for config space..."
(kernel) ACPIDebug: "PCED NHI0- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PR
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "PCED NHI0- Wait for config space..."
(kernel) ACPIDebug: "PCED XHC2- Read VID/DID = 0000000015EC8086"
(kernel) ACPIDebug: "PCED NHI0- Read VID/DID = 0000000015EB8086"
(kernel) ACPIDebug: "CTBT"
(kernel) ACPIDebug: "CTBT - TBT domain is enabled"
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4000000
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4000000
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x1c000000
(kernel) ACPIDebug: "CRMW Success"
(kernel) ACPIDebug: "CTBT - Set CP_ACK_POWERDOWN_OVERRIDE"
(kernel) ACPIDebug: "_E17 Tbt"
(kernel) ACPIDebug: "UPSB AMPE"
(kernel) ACPIDebug: "UPSB UMPE"
(kernel) ACPIDebug: "_E17 Exit"
(kernel) ACPIDebug: "RTPC NHI0 called with arg: 0000000000000000"
(kernel) ACPIDebug: "_PS3 NHI0, Nothing to do!"
(kernel) ACPIDebug: "_PS3 DSB0"
(kernel) ACPIDebug: "PCDA DSB0"
(kernel) ACPIDebug: "POFF DSB0"
(kernel) ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
(kernel) ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
(kernel) ACPIDebug: "PCDA DSB0- Wait for link to drop..."
(kernel) ACPIDebug: "PCDA DSB0- disable GPIO"
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants off"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT allows off"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be off"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
Code:
2020-01-30 08:22:53.857691-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.3.
2020-01-30 08:22:53.857825-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x54039854
2020-01-30 08:22:53.857909-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe00e4000
2020-01-30 08:22:53.858013-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe0600000
2020-01-30 08:22:53.858072-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe0700000
2020-01-30 08:22:53.858127-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe0708000
2020-01-30 08:22:53.858182-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe0710000
2020-01-30 08:22:53.858237-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe0720000
2020-01-30 08:22:53.858291-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xe0800000
2020-01-30 08:22:53.858351-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "_INI Root Port"
2020-01-30 08:22:53.858415-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICMBoot"
2020-01-30 08:22:53.858469-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Tbt TWIN set to One"
2020-01-30 08:22:53.858525-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Tbt Force Power with FPG0"
2020-01-30 08:22:53.858580-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Up Stream VID/DID =0000000015EA8086"
2020-01-30 08:22:53.858634-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICMS"
2020-01-30 08:22:53.858690-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICME_0="
2020-01-30 08:22:53.858745-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0xffffffff
2020-01-30 08:22:53.858802-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI called"
2020-01-30 08:22:53.858857-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI RP OK!"
2020-01-30 08:22:53.858914-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI UPSB OK!"
2020-01-30 08:22:53.858968-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI Dp 0 done"
2020-01-30 08:22:53.859022-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI Dp 3 done"
2020-01-30 08:22:53.859076-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI Dp 4 done"
2020-01-30 08:22:53.859131-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI Dp 5 done"
2020-01-30 08:22:53.859185-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI DPs done"
2020-01-30 08:22:53.859400-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI0 all done"
2020-01-30 08:22:53.859455-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "Configure NHI End"
2020-01-30 08:22:53.859509-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICME_1="
2020-01-30 08:22:53.859563-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x800001a1
2020-01-30 08:22:53.859617-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICME_2="
2020-01-30 08:22:53.859671-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x800001a1
2020-01-30 08:22:53.859724-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICME_3="
2020-01-30 08:22:53.859922-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x800001a7
2020-01-30 08:22:53.859976-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x800003f5
2020-01-30 08:22:53.860030-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ICME_4="
2020-01-30 08:22:53.860083-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x800001a7
2020-01-30 08:22:53.860137-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "ISTA="
2020-01-30 08:22:53.860191-0800 0xc8       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: 0x800003f5
2020-01-30 08:22:53.913804-0800 0x76       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "_PS0 RP05"
2020-01-30 08:22:53.914035-0800 0x76       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCEU RP05"
2020-01-30 08:22:53.914250-0800 0x76       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCEU RP05- Put upstream bridge back into D0 "
2020-01-30 08:22:53.970100-0800 0xe9       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "_PS0 UPSB"
2020-01-30 08:22:53.970644-0800 0xe9       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCED UPSB"
2020-01-30 08:22:53.971565-0800 0xe9       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCED - enable GPIO"
2020-01-30 08:22:53.972236-0800 0xe9       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - PCI wants on"
2020-01-30 08:22:53.972556-0800 0xe9       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - NHI wants on"
2020-01-30 08:22:53.972997-0800 0xe9       Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - XHCI wants on"
2020-01-30 08:23:01.564623-0800 0x21d      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "RTPC NHI0 called with arg: 0000000000000000"
2020-01-30 08:23:01.565288-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "_PS3 NHI0, Nothing to do!"
2020-01-30 08:23:01.568539-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "_PS3 DSB0"
2020-01-30 08:23:01.568606-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCDA DSB0"
2020-01-30 08:23:01.568674-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "POFF DSB0"
2020-01-30 08:23:01.568740-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
2020-01-30 08:23:01.568808-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
2020-01-30 08:23:01.568875-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCDA DSB0- Wait for link to drop..."
2020-01-30 08:23:01.568943-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCDA DSB0 - NHI0 not present"
2020-01-30 08:23:01.569010-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "PCDA DSB0- disable GPIO"
2020-01-30 08:23:01.569076-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - PCI wants on"
2020-01-30 08:23:01.569143-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - NHI wants off"
2020-01-30 08:23:01.569208-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - XHCI wants on"
2020-01-30 08:23:01.569275-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - TBT allows off"
2020-01-30 08:23:01.569341-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - USB forced on"
2020-01-30 08:23:01.569407-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - TBT GPIO should be off"
2020-01-30 08:23:01.569474-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-30 08:23:01.569540-0800 0x212      Default     0x0                  0      0    kernel: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
Screenshots:
  • Root Port RP05 - valid "reg"
  • Upstream Bridge UPSB - invalid "reg"
  • Downstream Bridge DSB0 - invalid "reg"
  • Native Host Interface NHI0 - valid "reg"
Screen Shot 2020-01-30 at 4.42.26 AM.png Screen Shot 2020-01-30 at 4.42.17 AM.png Screen Shot 2020-01-30 at 4.42.21 AM.png Screen Shot 2020-01-30 at 4.42.29 AM.png

Update 1: ROM file was bad and has been re-uploaded.
Update 2: Screenshot of ACPI Debug log after hot unplugging. This is better than before, but may not be consistent each time.
IMG_0599.jpg
 

Attachments

  • ASDRock-X570-Creator-MXIC-25L8006E-TB3.bin.zip
    220.2 KB · Views: 118
Last edited:
Radeon RX 5700 and 5700 XT are not supported in Mojave. They are only supported in Catalina starting with 10.15.1.
Yes, thank You. Now the best way to format disk for install Catalina is always "Mac OS Extended (Journaled) " or maybe "APFS" ?
 
Last edited:
Hi @CaseySJ

After following the latest Catalina Mini-Guide for the 5700 XT, the Platform ID is set to 0x3EA5009 automatically.

Can you tell me where to find this guide?
 
Would it be D8 as per the screenshot ?
I'll do some thorough testing tonight and will post the results. Initial assessment is (by connecting a USB-C SSD to the machine)
  1. SSDT-TbtOnPch-Phantom_Draft00.aml + Renaming Renaming _E2C to XE2C > NO TB tree
  2. SSDT-TbtOnPch-Phantom_Draft01.aml + Renaming _E2C to XE2C> NO TB tree
  3. SSDT-TbtOnPch-Ultra-AlpineRidge-RP23_draft01.dsl with RP21 and (\_SB.PCI0.GPCB () + 0x000D8000) > YES Thunderbolt tree (no Renaming _E2C to XE2C)
  4. SSDT-TbtOnPch-Ultra-AlpineRidge-RP23_draft01.dsl with RP21 and (\_SB.PCI0.GPCB () + 0x000DC000) > NO Thunderbolt tree (no Renaming _E2C to XE2C)
Edit: Some updates after more testing

Following tests were conducted using
  • SSDT-TbtOnPch-Ultra-AlpineRidge-RP23_draft01.dsl with RP21 and (\_SB.PCI0.GPCB () + 0x000D8000) > YES Thunderbolt tree (no Renaming _E2C to XE2C)
  1. Thunderbolt bridge successfully comes up my Mac laptop after a cold restart (logs attached)
  2. Pulling out the cable and Hot plugging it again works
  3. Removing the laptop and hot plugging in a Caldigit TS3 dock also works (without rebooting the machine). The devices connected to the dock do not show up
  4. Cold restart with the TS3 dock results in error - No drivers are loaded.
  5. Cold restart with the TS3 dock and a usb2.0 plugged in results in sometimes TB tree created and sometimes - No drivers are loaded.
In all 5 cases there's a small pause during boot in the ACPI section about 5 seconds and an error (last screenshot).
For all other .aml files this pause is not there.

SSDT-TbtOnPch-Ultra-AlpineRidge-RP23_draft01.dsl has no call to the RMDT method - so I couldn't get Hackintool to display ACPIDebug logs.
@mango1122
Nice results for Alpine Ridge ! As I can see, you have 15BF NHI0, I had never tested this component before !

About different results and mistakes on RP21 system address, I have understood my mistake ! Seems that for all PC, Root Port address can change from one to another ! My laptop has 0xDC (@1B,6) on RP21 and you have 0xD8 (@1B).

About different file results , you have to verifying, for TB Force Power which couple are used for Power control (FPG0/FP0L or FPGN/FPLV). This depend of your DSDT by searching each variable !

About your last screen shots, as displayed on your screen, you have a duplicated _E17 and _L17, it required only one with 2 last digits (_x17).. And as your have used file that contain Hotplug Event _E17 from Gigabyte Ultra/Designare, you have this error. You have to use _E2C on the SSDT as indicated on your DSDT and don't forget disabling native _E2C DSDT on Clover Configurator (by renaming it to XE2C).

Another comment about few seconds pause ! You know if your Thunderbolt device is correctly powered during boot step when this pause occurs (between 1 and 5 seconds).

For information, I'm working on a SSDT methods to avoid RP System address calculation :headbang:

That's all ! Good Luck !
 
Last edited:
** Thunderbolt Interim Update **

Thunderbolt Firmware from ASRock X570 Creator:
  • This board also contains on-board (PCH) Titan Ridge controller.
  • Uses a Macronix (MXIC) 25L8006E Flash ROM chip also located on the rear.
  • Thunderbolt 3 firmware (NVM 42) has been extracted.
  • Purpose is to compare this firmware with Designare Z390 (NVM 33).
  • No, I am not using this board for macOS -- so don't ask! :)
Designare Z390 Test Bench:
Now that ACPIDebug logs are reliable, ran several rounds of tests with the following conditions:

Test 1:
  • Conditions:
    • Catalina 10.15.3 (latest)
    • SSDT: SSP1 and SSP2 set to USB Type 0x09 (Type C port, which is technically right)
    • Config.plist: TCONFIG-1, TCONFIG-2, no TCONFIG (ThunderboltConfig property)
    • BIOS: GPIO3 Force Power Enabled and Disabled
    • Cold boot, warm boot, hot plug, hot unplug
  • Results:
    • Not able to activate TNODE/TBUS
    • System freezes upon hot plug and hot unplug
    • Last message on screen when system freezes due to hot unplug, is:
      Code:
      _E17 Tbt
      UPSB AMPE
      UPSB UMPE
      _E17 Exit
      RTPC NHI0 called with arg: 0000000000000001
      _PS0 DSB0
      PCEU DSB0
      PCEU DSB0- Put upstream bridge back into D0
      PCEU DSB0- exit D0, restored = true
      PCEU DSB0- Clear link disable on upstream bridge
      PCEU DSB0- clear link disable, restored = true
      Leaving PCEU DSB0
      _PS0 DSB0
      PCEU DSB0
      PCEU DSB0- Put upstream bridge back into D0
      PCEU DSB0- exit D0, restored = true
      PCEU DSB0- Clear link disable on upstream bridge
      PCEU DSB0- clear link disable, restored = true
      Leaving PCEU DSB0
    • This is consistent. Each time the system freezes on unplug we see the above.
Test 2:
  • Conditions:
    • Catalina 10.15.3 (latest)
    • SSDT: SSP1 and SSP2 set to USB Type 0x03 (USB 3.x Type A port, which is technically wrong)
    • Config.plist: TCONFIG-1
    • BIOS: GPIO3 Force Power Disabled
    • Cold boot, warm boot, hot plug, hot unplug
  • Results:
    • After a cold boot (no TB device), warm boot (w/TB device), hot unplug, and hard reboot, TNODE/TBUS appear.
      • System is stable, but will hang with hot swap.
      • Please note that although TNODE/TBUS appear, Thunderbolt is not yet functional.
    • Once TNODE/TBUS appear, they reappear each time with warm boot (4 successful reboots in a row with TNODE/TBUS appearing).
    • The ACPI Debug log shows that whenever TNODE/TBUS appear, the following appears in the log:
      • Calls are made to UPSB.MUST()
      • Calls are made to UPSB.PCED()
      • Calls are not made to NHI0.PCED() and XHC2.PCED()
    • When TNODE/TBUS do not appear:
      • Calls are not made to UPSB.MUST()
      • Calls are made to UPSB.PCED()
      • Calls are made to NHI0.PCED() and XHC2.PCED()
    • Successful and unsuccessful activation logs in the spoilers below.
  • Speculation:
    • Because setting XHC2 ports to Type 0x03 (Type A) instead of 0x09 (Type C) seems to activate TNODE/TBUS, we need to determine why.
    • It probably means that we're not activating XHC2 properly, or not handling its ACPI methods properly.
    • It seems that our focus should be on this.
  • Other:
    • I plan to incorporate changes from @Elias64Fr's SSDT-TbtOnPch_Designare-Draft09 later this evening. These changes prevent native Gigabyte firmware from managing the Thunderbolt ports.
kernel: (kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.3.
kernel: (kernel) ACPIDebug: 0x54039854
kernel: (kernel) ACPIDebug: 0xe00e4000
kernel: (kernel) ACPIDebug: 0xe0600000
kernel: (kernel) ACPIDebug: 0xe0700000
kernel: (kernel) ACPIDebug: 0xe0708000
kernel: (kernel) ACPIDebug: 0xe0710000
kernel: (kernel) ACPIDebug: 0xe0720000
kernel: (kernel) ACPIDebug: 0xe0800000
kernel: (kernel) ACPIDebug: "_INI Root Port"
kernel: (kernel) ACPIDebug: "ICMBoot"
kernel: (kernel) ACPIDebug: "Tbt TWIN set to One"
kernel: (kernel) ACPIDebug: "Tbt Force Power with FPG0"
kernel: (kernel) ACPIDebug: "Up Stream VID/DID =0000000015EA8086"
kernel: (kernel) ACPIDebug: "ICMS"
kernel: (kernel) ACPIDebug: "ICME_0="
kernel: (kernel) ACPIDebug: 0xffffffff
kernel: (kernel) ACPIDebug: "Configure NHI called"
kernel: (kernel) ACPIDebug: "Configure NHI RP OK!"
kernel: (kernel) ACPIDebug: "Configure NHI UPSB OK!"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 0 done"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 3 done"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 4 done"
kernel: (kernel) ACPIDebug: "Configure NHI Dp 5 done"
kernel: (kernel) ACPIDebug: "Configure NHI DPs done"
kernel: (kernel) ACPIDebug: "Configure NHI0 all done"
kernel: (kernel) ACPIDebug: "Configure NHI End"
kernel: (kernel) ACPIDebug: "ICME_1="
kernel: (kernel) ACPIDebug: 0x800001a1
kernel: (kernel) ACPIDebug: "ICME_2="
kernel: (kernel) ACPIDebug: 0x800001a1
kernel: (kernel) ACPIDebug: "ICME_3="
kernel: (kernel) ACPIDebug: 0x800001a7
kernel: (kernel) ACPIDebug: 0x800003f5
kernel: (kernel) ACPIDebug: "ICME_4="
kernel: (kernel) ACPIDebug: 0x800001a7
kernel: (kernel) ACPIDebug: "ISTA="
kernel: (kernel) ACPIDebug: 0x800003f5
kernel: (kernel) ACPIDebug: "_PS0 RP05"
kernel: (kernel) ACPIDebug: "PCEU RP05"
kernel: (kernel) ACPIDebug: "PCEU RP05- Put upstream bridge back into D0 "
kernel: (kernel) ACPIDebug: "_PS0 UPSB"
kernel: (kernel) ACPIDebug: "PCED UPSB"
kernel: (kernel) ACPIDebug: "PCED - enable GPIO"
kernel: (kernel) ACPIDebug: "UGIO - PCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - NHI wants on"
kernel: (kernel) ACPIDebug: "UGIO - XHCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - TBT forced on"
kernel: (kernel) ACPIDebug: "UGIO - USB forced on"
kernel: (kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
kernel: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
kernel: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
kernel: (kernel) ACPIDebug: "PCED UPSB- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
kernel: (kernel) ACPIDebug: 0x0
kernel: (kernel) ACPIDebug: "PCED UPSB- Wait for config space..."
kernel: (kernel) ACPIDebug: "UPSB PCED- Read VID/DID = 0000000015EA8086"
kernel: (kernel) ACPIDebug: "CRMW Read Value1"
kernel: (kernel) ACPIDebug: 0x4034021
kernel: (kernel) ACPIDebug: "CRMW Write Value1"
kernel: (kernel) ACPIDebug: 0x4034021
kernel: (kernel) ACPIDebug: "CRMW Read Value2"
kernel: (kernel) ACPIDebug: 0x4034021
kernel: (kernel) ACPIDebug: "CRMW Success"
kernel: (kernel) ACPIDebug: "CRMW Read Value1"
kernel: (kernel) ACPIDebug: 0x4034121
kernel: (kernel) ACPIDebug: "CRMW Write Value1"
kernel: (kernel) ACPIDebug: 0x4034121
kernel: (kernel) ACPIDebug: "CRMW Read Value2"
kernel: (kernel) ACPIDebug: 0x4034121
kernel: (kernel) ACPIDebug: "CRMW Success"
kernel: (kernel) ACPIDebug: "MUST NHI0"
kernel: (kernel) ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
kernel: (kernel) ACPIDebug: "UPSB UMPE"
kernel: (kernel) ACPIDebug: "MUST NHI0"
kernel: (kernel) ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
kernel: (kernel) ACPIDebug: "RTPC NHI0 called with arg: 0000000000000000"
kernel: (kernel) ACPIDebug: "_PS3 NHI0, Nothing to do!"
kernel: (kernel) ACPIDebug: "_PS3 DSB0"
kernel: (kernel) ACPIDebug: "PCDA DSB0"
kernel: (kernel) ACPIDebug: "POFF DSB0"
kernel: (kernel) ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
kernel: (kernel) ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
kernel: (kernel) ACPIDebug: "PCDA DSB0- Wait for link to drop..."
kernel: (kernel) ACPIDebug: "PCDA DSB0- disable GPIO"
kernel: (kernel) ACPIDebug: "UGIO - PCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - NHI wants off"
kernel: (kernel) ACPIDebug: "UGIO - XHCI wants on"
kernel: (kernel) ACPIDebug: "UGIO - TBT allows off"
kernel: (kernel) ACPIDebug: "UGIO - USB forced on"
kernel: (kernel) ACPIDebug: "UGIO - TBT GPIO should be off"
kernel: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
kernel: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.2.
(kernel) ACPIDebug: 0x54039854
(kernel) ACPIDebug: 0xe00e4000
(kernel) ACPIDebug: 0xe0600000
(kernel) ACPIDebug: 0xe0700000
(kernel) ACPIDebug: 0xe0708000
(kernel) ACPIDebug: 0xe0710000
(kernel) ACPIDebug: 0xe0720000
(kernel) ACPIDebug: 0xe0800000
(kernel) ACPIDebug: "_INI Root Port"
(kernel) ACPIDebug: "ICMBoot"
(kernel) ACPIDebug: "Tbt TWIN set to One"
(kernel) ACPIDebug: "Tbt Force Power with FPG0"
(kernel) ACPIDebug: "Up Stream VID/DID =0000000015EA8086"
(kernel) ACPIDebug: "ICMS"
(kernel) ACPIDebug: "ICME_0="
(kernel) ACPIDebug: 0xffffffff
(kernel) ACPIDebug: "Configure NHI called"
(kernel) ACPIDebug: "Configure NHI RP OK!"
(kernel) ACPIDebug: "Configure NHI UPSB OK!"
(kernel) ACPIDebug: "Configure NHI Dp 0 done"
(kernel) ACPIDebug: "Configure NHI Dp 3 done"
(kernel) ACPIDebug: "Configure NHI Dp 4 done"
(kernel) ACPIDebug: "Configure NHI Dp 5 done"
(kernel) ACPIDebug: "Configure NHI DPs done"
(kernel) ACPIDebug: "Configure NHI0 all done"
(kernel) ACPIDebug: "Configure NHI End"
(kernel) ACPIDebug: "ICME_1="
(kernel) ACPIDebug: 0x800001a1
(kernel) ACPIDebug: "ICME_2="
(kernel) ACPIDebug: 0x800001a1
(kernel) ACPIDebug: "ICME_3="
(kernel) ACPIDebug: 0x800001a7
(kernel) ACPIDebug: 0x800003f5
(kernel) ACPIDebug: "ICME_4="
(kernel) ACPIDebug: 0x800001a7
(kernel) ACPIDebug: "ISTA="
(kernel) ACPIDebug: 0x800003f5
(kernel) ACPIDebug: "_PS0 RP05"
(kernel) ACPIDebug: "PCEU RP05"
(kernel) ACPIDebug: "PCEU RP05- Put upstream bridge back into D0 "
(kernel) ACPIDebug: "_PS0 UPSB"
(kernel) ACPIDebug: "PCED UPSB"
(kernel) ACPIDebug: "PCED - enable GPIO"
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants on"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT forced on"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: "PCED UPSB- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "PCED UPSB- Wait for config space..."
(kernel) ACPIDebug: "UPSB PCED- Read VID/DID = 0000000015EA8086"
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x4034021
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4034021
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x4034021
(kernel) ACPIDebug: "CRMW Success"
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x4034121
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4034121
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x4034121
(kernel) ACPIDebug: "CRMW Success"
(kernel) ACPIDebug: "_PS0 DSB0"
(kernel) ACPIDebug: "PCEU DSB0"
(kernel) ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
(kernel) ACPIDebug: "Leaving PCEU DSB0"
(kernel) ACPIDebug: "_PS0 DSB2"
(kernel) ACPIDebug: "PCEU DSB2"
(kernel) ACPIDebug: "PCEU DSB2- Put upstream bridge back into D0 "
(kernel) ACPIDebug: "_PS0 NHI0"
(kernel) ACPIDebug: "PCED NHI0"
(kernel) ACPIDebug: "_PS0 XHC2"
(kernel) ACPIDebug: "PCED XHC2"
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants on"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT forced on"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: "PCED XHC2- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants on"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT forced on"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "PCED XHC2- Wait for config space..."
(kernel) ACPIDebug: "PCED NHI0- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PR
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "PCED NHI0- Wait for config space..."
(kernel) ACPIDebug: "PCED XHC2- Read VID/DID = 0000000015EC8086"
(kernel) ACPIDebug: "PCED NHI0- Read VID/DID = 0000000015EB8086"
(kernel) ACPIDebug: "CTBT"
(kernel) ACPIDebug: "CTBT - TBT domain is enabled"
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4000000
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "CRMW Read Value1"
(kernel) ACPIDebug: 0x0
(kernel) ACPIDebug: "CRMW Write Value1"
(kernel) ACPIDebug: 0x4000000
(kernel) ACPIDebug: "CRMW Read Value2"
(kernel) ACPIDebug: 0x1c000000
(kernel) ACPIDebug: "CRMW Success"
(kernel) ACPIDebug: "CTBT - Set CP_ACK_POWERDOWN_OVERRIDE"
(kernel) ACPIDebug: "_E17 Tbt"
(kernel) ACPIDebug: "UPSB AMPE"
(kernel) ACPIDebug: "UPSB UMPE"
(kernel) ACPIDebug: "_E17 Exit"
(kernel) ACPIDebug: "RTPC NHI0 called with arg: 0000000000000000"
(kernel) ACPIDebug: "_PS3 NHI0, Nothing to do!"
(kernel) ACPIDebug: "_PS3 DSB0"
(kernel) ACPIDebug: "PCDA DSB0"
(kernel) ACPIDebug: "POFF DSB0"
(kernel) ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
(kernel) ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
(kernel) ACPIDebug: "PCDA DSB0- Wait for link to drop..."
(kernel) ACPIDebug: "PCDA DSB0- disable GPIO"
(kernel) ACPIDebug: "UGIO - PCI wants on"
(kernel) ACPIDebug: "UGIO - NHI wants off"
(kernel) ACPIDebug: "UGIO - XHCI wants on"
(kernel) ACPIDebug: "UGIO - TBT allows off"
(kernel) ACPIDebug: "UGIO - USB forced on"
(kernel) ACPIDebug: "UGIO - TBT GPIO should be off"
(kernel) ACPIDebug: "UGIO - USB GPIO should be on"
(kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on"
Screenshots:
  • Root Port RP05 - valid "reg"
  • Upstream Bridge UPSB - invalid "reg"
  • Downstream Bridge DSB0 - invalid "reg"
  • Native Host Interface NHI0 - valid "reg"
View attachment 447447 View attachment 447445 View attachment 447446 View attachment 447448

Update: ROM file was bad and has been re-uploaded.
Hi @CaseySJ, Nice job to resumes previous/current test, state and some comment/speculation !

I have mines :
  • Speculation:
    • Because setting XHC2 ports to Type 0x03 (Type A) instead of 0x09 (Type C) seems to activate TNODE/TBUS, we need to determine why.
    • It probably means that we're not activating XHC2 properly, or not handling its ACPI methods properly.
    • It seems that our focus should be on this.
Dont really understand why excepts using or not of _PRW on XHC2, you can try modifying contents (GRPW(0x6D, 0x04)) bolded to 0x69 and 0x04 to 0x03 ! Or completely removing it !
I'm really want test this board but I haven't it ... yet ! Really expensive ! I had bought mine for 99euros discounted !

About last screen shots ! There is no matter and no problem ! It might due to IORegExplorer interpretation by converting to ASCII characters known hex code.

Another important remark ! When I connect my EGPU, even after IORegExplorer refresh, All DS01/DS04 subtree don't appears. I have to close and restart this app (Version 3.0.2 (14)) to see all devices.. It seem to be an app bug !
And another.. Sometimes, when thunderbolt controller doesn't appear after system panic or wrong configuration followed by reboot,I have to switch off Hack Power supply during around 10s (all led shall be off). Presumably a component Dead lock. We can calling this boot state .. a Very Cold Boot or Frozen Boot ! :headbang:
 
Hey, Casey! Thanks for this build guide. It made it super easy. I built it exactly from your parts list except I swapped out the 580 for a 590. Everything works flawlessly except I'm getting some weird glitches while rendering footage. Example here. Rendering using a software called Silverstack Lab. The render works fine with handbrake and if I use Silverstack on my MacBook running Catalnia 10.15.2 it also works.
 
Back
Top