Bios extract Lenovo
The wiki is being retired!
Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!
There are at least 2 different bios layouts.
The BIOS can be extracted from BIOS update or from a SPI flash.
Old bios format
New bios format
Extracting BIOS update (.exe)
BIOS updates can be extraced with innoextract or cabextract depending on the version of the BIOS, because Lenovo changed their creationtool for the executeable.
Extracting SPI flash backup
Example x201 uncompress to get VGA bios
innoextract -e 6quj18us.exe cd app find |grep -i fl2 # look into all FL2 files, only one will worked for me phcomp.exe /D <foo>.FL2 phnxsplit <foo>.flh ls OPROM* romheaders OPROM00.rom