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.zipFetching info...        

 

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

 

(asus b650e-i)

Patched - DSDT.aml.zipFetching info...

 

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

 

(asus x670e gene)

Patched - DSDT.aml.zipFetching info...

 

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

          

(asus x670e hero)

Patched - DSDT.aml.zipFetching info...

 

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

 

(MSI X670e Pro Carbon)

DSDT.aml.zipFetching info...

 

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

 

(Asus ROG B650E-F)

DSDT.aml.zipFetching info...

 

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

 

(ASUS ROG STRIX X670E-F GAMING WIFI)

DSDT.aml.zipFetching info...

 

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

 

(ASUS X670E-I)

DSDT.aml.zipFetching info...

 

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

 

 

 

  • Like 6
Link to comment
Share on other sites

  • fabiosun changed the title to Bug fix for AM5 new firmware motherboards (DSDT-FIX)
  On 11/17/2023 at 9:21 PM, Lorys89 said:

have you already tried it?

Expand  

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

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

  • Support Team
  On 11/18/2023 at 8:13 AM, handycup said:

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

Expand  

map usb port this solve the problem 

Link to comment
Share on other sites

  On 11/18/2023 at 11:32 AM, Lorys89 said:

map usb port this solve the problem 

Expand  

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
  On 11/20/2023 at 9:50 AM, 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

 

Expand  

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.zipFetching info...

Link to comment
Share on other sites

  • Support Team
  On 11/18/2023 at 5:08 PM, tomnic said:

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

Expand  

@tomnic DSDT patched with fix am5 bios

 

DSDT.aml.zipFetching info...

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.