Bios extract Lenovo

From coreboot
Revision as of 15:24, 17 October 2014 by Lynxis (talk | contribs)
Jump to navigation Jump to search

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

e.g. T60

New bios format

e.g. x201


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

TODO...

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

Where can I download phcomp phnxsplit?

- http://goo.gl/4ESrc2 - google for phcomp.exe