Hello everyone!
I have an old Gigabyte motherboard (GA-Z68P-DS3 Rev. 2.0) with the latest (and the only) UA6 UEFI beta bios, it’s a bit buggy though and has a problem where its x4 PCI-E slot only works in x1 mode even though no other PCI-E slots are in use beside x16, by googling a bit I found this forum and particularly this thread with the same issue where solution was found around post 69.
However since it’s not a guide and just a discussion of two experienced users and personally I have no experience in modding bios I need someone to confirm that by doing things below I won’t brick my board by missing or misunderstanding some obvious step, I can buy a programmer but desoldering an ic from mobo would be an unnecessary hassle I’d like to avoid.
Here’s what I’m going to do, do note that unlike the person in that thread I don’t need NVME functionality, I only need PCI-E slot to work at its full x4 speed so I can use it for a second video card:
First I need to fix flash descriptor bios starting offset of the original file as mentioned there in posts 137 & 141 otherwise Flash Image Tool won’t build it later, opening UA6 file with UEFITool shows that bios starts at 180000h: pic, dividing it by 1000 and then converting from Big Endian to Little Endian gives me 8001, adding it to original file at the supposedly correct place with HxD looks like this: pic, this is the part I doubt the most, is everything correct?
Now I save and open this modified file with Flash Image Tool v8.1.40.1456 (opens without errors), go to Flash Image > Descriptor Region > PCH Straps > PCH Strap 9 directory and change PCIe Port Configuration 2 entry from 00: 4x1 Ports 5-8 (x1) to 11: 1x4 Port 5 (x4)… like this: pic and press build, it builds without errors, I guess now I have outfile.bin that I can flash, right? Can I flash it the normal way through bios itself with USB drive or do I explicitly need to use Flash Programming Tool?
Additional questions: can I change bios version (UA6) that is shown in software like CPU-Z and inside bios itself to something like UA6m to easily distinguish this modified version? Why my newly built bios file still shows old 8.0.0.1351 FIT version in MEAnanlyzer (pic) even though I compiled it using v8.1.40.1456? Will I be able to roll back to unmodified UA6 from dual bios second bios chip if something goes wrong?
Edit by Fernando: Thread title specified