B550 Gigabyte Aorus Pro (Bios: F12) | Ryzen 7 3700X | Sapphire RX5500 XT | OC 0.6.6

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
B550.png

  • Motherboard: Gigabyte B550 Aorus Pro | rev. 1.0
  • Bios: F12 | 2‎021.01.18
  • CPU: Ryzen 7 3700x
  • GPU: Sapphire RX5500 XT
  • RAM: 32 GB 3200
  • Festplatte: M2 1TB
  • Audio Device: ALC 1220
  • macOS Version: 11.2.1
  • SMBIOS: iMacPro 1.1 macPro7.1
  • OpenCore Version: v0.6.0 v0.6.2 v0.6.4 v0.6.6
Hello, everyone, I finally got my system (Ryzen3700x, B550AorusPro, RX5500XT) up and running - everything works, including (Sound,Bluetooth,CPU_Temp,etc). For all who are not so patient I provide my debug-EFI. Who still has tips and optimizations, can share them with me, especially regarding USB-mapping. So, now have fun!

Update: 02 /11/2021: various adjustments as well as new graphical boot.

Best regards Fooose

LAN-Fix-Realtek® 2.5GbE LAN : open Terminal: "sudo ifconfig en0 media 1000baseT mediaopt full-duplex"
Thanks DSM2!

I have taken these settings from this post: #1

Bios:
  • Version: F12 2‎021.01.18
  • Major settings to be changed based on the default optimal settings:
    • deactivate I2C and ESPI (essential to solve the random freeze problem) it must be in BIOS (advanced mode) under Settings -> AMD CBS -> FCH Common Options
    • if applicable, set PCIe slot to Gen4 instead of Auto (may contribute to a better stability)
    • enable X.M.P. memory profile
    • disable trusted computing
    • disable wake and boot over LAN
    • enable power loading in Platform Power settings (may contribute to a better stability)
    • setup fan profiles
  • Other relevant default settings:
    • Above 4G Decoding: disabled enabled (bootoption: ncpi=2000 removed)
    • Resizable BAR support disabled
    • XHCI Hand-off: enabled
    • HPET: enabled
    • CSM support: enabled disabled
 

Attachments

  • OC-0.6.4_AMD_B550AorusProEFI.zip
    3.6 MB · Views: 58
  • OC-0.6.5_AMD_B550AorusProEFI.zip
    11.2 MB · Views: 22
  • OC-0.6.6_AMD_B550AorusProEFI.zip
    11.8 MB · Views: 73
Last edited:

Aluveitie

Donator
Donator
May 2, 2020
550
150
43
Switzerland
How is sleep working on B550?

Btw, why did you rename both USB Controllers to XHC1? This seems counter productive. For X570 you have to rename them to different names to properly map the ports.
 
  • Like
Reactions: Fooose

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
Thanks for the tip, I guess I don't have enough experience in portmapping. Unfortunately Sleep does not work.
 

Shaneee

Administrator
Staff member
The AMD Guy
Mar 13, 2020
663
252
162
28
Scotland
amd-osx.com
Feel free to test these aml files for USB and test all ports + sleep. Based off my X570 map and used another Gigabyte B550 for reference. I'd suggest using a USB with a clone of your EFI with these files included for testing.
 

Attachments

  • B550_USB_Map_Test.zip
    1.8 KB · Views: 33
  • Like
Reactions: Fooose

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
Thanks for your help, your SSDT-XHC is definitely the better one, unfortunately Sleep doesn't work with it either, I only used your two AML files. But I still have to use my SSDT-PTXH, otherwise my Bluetooth won't work.

In the Hackintoll no more USB ports are shown, is that correct ?


Bildschirmfoto 2020-08-11 um 20.05.20.pngBildschirmfoto 2020-08-11 um 20.11.02.png
 
Last edited:

Shaneee

Administrator
Staff member
The AMD Guy
Mar 13, 2020
663
252
162
28
Scotland
amd-osx.com
Try this now. Again without your aml. For reference this is how my USB looks like in Hackintool.

 

Attachments

  • SSDT-XHC.aml.zip
    1.3 KB · Views: 11
  • Like
Reactions: Fooose

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
Unfortunately your AML has not brought about any change.
I think the adjustment is not working because a mistake has crept in.
I have completely rewritten my PTXH from the DSDT.
Maybe you can find the error, because if I use it, no USB port will be shown in the hackintool.
I uploaded my original DSDT and my new PTXH.
 

Attachments

  • DSDT_OriG.zip
    11.5 KB · Views: 6
  • Bildschirmfoto 2020-08-12 um 10.08.09.png
    Bildschirmfoto 2020-08-12 um 10.08.09.png
    126.2 KB · Views: 26
  • Bildschirmfoto 2020-08-12 um 11.05.24.png
    Bildschirmfoto 2020-08-12 um 11.05.24.png
    495.6 KB · Views: 33

alex-k

New member
Aug 11, 2020
17
13
3
Try this now. Changed the device path to match your DSDT.
Thank you for your example, but the device path of XHC0 (\_SB.PCI0.GPP1.XHC0) seems to be wrong. Shouldn't it rather be \_SB.PCI0.GP13.XHC0 ? I'm also trying to map USB ports via a kext, but this doesn't seem to be working at all.
 
  • Like
Reactions: Fooose

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
So I have now taken a new approach and worked through this tutorial.

I also the first success, controller "GP13" can be mapped without problems.
But as soon as I map controller "GPP1", USB is not working anymore.
Slowly I lose my patience and the overview.
 

Attachments

  • Bildschirmfoto 2020-08-12 um 15.44.38.png
    Bildschirmfoto 2020-08-12 um 15.44.38.png
    493.7 KB · Views: 38
  • USBMapKext.zip
    6 KB · Views: 9

alex-k

New member
Aug 11, 2020
17
13
3
The official dortania usb mapping guide didn't work for me (couldn't manage to inject usb mappings via a kext), so I decided to create a SSDT patch. The port mapping seems to be working, although I don’t have any bluetooth device. I use the attached SSDT along with the SSDT-EC-USBX.aml (and SSDT-CPUR of course).
 

Attachments

  • SSDT-XHC.aml.zip
    1.2 KB · Views: 10
  • Screenshot 2020-08-12 at 22.38.19.png
    Screenshot 2020-08-12 at 22.38.19.png
    740.8 KB · Views: 33
  • Screenshot 2020-08-12 at 22.49.19.png
    Screenshot 2020-08-12 at 22.49.19.png
    883.2 KB · Views: 34

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
The official dortania usb mapping guide didn't work for me (couldn't manage to inject usb mappings via a kext), so I decided to create a SSDT patch. The port mapping seems to be working, although I don’t have any bluetooth device. I use the attached SSDT along with the SSDT-EC-USBX.aml (and SSDT-CPUR of course).
Try them both, the SSDT-XHC0.aml should work, only the SSDT-PTXH.aml doesn't want to yet. maybe you have the solution. Good luck!

With the USBMAp you can test if it works for you, as already said GP13(XHC0) works, GPP1(PTXH) does not.
By the way, your SSDT-XHC.aml also works for me as it should!


Finally, I was able to get all the USBPorts folders.
Actually, it's quite simple, with the hackintool.

I use the USBMap.kext and it worked immediately.
I have removed all ports that do not really exist.

It is possible that an internal USB 2 port is still missing (0x0F), I have not checked that yet.

Otherwise I wish you all a lot of fun with the template.
Unfortunately Sleep is still not working.
 

Attachments

  • USBMapKext.zip
    4.2 KB · Views: 25
  • Bildschirmfoto 2020-08-13 um 15.02.22.png
    Bildschirmfoto 2020-08-13 um 15.02.22.png
    219.7 KB · Views: 36
Last edited:

alex-k

New member
Aug 11, 2020
17
13
3
Try them both, the SSDT-XHC0.aml should work, only the SSDT-PTXH.aml doesn't want to yet. maybe you have the solution. Good luck!

With the USBMAp you can test if it works for you, as already said GP13(XHC0) works, GPP1(PTXH) does not.
By the way, your SSDT-XHC.aml also works for me as it should!


Finally, I was able to get all the USBPorts folders.
Actually, it's quite simple, with the hackintool.

I use the USBMap.kext and it worked immediately.
I have removed all ports that do not really exist.

It is possible that an internal USB 2 port is still missing (0x0F), I have not checked that yet.

Otherwise I wish you all a lot of fun with the template.
Unfortunately Sleep is still not working.

Thank you for sharing your experience. Injecting USB mappings via a kext actually works fine (made a silly copy/paste mistake on activating the usb mapping kext in config.plist).
I managed to get sleep/wake working stable. I don't use any usb controller renaming/disabling via a SSDT, only the standard SSDT-EC-USBX.aml and USBPorts.kext. Disabling AMDRyzenCPUPowerManagement.kext and SMCAMDProcessor.kext was essential to get sleep working I also experienced worse overall performance with them). If you are interested here is my USBPorts.kext. Actually PTXH worked just perfect (also with sleep) otb without any patching/mapping required for me. USBPorts.kext just injects some naming/mapping properties for XHC0. I will post my success story on a separate thread.
 

Attachments

  • USBPorts.kext.zip
    2.1 KB · Views: 29

Fooose

New member
Original poster
Jul 27, 2020
27
6
3
@alex-k: Thanks for the tip with the "AMDRyzenCPUPowerManagement.kext", which was responsible that Sleep with me did not want. Now everything works. Really great!