Bios extract Lenovo

From coreboot
Revision as of 15:19, 17 October 2014 by Lynxis (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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