Jump to content

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


Lorys89

Recommended Posts

I would like to request a patched DSDT for the ASUS ROG STRIX X670E-I WIFI (ITX version) board. I don't trust my skills in modifying the DSDT myself.  Do I need to provide something? Or maybe a walkthrough so I can try patching it myself.

 

Thanks!

 

Attached DSDT (BIOS ver. 2413)

dsdt-2413-X670E-I.zip

Edited by Unforsaken
  • +1 1
Link to comment
Share on other sites

More fundamentally, I wonder why this extra code prevents macOS from booting.

Is macOS unable to read the CPVS region and initialise these G0xx variables? Is it a general issue with macOS? A memory mapping issue? An AMD-specific issue?

Link to comment
Share on other sites

  • Support Team
54 minuti fa, etorix ha scritto:

More fundamentally, I wonder why this extra code prevents macOS from booting.

Is macOS unable to read the CPVS region and initialise these G0xx variables? Is it a general issue with macOS? A memory mapping issue? An AMD-specific issue?

Yes macos doesn't read cpvs

  • Like 1
Link to comment
Share on other sites

Do we know what this field is, and what are the expected values for those G0xx?

 

Not all conditions can be met simultaneously (G000):

    If (((G002 != 0x03) && (G000 == One)))
    {
        Scope (\_SB.PCI0.GPP7)
        {
            Device (UP00)
            {
 

    If (((G002 != 0x03) && (G000 == 0x02)))
    {
        Scope (\_SB.PCI0.GPP7)
        {
            Device (XH00)

 

so deleting all the conditions create more ACPI objects than would exist if CPVS were properly processed.

 

Possibly more worryingly, there is some debug-like code (calls to M460) and empty stubs

    If (((G002 != 0x03) && ((G000 == One) && (G002 ==
        0x04)))){}

so there's a risk that the code will further evolve in future BIOS revisions. Maintaing a database of patched DSDTs for successive BIOS versions of boards of interest is going to be cumbersome.

Link to comment
Share on other sites

  • Support Team
Il 10/2/2024 at 06:57, Unforsaken ha scritto:

I would like to request a patched DSDT for the ASUS ROG STRIX X670E-I WIFI (ITX version) board. I don't trust my skills in modifying the DSDT myself.  Do I need to provide something? Or maybe a walkthrough so I can try patching it myself.

 

Thanks!

 

Attached DSDT (BIOS ver. 2413)

dsdt-2413-X670E-I.zip 87.35 kB · 0 download

patched 

 

DSDT.aml.zip

Link to comment
Share on other sites

On 11/18/2023 at 6:14 AM, luchina said:

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.

Hi,Could u share EFI with hero 1709?

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 3 weeks later...
  • 4 weeks later...
  • 1 month later...
  • 2 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
×
×
  • 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.