heads/blobs/x220
Sebastian McMillan 21faf524b9
T420 initial support + X220 FBWhiptail Support (#578)
* Add support for the Lenovo ThinkPad T420 and X220.
* Fix the autodetection of ifdtool and me_cleaner.
* Enable FBWhiptail mode for X220 and T420
* Decreased CBFS size to fix 50 seconds boot delay problems
2020-02-19 12:51:03 -05:00
..
.gitignore Update X220 to do generic image instead of qubes. 2017-08-04 22:48:27 +02:00
extract.sh T420 initial support + X220 FBWhiptail Support (#578) 2020-02-19 12:51:03 -05:00
layout.txt Added blob directory for non-free blobs Also basic documentation for the binaries needed for the X220 and how the get to them 2017-05-01 10:49:45 -04:00
readme.md blobs/x220: fix build instruction 2019-05-22 10:40:02 +02:00

To build for X220 we need to have the following files in this folder:

  • me.bin - ME binary that has been stripped and truncated with me_cleaner
  • gbe.bin - Network card blob from the original firmware
  • ifd.bin - Flash layout file has been provided as text

To get the binaries, start with a copy of the original Lenovo firmware image. If you do not have one already, you can read one out from the laptops SPI flash.

flashrom --programmer internal:laptop=force_I_want_a_brick -r original.bin

Once you have the image, the provided extraction script will extract the files needed.

./extract.sh -f <romdump>

Use the options '-m' and '-i' to provide me_cleaner and ifdtool if they can not be located automatically.

The flash layout will be automatically adjusted and the ME image cleaned and truncated.

You can now compile the image with:

make BOARD=x220