Asus X670E Gene EFI -- Adaptable to Other X670, X670E, B650 and B650E Boards

Lorys89

Active member
AMD OS X Member
Joined
Dec 16, 2022
Messages
185

Lorys89

Active member
AMD OS X Member
Joined
Dec 16, 2022
Messages
185
Are you trying to rename both method and name? The DSDT opens in MaciASL if either one of those is renamed.
No, I just created rename of the name _prw to zprw and apparently it starts with this rename, so it's okay 🤞
 

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67
Yes, open maciasl and save systems dsdt and send me 💪
Sorry for taking too long, weekdays are more complicated.

MaciASL gives an error message and doesn't open:

Decompilation Error:

iASL returned:


Firmware Error (ACPI): Failure creating named object [\_SB.PCI0.GPP7.UP00], AE_ALREADY_EXISTS (20200925/dswload-495)
Could not parse ACPI tables, AE_ALREADY_EXISTS
File appears to be binary: found 45023 non-ASCII characters, disassembling
Binary file appears to be a valid ACPI table, disassembling
Input file iASLZXEVRo.aml, Length 0x2FF89 (196489) bytes
ACPI: DSDT 0x0000000000000000 02FF89 (v02 ALASKA A M I 01072009 INTL 20200717)
Pass 1 parse of [DSDT]
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-372)
 

Lorys89

Active member
AMD OS X Member
Joined
Dec 16, 2022
Messages
185
Sorry for taking too long, weekdays are more complicated.

MaciASL gives an error message and doesn't open:
ok try this and if boot open maciasl and send system dsdt
 

Attachments

  • EFI.zip
    5.5 MB · Views: 7

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67
ok try this and if boot open maciasl and send system dsdt

A similar error occurred, see bellow.

Maybe you can send me a procedure on how to do this changes myself so we can test faster?

EFI post #105


iASL returned:


Firmware Error (ACPI): Failure creating named object [\_SB.PCI0.GPP7.UPXX], AE_ALREADY_EXISTS (20200925/dswload-495)
Could not parse ACPI tables, AE_ALREADY_EXISTS
File appears to be binary: found 45023 non-ASCII characters, disassembling
Binary file appears to be a valid ACPI table, disassembling
Input file iASLoPnZXs.aml, Length 0x2FF89 (196489) bytes
ACPI: DSDT 0x0000000000000000 02FF89 (v02 ALASKA A M I 01072009 INTL 20200717)

Pass 1 parse of [DSDT]

ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-372)
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
A similar error occurred, see bellow.

Maybe you can send me a procedure on how to do this changes myself so we can test faster?
In MaciASL we should save DSDT in “.dsl” format instead of “.aml”. The former is un-compiled and the latter is compiled. Compiling will generate errors.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
The "Name _PRW" patch didn't work in that EFI because of this typo:
Screenshot 2023-03-21 at 7.57.31 AM.png
My original patch is posted here:
Screenshot 2023-03-18 at 10.50.33 AM.png
 
Last edited:

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67
Hi @CaseySJ and @Lorys89 ,

I got confused about your last posts.

Lorys posted this config.plist acpi patches (both are enabled, I couldn't make it fit on the screen):
Screen Shot 2023-03-23 at 08.58.46.pngThey don't have the byte as 00, but 50 as said correct.
Lorys EFI only includes SSDT-GIGABYTE-B650.aml in the add part.

Casey you pointed me to a zip containing DSDT-Patched.aml and DSDT.aml.

Should I remove the gigabyte's aml and include yours?
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
Hi @CaseySJ and @Lorys89 ,

I got confused about your last posts.

Lorys posted this config.plist acpi patches (both are enabled, I couldn't make it fit on the screen):
View attachment 10135They don't have the byte as 00, but 50 as said correct.
Lorys EFI only includes SSDT-GIGABYTE-B650.aml in the add part.

Casey you pointed me to a zip containing DSDT-Patched.aml and DSDT.aml.

Should I remove the gigabyte's aml and include yours?
This patch is applied on ACPI -> Patch instead of ACPI -> Add.
 

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67
Ok, I will take some time studying the ACPI dortania guide this weekend, try to figure this out.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
Ok, I will take some time studying the ACPI dortania guide this weekend, try to figure this out.
The ACPI patches are simply entered in ACPI -> Add section of OpenCore Configurator. The screenshot in your previous post already shows the patches. Both of those patches should be enabled.

If your system boots and works properly with just those two patches, then you're all set.

However, the patch in magenta box below should also be added to your configuration otherwise one of the standard system SSDTs will not load:
Screenshot 2023-03-18 at 10.50.33 AM.png
The details of this patch are as follows:
  • TableSignature: SSDT
  • OemTableId: 45585447 50503030
  • Find: 47505032 085F5052 57
  • Replace: 47505032 08585052 57
  • Comment: GPP2 _PRW to XPRW
  • Count: 1
  • Enabled: True
 
Last edited:

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
** Updated USB Port Map Kexts for Asus X670E Gene **

If you're using the USB port map files I included in the EFI folders for X670E Gene, please replace these two files in EFI/OC/Kexts with the attached versions:
  • USBPorts-XHC1-XHC2-XHC4.kext
  • USBPorts-XHC1-XHC2-XHC4-NO-BT.kext
These files fix "USBConnector" for one of the ports.
 

Attachments

  • Updated USB Port Map Kexts.zip
    4.8 KB · Views: 6

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67
The ACPI patches are simply entered in ACPI -> Add section of OpenCore Configurator. The screenshot in your previous post already shows the patches. Both of those patches should be enabled.

If your system boots and works properly with just those two patches, then you're all set.

However, the patch in magenta box below should also be added to your configuration otherwise one of the standard system SSDTs will not load:
View attachment 10136
The details of this patch are as follows:
  • TableSignature: SSDT
  • OemTableId: 45585447 50503030
  • Find: 47505032 085F5052 57
  • Replace: 47505032 08585052 57
  • Comment: GPP2 _PRW to XPRW
  • Count: 1
  • Enabled: True
I just tried to add the patch:

Screen Shot 2023-03-24 at 17.00.48.png
The computer booted fine, but MaciASL still gives the error message:
iASL returned:


Firmware Error (ACPI): Failure creating named object [\_SB.PCI0.GPP7.UPXX], AE_ALREADY_EXISTS (20200925/dswload-495)
Could not parse ACPI tables, AE_ALREADY_EXISTS

File appears to be binary: found 45023 non-ASCII characters, disassembling
Binary file appears to be a valid ACPI table, disassembling
Input file iASL1mJqIS.aml, Length 0x2FF89 (196489) bytes

ACPI: DSDT 0x0000000000000000 02FF89 (v02 ALASKA A M I 01072009 INTL 20200717)

Pass 1 parse of [DSDT]
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-372)

Any more ideas on how may I proceed? Thanks again!
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
I just tried to add the patch:


The computer booted fine, but MaciASL still gives the error message:


Any more ideas on how may I proceed? Thanks again!
Please see:

Screen Shot 2023-03-24 at 17.00.48.png
 

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67

Attachments

  • SSDT-GIGABYTE-B650.aml.zip
    1.9 KB · Views: 4

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,277
@CaseySJ which of the SSDT methods do you recommend for me now? https://dortania.github.io/Getting-Started-With-ACPI/ssdt-methods/ssdt-methods.html

I am not sure what's included in @Lorys89 SSDT-GIGABYTE-B650.aml (attached here).

I saw in your EFI you include some common AMLs, such as:
  • SSDT-CPUR
  • SSDT-EC-AMD
  • SSDT-USBX
  • SSDT-DTPG

The dortania zen guide (not updated to AM5) refers to these ones:
@Lorys89 has actually combined all of those into a single SSDT-GIGABYTE-B650.aml.
 

jubarim

Member
AMD OS X Member
Joined
Feb 8, 2023
Messages
67
@Lorys89 has actually combined all of those into a single SSDT-GIGABYTE-B650.aml.
Oh I see. That's perfect.

Well, I'll proceed to the usb mapping, thanks a lot.
 
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.