Jump to content

Bug fix for AM5 new firmware motherboards (DSDT-FIX)


Lorys89

Recommended Posts

  • Support Team

DISCLAIMER - Pay attention!

(Familiarity with ACPI is required)

Patching a DSDT is risky.

Do only if you know risks and how to recover it if something goes wrong!

 

Hi everyone, with the release of new bios for am5 platforms which allow pre-support for 8000 series CPUs we came across a bug that no longer started macos.

@fabiosun and I started by trying these new bios without success in starting macos, until I had the idea of injecting the old dsdt of the previous bios with true on the RebaseRegions quirks.

Subsequently I dedicated myself to patching new bios and removing new conditions that were added :

image.png.5ba9e6cdc9c75b461bd30bf304150d0b.png

removing the entire CPVS section generates 30 errors in my case :

image.png.d6570540d646694039a2be93715e67fd.png

I started to correct these errors by removing conditions for loading devices or _PRW methods :

image.png.6c37ca17f0b4c2d56e7cac3dfdef9b93.png

there are so many that it removes the if... string with the bracket { and at the end of the scope also remove a bracket } so as not to generate other errors.

image.png

and I also removed this whole part:

image.thumb.png.185d03c0116b16585bb8cdbb178ec390.png

 

Attached in this post original dsdt of new asus b650e-i's bios f and the patched one 

 

(asus b650e-i)

Original - DSDT.aml.zip       

 

---------------------------                    

 

(asus b650e-i)

Patched - DSDT.aml.zip

 

---------------------------                    

 

(asus x670e gene)

Patched - DSDT.aml.zip

 

---------------------------         

          

(asus x670e hero)

Patched - DSDT.aml.zip

 

---------------------------

 

(MSI X670e Pro Carbon)

DSDT.aml.zip

 

---------------------------

 

(Asus ROG B650E-F)

DSDT.aml.zip

 

---------------------------

 

(ASUS ROG STRIX X670E-F GAMING WIFI)

DSDT.aml.zip

 

---------------------------

 

(ASUS X670E-I)

DSDT.aml.zip

 

----------------------------

 

 

 

  • Like 6
Link to comment
Share on other sites

  • fabiosun changed the title to Bug fix for AM5 new firmware motherboards (DSDT-FIX)
43 minutes ago, Lorys89 said:

have you already tried it?

I've downloaded it for safekeeping. When the new Ryzen 8000 processors hit the market early next year, I will very likely purchase one. 

 

Updating BIOS on my motherboard has been a relatively painful experience, so I do this only when necessary.

  • +1 1
Link to comment
Share on other sites

  • Support Team
4 minuti fa, CaseySJ ha scritto:

 

Updating BIOS on my motherboard has been a relatively painful experience, so I do this only when necessary.

A user with x670e gene just upgraded to 1709 without any issues. 

  • +1 1
Link to comment
Share on other sites

I tested with the new DSDT for the X670E Hero, and it worked with BIOS 1709.

Now I'm testing with the previous BIOS and without DSDT to see if it works too.

I had the misfortune of setting up the setup, updating the BIOS and getting this problem with the 1709. LOL!

Thank you very much for all of your help.

  • Like 1
Link to comment
Share on other sites

I got a panic crash when Ventura tried to go sleep, perhaps I need to add something for the GPU? (6600XT)

I sill have to complete the EFI, I just have the HDMI as output devices, and I'm having some issues renaming the cpuid.

Also I need to map the ports, I'm guessing if I can use the @CaseySJ kexts just to be sure...

panic.zip

Link to comment
Share on other sites

  • Support Team
3 ore fa, handycup ha scritto:

I got a panic crash when Ventura tried to go sleep, perhaps I need to add something for the GPU? (6600XT)

I sill have to complete the EFI, I just have the HDMI as output devices, and I'm having some issues renaming the cpuid.

Also I need to map the ports, I'm guessing if I can use the @CaseySJ kexts just to be sure...

panic.zip 2.8 kB · 0 download

map usb port this solve the problem 

Link to comment
Share on other sites

5 hours ago, Lorys89 said:

map usb port this solve the problem 

Thanks, I'm going to try the USB mapping, but I'm not quite sure how to make it works.

I have just enabled the thunderbolt / USB4 in BIOS, I'm not using those ports atm, but seems that I need to enable them before mapping the ports, If I need to use them in the future.

The thing is I haven't any USB type C device to map those ports, and I'm not sure If I need and how to map those bi-directional ports.

Reading others guides just raise my doubt on how to proceed, dortania guide says we need to plug only USB 3.0 in windows for the mapping, others says we still need to use USB 2.0 and 3.0.

 

Link to comment
Share on other sites

  • Support Team
  • Supervisor
23 hours ago, handycup said:

Thanks, I did a test but same behavior, empty name on the CPU and 4,3 as speed

post only your config.plist

4.3 Ghz is an OSX bug

i said this in the past on many forums and no solution for now

 

Link to comment
Share on other sites

3 hours ago, fabiosun said:

config 6.plist.zip 6.63 kB · 1 download

for problem with cpu name try this config

reset Nvram before starting OSX
for USB mapping problem post an IOREG

Method you say to map USB are the common ones used by AMD comunity

 

Hey it worked! Now it shows CPU name :)

 

For the IOREG I just opened the app and saved the file attached, hope it's ok,

I see an error inside perhaps cause I have bluetooth & wifi disabled in BIOS? (I don't need it)

I removed my actual USB port map kexts before booting the EFI (Won't boot with)

MacPro.zip

Link to comment
Share on other sites

  • Support Team
Il 18/11/2023 at 18:08, tomnic ha scritto:

Updated to 2.00 bios for my ASRock X670E PG Lightning, it boots in macOS natively with only one issue... no Intel wifi card working: but back old DSDT with RebaseRegions quirk true and Wifi is back.

DSDT-old.aml.zip 14.18 kB · 4 download DSDT.aml.zip 23.95 kB · 4 download

@tomnic DSDT patched with fix am5 bios

 

DSDT.aml.zip

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.