Skip to content

Instantly share code, notes, and snippets.

@interferenc
Last active June 18, 2019 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save interferenc/713e48b40735b2dbc15977bec4013d24 to your computer and use it in GitHub Desktop.
Save interferenc/713e48b40735b2dbc15977bec4013d24 to your computer and use it in GitHub Desktop.
Skylake-X and X299 BIOS patches to disable MSR 0xE2 lock
# SiInit
299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9 12 P:81E10080000033C1:9090909090909090
# PpmInitialize
3FFCAE95-23CF-4967-94F5-16352F68E43B 10 P:742CB9E2000000:752CB9E2000000
# CpuInitPei
01359D99-9446-456D-ADA4-50A711C03ADA 12 P:BE0080000023CE0B:BE0000000023CE0B
@maleorderbride
Copy link

Thanks for your work on this!

I'm having trouble patching an ASRock X299 BIOS for Skylake-X though. See the below error report.

bash-3.2# ./UEFIPatch /Users/newuser/Desktop/UEFIPatch/X29KSA1.40
parseSection: decompression failed with error "Standard decompression failed"
parseSection: decompression failed with error "Standard decompression failed"
parseSection: decompression failed with error "Standard decompression failed"
(repeats hundreds of times)
parseSection: decompression failed with error "Standard decompression failed"
parseSection: decompression failed with error "Standard decompression failed"
parseFile: non-empty pad-file contents will be destroyed after volume modifications
patch: replaced 8 bytes at offset 4125h 81E10080000033C1 -> 9090909090909090
patch: replaced 8 bytes at offset 1510h BE0080000023CE0B -> BE0000000023CE0B
reconstructSection: executable section rebase failed
Error ,

Any ideas?

@interferenc
Copy link
Author

You should try to build the latest UEFIPatch from source, that has support for more stuff. If that also fails then I have no idea.

@florindogarini
Copy link

Hi, I'm having the some trouble patching an EVGA X299 DARK BIOS for Skylake-X:
C:\Users\Florindo\Desktop\UEFIPatch_0.3.9_win>UEFIPatch 1E299114.bin
parseFile: non-empty pad-file contents will be destroyed after volume modifications
patch: replaced 8 bytes at offset 4389h 81E10080000033C1 -> 9090909090909090
patch: replaced 7 bytes at offset 2B0Ch 742CB9E2000000 -> 752CB9E2000000
patch: replaced 8 bytes at offset 1510h BE0080000023CE0B -> BE0000000023CE0B
reconstructSection: executable section rebase failed
Error ,

maleorderbride have you solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment