Intel Sandybridge Build Tutorial
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!
Step by Step Tutorial How to flash coreboot onto Lenovo T520. Flashing coreboot on supported Intel SandyBridge / Ivybridge system is very similar to this one. Steps that need to be changed are marked as those.
- Check the board status
- Setup toolchain
- Get binary blobs
- Configure coreboot
- Build coreboot
- Flash coreboot
- Recovery and Debugging
For more information have a look at https://www.coreboot.org/Build_HOWTO
Get binary blobs
Coreboot needs some binary blobs. Here's a list of blobs required: Binary_situation
I'm going to use:
- Intel Management Engine (ME)
- Intel Flash descriptor (IFD)
- Intel Gigabit Engine (GBE)
The T520 flash IC can be programmed in circuit.
I used the TIAO USB board to access the flash. You need a flashrom version supporting the "tumpa" programmer. Of course you can read the flash using the Raspberry or BeagleBone, too. To read the flash chip using tumpa programmer:
flashrom -p ft2232_spi:type=tumpa,port=A,divisor=4 -r T520.bin
To read the flash chip using raspberry pi:
flashrom -p linux_spi:dev=/dev/spidev0.0 -r T520.bin
Extract the binary blobs from the raw flash image:
cd ./util/ifdtool make ./ifdtool -x T520.bin
The following files will show up: