Contribute
Register

[Success] ASRock Z390 Phantom Gaming-ITX + TB3 + iGPU + Mojave + SFF Build

Joined
Nov 15, 2011
Messages
79
Motherboard
Asrock Z390 Phantom Gaming ITX/ac
CPU
i5-9600KF
Graphics
Sapphire Nitro + RX 5700 XT
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
Here you go...
 

Attachments

  • 1.jpg
    1.jpg
    710.5 KB · Views: 62
  • 2.jpg
    2.jpg
    214.7 KB · Views: 61
Joined
Jun 8, 2019
Messages
84
Motherboard
ASRock Z390 Phantom Gaming-ITX/TB3
CPU
i9-9900K
Graphics
MSI 5700 XT
Mac
  1. MacBook Pro
@mango1122 Did you flash the stock NVM20 firmware back?
 
Joined
Nov 15, 2011
Messages
79
Motherboard
Asrock Z390 Phantom Gaming ITX/ac
CPU
i5-9600KF
Graphics
Sapphire Nitro + RX 5700 XT
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
@mango1122 sorted, many thanks! used the DC not the D8 .aml
 

Attachments

  • 1.jpg
    1.jpg
    266 KB · Views: 46
  • 2.jpg
    2.jpg
    710.7 KB · Views: 47
Joined
May 23, 2019
Messages
238
Motherboard
ASRock Z390 Phantom
CPU
i9-9900K
Graphics
UHD 630
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
@mango1122 Did you flash the stock NVM20 firmware back?
Yes - I did that to test the SSDT. If you want to flash the original firmware back - use the tbpatcher from GitHub

sudo ./tbpatch patch -p RP@21 -f patch2.plist.
or you can use the external programmer as before or boot into Windows and update the firmware for the TB device.

The only benefit I see is that USB-C devices are getting detected connected to the TB port. I haven't tested extensively so do not know the other benefits.
 

Attachments

  • patch 2.plist
    2.1 KB · Views: 37
Joined
Nov 15, 2011
Messages
79
Motherboard
Asrock Z390 Phantom Gaming ITX/ac
CPU
i5-9600KF
Graphics
Sapphire Nitro + RX 5700 XT
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
Confirmed, my rig restarts immediately after sleep with nothing connected the the TB port. if I remove SSDT-DTGP.aml & SSDT-TbtOn.aml sleep is restored...
 
Joined
May 23, 2019
Messages
238
Motherboard
ASRock Z390 Phantom
CPU
i9-9900K
Graphics
UHD 630
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
sudo rm com.apple.PowerManagement.*
Reboot

sudo pmset -g log | grep -i "Wake from" > find reason for wake
sudo pmset -g > check settings

My setup is following
Code:
System-wide power settings:
Currently in use:
 standby              1
 Sleep On Power Button 1
 womp                 0
 autorestart          0
 hibernatefile        /var/vm/sleepimage
 proximitywake        0
 powernap             0
 networkoversleep     0
 disksleep            10
 standbydelayhigh     86400
 sleep                60 (sleep prevented by sharingd, coreaudiod)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         60
 highstandbythreshold 50
 standbydelaylow      86400
Also make sure you have the USB port limit patch. I use the one below.
 

Attachments

  • USBPorts-z390-ASRock-PhGmITX-iMac19,1-V8.kext.zip
    4.7 KB · Views: 23
Joined
Jun 8, 2019
Messages
84
Motherboard
ASRock Z390 Phantom Gaming-ITX/TB3
CPU
i9-9900K
Graphics
MSI 5700 XT
Mac
  1. MacBook Pro
Just tested it - it works fine for me too. Under the ACPI > Patches remove the _INI to XENI patch. Leave the _E2C to XE2C as is. In IORegistery explorer - Can you paste a screenshot of the RP21 ? Also a screenshot of System > Thunderbolt.

@dgsga - Thanks for the SSDT - works for this board.
Replaced "DC" to "D8" in MMBA method. Replaced _INI with PINI
SDDT is here - https://www.tonymacx86.com/threads/...tb3-igpu-mojave-sff-build.277418/post-2117075


QQ => Did the formula change? Just curious - based on what @dgsga had posted, DC seemed to be the correct value. I guess not for us but would love to know why.

Yes - I did that to test the SSDT. If you want to flash the original firmware back - use the tbpatcher from GitHub

sudo ./tbpatch patch -p RP@21 -f patch2.plist.
or you can use the external programmer as before or boot into Windows and update the firmware for the TB device.

The only benefit I see is that USB-C devices are getting detected connected to the TB port. I haven't tested extensively so do not know the other benefits.

Awesome. Thanks! I'll try this today. Big thing for me is to see if TB3 gets restored after sleep & wake.
 
Joined
May 17, 2012
Messages
51
Motherboard
ASRock Z390 Phantom Gaming-ITX
CPU
i5-9600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
OK. I could definitely use some help @mango1122. I attaching my EFI (Clover). I am looking at @baja-king and @fontanero EFI and mine is somewhat close.

Still can't get TB3 to populate with anything in System Report.

Just some notes:
  1. I don't have SSDT-DTGP.aml and don't see it posted anywhere. Seems not everyone is using it.
  2. I am using BIOS 4.40C with the mango's TB settings.
So, perhaps my EFI folder seems correct, but it may be a mess too.
 

Attachments

  • config.plist
    22.5 KB · Views: 20
Last edited:
Joined
Dec 13, 2010
Messages
334
Motherboard
Z390 PHANTOM GAMIG-ITX/ac
CPU
i5-9600K
Graphics
UHD 630
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
Hi, I'm attaching my EFI folder updated to 0.5.8
As I said in my previous post #923 , I updated the EFI to version 4.40c published in this forum.

Sleep and wake up well, the USB C connection works, Thunderbolt I can't because I don't have any TB

iPad charges well, the mobile also works through the USB C port

I will attach images of how I have the TB configuration in EFI.

I can boot the system from an external USB C drive, it is shown on the startup screen.

There is a file in ACPI: SSDT-SBUS-MCHC.aml that works for the AppleSMBus support correction because it loads it but it breaks the sleep, it is for curiosity.

I hope it helps someone...
 

Attachments

  • EFI.zip
    57.3 MB · Views: 56
Last edited:
Top