-
Notifications
You must be signed in to change notification settings - Fork 60
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASRock H97M-ITxac Error 6126 - syntax error, unexpected '}' during DSDT Patching #184
Comments
Line 13264 looks suspicios to me. That makes no sence after a Return statement. Maybe just delete ist? A quick and dirty test:
|
Thanks a lot for the answer. 13261: If (CondRefOf (MDBG))
13262: {
13263: Return (MDBG) /* External reference */
-13264: Arg0
13265: }
13266: Return (Zero) Got the following: Log (click here to unfold)
|
Just a guess but do you have any idea after which ACPI spec version you did the decomiling? Maybe it doesn't match with the one used to compile. |
Sorry, what version of ACPI are you referring to? All my steps are described in the first post.
Still with the same errors |
I just read somewhere that this might be an issue. Also
I can not understand in detail what exactly you have done since I don't have Windows. Also I am not an expert. Hopefully someone else knows better. |
Oh, pardon me.
|
Could you please try to decompile
|
I can take a look over the weekend but as I said I am not an expert. In the meanwhile have you read this? |
Thank you very much for your concern and participation. I really appreciate it. 13261: If (CondRefOf (MDBG))
13262: {
13263: Return (MDBG) /* External reference */
-13264: Arg0
13265: }
13266: Return (Zero) First, I solved
by removing the 3055: IO (Decode16,
3056: 0x0000, // Range Minimum
3057: 0x0000, // Range Maximum
3058: 0x00, // Alignment
3059: 0x00, // Length
3060: _Y11)
-3061: IO (Decode16,
-3062: 0x0000, // Range Minimum
-3063: 0x0000, // Range Maximum
-3064: 0x00, // Alignment
-3065: 0x00, // Length
-3066: )
3067: })
3068: Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings After that I proceeded to the following error
Where is the following code present, which I tried to delete -8873: Scope (_SB.PCI0)
-8874: {
-8875: Device (SDMA)
-8876: {
-8877: }
-8878: }
-8879:
8880: If ((SMD0 != 0x02))
8881: {
8882: Scope (_SB.PCI0.SDMA)
8883: {
8884: Name (_HID, "INTL9C60" /* Intel Baytrail SOC DMA Controller */) // _HID: Hardware ID
8885: Name (_UID, One) // _UID: Unique ID
8886: Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
8887: {
8888: Return (LCRS (SB00, SIR0))
But I received a new error, which was not there before, and what to do with it I do not know
as I understand, |
Following the general programming logic, I fixed the errors, but the question remains - did I understand this logic correctly and, accordingly, are the changes I made correct. I corrected all errors according to the following template: Original code that caused the error
Corrected code that compiles fine
DSDTmod.dsl.fixed.zip @xCuri0 |
just flash the modified bios Worst thing that can happen from a bad DSDT is BSOD ACPI error you will still be able to go to setup menu and flash a working one |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
System
Description
Hello.
I went through the following steps, but bumped into an issue which I have no idea how to fix.
Maybe someone can help me in this situation.
1. Added FFS module (https://github.com/xCuri0/ReBarUEFI/wiki/Adding-FFS-module)
Original BIOS - H97M-ITXac(1.90)ROM.zip
Modified it by adding ReBarDxe.ffs - H9MXAC_190wReBarDxe.ffs.zip
2. Used UEFIPatch https://github.com/xCuri0/ReBarUEFI/wiki/Using-UEFIPatch to apply patches.txt and BdwUSB3.txt
Patched previously modified ROM - H9MXAC_190wReBarDxe.ffs.rom.patched.zip
There were no pad file issues.
3. Continued with DSDT Patching (https://github.com/xCuri0/ReBarUEFI/wiki/DSDT-Patching) and then a bummer awaited me.
DSDT.aml.zip
iasl DSDT.aml
to decompile the DSDT.aml to DSDT.dslQWordMemory
andM1LN
sectionsiasl.exe - iasl.exe.zip
resulted file - DSDTmod.dsl.zip
iasl DSDTMod.dsl
, butiasl
reports the following errorsWhich I don't even have a clue how to fix, since I see absolutely no errors.
Maybe someone has some ideas?
The text was updated successfully, but these errors were encountered: