terminatorul / NvStrapsReBar

Resizable BAR for Turring GTX 1600 / RTX 2000 GPUs
MIT License
558 stars 13 forks source link

BIOS Patching not working for supported motherboard #111

Closed SakuraJensen closed 3 weeks ago

SakuraJensen commented 1 month ago

System

Description

I've tried to patch the BIOS with MMTool and UEFITool. I've tried to recommended and latest versions of the tools. The patched BIOS refuses to flash after failing verification in both UEFI and in at_BIOS. Using The latest MMTool I was able to get the patched file to read in UEFI but that's as far as I've gotten.

I've included the original and patched bios files. bios.zip

Maybe I'm doing something wrong?

karfelren commented 4 weeks ago

Screenshot 2024-11-01 195739

the patch file has nothing to do with your bios, you just stuck on flashing the bios section

SakuraJensen commented 4 weeks ago

the patch file has nothing to do with your bios, you just stuck on flashing the bios section

The patch literally goes directly into my BIOS. Hence, the entire point of putting the .ffs file in. Are you sure you read the instructions?

The problem is also flashing, obviously it's not passing the checksum verification, even when I can get one of the tools to export the file correctly and not one that's 0KB.

Really, I'm just looking for input from @terminatorul seeing as they've validated this motherboard as working before.

SakuraJensen commented 4 weeks ago

Actually found some information on this after the fact:

https://winraid.level1techs.com/t/flashing-gigabyte-while-avoiding-invalid-bios-image/31185

I was able to flash the bios using the method in the link, however, I think it's booting from the backup BIOS. because it's POSTing extremely slow. The terminal is showing the DXE driver is still unloaded as well.

image

image

Resize bar is enabled in the BIOS according to my two options Off and Auto. It's on Auto.

karfelren commented 4 weeks ago

sorry for stepping in then and good luck

SakuraJensen commented 4 weeks ago

Got it.

Bios F13a/d introduced the verification for bios files. But F12 did not. Specifically the F12 internal version that had ReBAR enabled (located here: https://winraid.level1techs.com/t/request-bios-for-gigabyte-x399-aorus-gaming-7-resizable-bar/37877)

I was able to downgrade the bios to F12 using the built in BIOSBACKUP folder on the mobo. and then flash my modified F13d bios over it. YMMV as It wouldn't let me downgrade to F12 with the file i had on my drive. Just the BIOSBACKUP folder under "Unknown Devices".

The efiflash tool did flash, but I don't think what it flashed was booting and it was falling back to my other BIOS.

image image