mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
fix typo and format with markdown (issue #206)
This commit is contained in:
parent
314ce7b350
commit
9d9af31e58
31
blobs/x220/readme.md
Normal file
31
blobs/x220/readme.md
Normal file
@ -0,0 +1,31 @@
|
||||
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, layout.txt is also present for changes
|
||||
|
||||
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, run `ifdtool` to extract the parts.
|
||||
|
||||
```
|
||||
ifdtool -x origin.bin
|
||||
```
|
||||
|
||||
Rename `flashregion_3_gbe.bin` to `gbe.bin`
|
||||
|
||||
To truncate and neuter the ME blob (this can be done automatically in coreboot 4.6):
|
||||
|
||||
```
|
||||
me_cleaner -r -t -O me.bin flashregion_2_intel_me.bin"
|
||||
```
|
||||
|
||||
You can now compile the image with:
|
||||
|
||||
```
|
||||
make CONFIG=config/x220-qubes.config
|
||||
```
|
@ -1,18 +0,0 @@
|
||||
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, layout.txt is also present for changes
|
||||
|
||||
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, run ifdtool -x <bios image> to extract the parts.
|
||||
Rename flashregion_3_gbe.bin to gbe.bin
|
||||
Run "me_cleaner -r -t -O me.bin flashregion_2_intel_me.bin" to truncate and neuter
|
||||
the ME blob.
|
||||
|
||||
You can now compile the image with:
|
||||
|
||||
make CONFIG=config/x220-qubes.conf
|
Loading…
Reference in New Issue
Block a user