Contribute
Register

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

Joined
Oct 11, 2019
Messages
4
Motherboard
PRIME-X299-DELUXE
CPU
i9-9900x
Graphics
Vega 56
hello @CaseySJ,
This is the txt that I used the command feedback
 

Attachments

  • TB3-log.txt
    63.6 KB · Views: 100
  • Screen Shot 2020-03-28 at 10.51.22 AM.png
    Screen Shot 2020-03-28 at 10.51.22 AM.png
    51.4 KB · Views: 91
Last edited:
Joined
Jun 1, 2016
Messages
19
Motherboard
Gigabyte Designare Z390
CPU
i9-9900k
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS
Hey Guys i got some news and decided to share with the community, two days ago I decided to do a clean install of 10.15.4
Using the mini guide And I was finally successful when I stopped caring about the error codes , there are a two curve balls when using 10.15.4 , Assuming you have the time correctly set in your Bios , There are two errors that get thrown your way during installation (see attached images ) the installation throws an error with two minutes remaining , reboot and boot into the usb again to continue installation then when it finishes it will give you the second error regarding bless tool and choosing the right startup disk , reboot and boot from usb again and choose to boot Mac OS from your Mac OS partition if you named it Catalina as per the mini guide that is going to be the one , from that moment on everything goes smoothly and that is pretty much what I did , Thank you@CaseySJ all the kexts load correctly now , my only hesitation is regarding the the installation of RC scripts for use with EmuNvram vs native nvram
 

Attachments

  • 5EA96AE7-9F8D-4029-8450-D81A51ACCB0F.jpeg
    5EA96AE7-9F8D-4029-8450-D81A51ACCB0F.jpeg
    7.3 MB · Views: 138
  • AC42E342-34B8-43BB-88B5-9FED0C38B0DD.jpeg
    AC42E342-34B8-43BB-88B5-9FED0C38B0DD.jpeg
    7.1 MB · Views: 110

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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
You beauty mate! Bonza!

Thankyou @CaseySJ, @Elias64Fr and all the others that have made this a reality!

After updating my onboard TB3 EEPROM it appears that everything is working, but still need to do further testing.
I have Razer Core X eGPU, OCW TB3 10Gbe and Caldigit TX3 Plus dock all working and sidecar on my iPad Pro.

I followed @CaseySJ excellent guide *** Thunderbolt DROM Micro-Guide for Designare Z390 ***

I found an easier way to burn the EEPROM image which I have let @CasseySJ know in a PM so he can see if he can replicate it and if so release the procedure on this thread. I don't want anyone damaging their Designare as I did to my old board, an AU$512.00 mistake.

Later tonight or tomorrow I will see if the TB3 to TB3 network will work with this hack and my 2019 MacBook Pro (or as I call it my lap warmer!). also may try the TR in the last slot.

Congratulations! Once again I should say that a flashed internal (on-board) Titan Ridge controller seems to be functioning much better than any flashed add-in-card so far.
I found an easier way to burn the EEPROM image which I have let @CasseySJ know in a PM so he can see if he can replicate it and if so release the procedure on this thread. I don't want anyone damaging their Designare as I did to my old board, an AU$512.00 mistake.
** Supplemental Procedure for Connecting External SPI Flasher to Designare Z390 **
Credit: @jb007

** DEC 2020: DEPRECATED **
Please refer to this guide for using a 3.3V USB CH341a programmer

This worked like a charm! Here's the procedure I used:
  • Flip power switch OFF on the Designare power supply unit (PSU).
  • Remove power cable from Designare power supply unit (PSU).
  • Wait a few seconds for capacitors (residual charge) to discharge. (Keep power cable unplugged.)
  • Make sure Raspberry Pi is turned off.
  • Disconnect pin 8 (Vcc or power) from SOIC8 clip.
  • Connect SOIC8 clip to Thunderbolt chip so that it swallows the chip.
  • Turn on Raspberry Pi.
  • Open Terminal.
  • Run flashrom as shown below to read the chip -- it should not work, but it should partially detect the chip.
Code:
pi@raspberrypi:~/Documents/Designare/Mar-28 $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=2048 -r Designare-1.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 Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on linux_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
  • Now connect power cable to the Designare PSU.
  • Flip power switch on Designare power supply unit to ON. (Again, make sure pin 8 is disconnected.)
  • Run flashrom as shown below. It worked the first time.
Code:
pi@raspberrypi:~/Documents/Designare/Mar-28 $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=2048 -r Designare-1.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.

pi@raspberrypi:~/Documents/Designare/Mar-28 $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=2048 -r Designare-2.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.

pi@raspberrypi:~/Documents/Designare/Mar-28 $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=2048 -r Designare-3.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.
  • Make sure checksums match on all 3 read attempts.
Code:
pi@raspberrypi:~/Documents/Designare/Mar-28 $ shasum *
0f70c0d010ddd0f1494d53a01751ae0fa691959d  Designare-1.bin
0f70c0d010ddd0f1494d53a01751ae0fa691959d  Designare-2.bin
0f70c0d010ddd0f1494d53a01751ae0fa691959d  Designare-3.bin
 
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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
Some success. All credit to @Elias64Fr for the patched firmware and @CaseySJ .

@CaseySJ - Have I got this right ? IOReg (before SSDT and after SSDT) and bootlog attached. I know nothing about an SSDT, so I modified one that I found here with my Thunderbolt DROM. If you see any mistakes - please help me to correct them.
I got the CRC8 and the CRC32 errors - Have corrected them in the SSDT. (thank you, Elias and others for the amazing work and explanation)

Hotplugging, Cold reboot and Thunderbolt bridge works. Will test more tomorrow.
Under the PCI section I see some information missing.

My original DROM is here (NVM20.bin.zip) - https://www.tonymacx86.com/threads/...olt-3-i7-9700k-amd-rx-580.267551/post-2086474

And info about the DROM is here - https://www.tonymacx86.com/threads/...olt-3-i7-9700k-amd-rx-580.267551/post-2086474

@rj510
Hello @mango1122,

Your setup looks good. Thunderbolt Switch is at port 3 and configured correctly. I'll add this to the Repository and create a Thunderbolt DROM micro-guide.

The only potential issue (and it may or may not be consequential) is a set of IOThunderboltFamily errors like this:

(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltSwitch<0x0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 1 unplug = 1
(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltSwitch<0x0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 2 unplug = 1

Are you seeing any real world issues with Thunderbolt?
 
Joined
May 23, 2019
Messages
244
Motherboard
ASRock Z390 Phantom
CPU
i9-9900K
Graphics
UHD 630
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Hello @mango1122,

Your setup looks good. Thunderbolt Switch is at port 3 and configured correctly. I'll add this to the Repository and create a Thunderbolt DROM micro-guide.

The only potential issue (and it may or may not be consequential) is a set of IOThunderboltFamily errors like this:

(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltSwitch<0x0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 1 unplug = 1
(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltController::configReadDWord - ERROR: synchronous call on workloop thread.
(IOThunderboltFamily) IOThunderboltSwitch<0x0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 2 unplug = 1

Are you seeing any real world issues with Thunderbolt?

None so far. Thanks for taking a look. Sleep wake also works fine. I do have a 5 second pause near loading ACPI tables but that’s tolerable. Anything wrong/missing from my SSDT ? In the PCI tab (screenshot from before) I see a lot of fields not populated.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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
*** Thunderbolt DROM Micro-Guide for ASRock Z390/Z370 ITX/ac ***
Credit: @Elias64Fr and @mango1122
Please do not quote this micro-guide in its entirety. Post a link instead.


Target Audience for this Procedure:
  • ASRock Z390 Phantom Gaming ITX/ac with activated Thunderbolt Bus.
  • ASRock Z370 Fatal1ty Gaming-ITX/ac with activated Thunderbolt Bus.
  • To activate Thunderbolt Bus, it's necessary to flash a modified firmware onto the motherboard.
  • Become thoroughly familiar with the following posts:
  • If System Information --> Thunderbolt says No drivers are loaded, then this does not apply to you.
Benefits / Purpose:
  • Just as your Mac's serial number is unique and your Ethernet card's MAC address is unique, we need to assign a unique ID to the Thunderbolt controller.
  • Thunderbolt Ethernet Bridge and Target Disk Mode require this procedure.
  • Most eGPUs require this procedure.
  • QNAP Thunderbolt-based NAS units require this procedure.
    • Other Thunderbolt-based storage and NAS systems may require this procedure as well.
  • This procedure may improve overall compatibility with a wider set of Thunderbolt devices.
Procedure:
There are two options for configuring Thunderbolt DROM. Choose one of the two methods.

Option 1: Web GUI Method (credit: @Inqnuam)
This method is the easiest to use.
  • Click here
  • Follow on-screen instructions carefully
  • Thunderbolt DROM will be customized for you using a randomly generated Unique ID (UID) and all checksums will be auto-computed.
  • A complete Thunderbolt SSDT (with the new DROM) will be presented on screen and it will also be copied to the clipboard for you.
  • Download and run MaciASL, create new file (File --> New) and paste the clipboard.
  • Then save the file in ACPI Machine Language (AML) format: File --> Save As... and choose ACPI Machine Language from the pop-up menu.
  • Give the file an appropriate name such as: SSDT-TB3-DROM-HOTPLUG.aml.
    • Any name is okay as long as it begins with SSDT-
  • However, download SSDT-DTPG.aml from the bottom of this guide.
  • Both SSDT files must be copied to the CLOVER/ACPI/patched folder (for CLOVER users) or OC/ACPI folder (for OpenCore users).
Option 2: Superuser Method (credit: @joevt)
Please see this guide for advanced users.

Option 3: Manual Method
  • Specify a new Unique ID (UID) in the 5 green bytes below (0x11).
  • Replace the 5 green numbers below with 5 randomly selected hex numbers.
  • Now click here to visit an online CRC calculator and configure it as shown:
    Screen Shot 2020-03-18 at 9.35.24 AM.png
  • Copy the boldfaced bytes below (bytes 2-9 after replacing the green bytes with your own values) to clipboard and paste them into the Bytes field as shown and click CRC button:
    Screen Shot 2020-03-18 at 9.37.02 AM.png
  • Enter the CRC-8 checksum into the 1st byte of Thunderbolt DROM as shown in red below.
  • Save this into your Thunderbolt SSDT, in the NHI0._DSM method.
    • The attached SSDTs may be used, but they are configured for PCI0.RP21. Adapt the SSDT for the actual PCIe path for your system. If you have questions about this, just ask.
    • Both SSDTs should be copied to CLOVER/ACPI/patched or for OpenCore users, OC/ACPI
  • Optional but Highly Recommended for Add-in-Cards: Byte #2 below (between 0x88 and 0x11) represents the Thunderbolt Bus ID. If you have multiple Thunderbolt controllers, assign a different bus to each one. If you change this byte, please re-compute the CRC-8 checksum.
    • The first byte of ThunderboltConfig should then be changed to the same Bus ID.
"ThunderboltDROM",
Buffer (0x65)
{
0x88, 0x00, 0x11, 0x11, 0x11, 0x11 0x11, 0x00,
0x00, 0xC5, 0x0A, 0x25, 0xCB, 0x01, 0x49, 0x00,​
0x49, 0x18, 0x04, 0x00, 0x62, 0x02, 0x08, 0x81,​
0x80, 0x02, 0x80, 0x00, 0x00, 0x00, 0x08, 0x82,​
0x80, 0x02, 0x80, 0x00, 0x00, 0x00, 0x02, 0x83,​
0x0B, 0x84, 0x20, 0x01, 0x00, 0x3C, 0x00, 0x00,​
0x00, 0x00, 0x00, 0x05, 0x85, 0x50, 0x00, 0x00,​
0x09, 0x01, 0x41, 0x53, 0x52, 0x6F, 0x63, 0x6B,​
0x00, 0x15, 0x02, 0x5A, 0x33, 0x37, 0x30, 0x20,​
0x47, 0x61, 0x6D, 0x69, 0x6E, 0x67, 0x2D, 0x49,​
0x54, 0x58, 0x2F, 0x61, 0x63​
},
  • CRITICAL WARNING:
    • Do not copy and paste the text above into MaciASL. Instead, copy-and-paste from the spoiler below. Failure to do so will be catastrophic.
Code:
"ThunderboltDROM",
Buffer (0x65)
{
0x88, 0x00, 0x11, 0x11, 0x11, 0x11, 0x11, 0x00,
0x00, 0xC5, 0x0A, 0x25, 0xCB, 0x01, 0x49, 0x00,
0x49, 0x18, 0x04, 0x00, 0x62, 0x02, 0x08, 0x81,
0x80, 0x02, 0x80, 0x00, 0x00, 0x00, 0x08, 0x82,
0x80, 0x02, 0x80, 0x00, 0x00, 0x00, 0x02, 0x83,
0x0B, 0x84, 0x20, 0x01, 0x00, 0x3C, 0x00, 0x00,
0x00, 0x00, 0x00, 0x05, 0x85, 0x50, 0x00, 0x00,
0x09, 0x01, 0x41, 0x53, 0x52, 0x6F, 0x63, 0x6B,
0x00, 0x15, 0x02, 0x5A, 0x33, 0x37, 0x30, 0x20,
0x47, 0x61, 0x6D, 0x69, 0x6E, 0x67, 0x2D, 0x49,
0x54, 0x58, 0x2F, 0x61, 0x63        
},

Reboot.
  • Check if Thunderbolt Port 3 is activated.
    Screen Shot 2020-03-28 at 1.53.21 AM.png
 

Attachments

  • SSDT-DTPG.aml
    100 bytes · Views: 132
  • SSDT-TBOLT3-RP21-ASROCK-Z390-ITX-AC.aml
    2 KB · Views: 153
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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
None so far. Thanks for taking a look. Sleep wake also works fine. I do have a 5 second pause near loading ACPI tables but that’s tolerable. Anything wrong/missing from my SSDT ? In the PCI tab (screenshot from before) I see a lot of fields not populated.
Please try the SSDT in the micro-guide above. I've changed some device-property information.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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 @Casey, wondering if you might know a fix for this problem. When I share a video from the photos app I see a pie shaped progress indicator in the toolbar of the photos app. The VTEncoderXPCService process runs during this time and CPU activity is ~600%. To share one 60 second video takes longer than 60 seconds. I know it's converting it or downscaling it, but that seems extremely slow for such a well specced machine. Is this supposed to be offloaded to my 5700 XT or can you think of anything that might not be optimized for this process?
Have you checked whether hardware acceleration is enabled for HEVC and H.264? We can use VideoProc to check this. Simply search this thread for posts from me containing the keyword 'VideoProc'.

Also, have you checked how long it takes a real Mac to do the same job?
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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
i get this error attempting to update from 10.15.3 to 10.15.3. i tried the f11 at boot screen. and also tried to update to r5017... and suggestion.View attachment 457588
Have you seen posts 18 and 20 here:
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
15,878
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
*****UPDATE*****
i got the restart sleep and shutdown fixed in 10.15.4 with native nvram enabled ,but how ever the sleep needs a bit of touch up work. here is the scenario the sleep is working but however upon from wake from sleep on the lg 4k monitor it wakes up but black but to show the "locked password" screen you must begin typing the first character in the beginning of the macs password that was set up by the user. i tried clicking multiple times to wake from sleep but no screen until pressing the first set of characters password that was set by the user. other than that the system seems so far stable. i have removed the sleep wake clover bug but this did not help either with the latest 5107 clover build. hopefully we can pull together and find a more stable fresh install for 10.15.4 the sleep worked better in 10.15.3 i don't know what was changed for sleep. i know apple time to time can change the darkwake to different set of numbers. a better guide to understanding what darkwake does for each build can be viewed here.

p.s to my conclusion i have found that the catalina fresh install 10.15.3 guide will not work with hdmi support on 10.15.4 i tried booting the hdmi from the z390 designare motherboard to the lg 4k and no signal was being picked up at all on 10.15.4. i disconnected the power source to the vega frontier edition cooled and was unsuccessful with the hdmi display intel 630 uhd. right now what is working is the amd graphics card hdmi or display port not the onboard hdmi in 10.15.4.

my ioreg shows the igu framebuffer in 10.15.4 but does not pick up signal upon boot.
What you're describing in the first paragraph is the need to pressing 2 or 3 keys to wake from sleep. I always press 3 keys (space bar) with a few seconds between each. Have you tried setting darkwake=0 in Boot Arguments? That may allow wake with single keypress.
 
Top