Customizing Libreboot - bibanon/Coreboot-ThinkPads GitHub Wiki
Preperation
Download and extract the Libreboot source code from this site. Enter the libreboot_src
folder.
First, install all dependencies needed for Coreboot.
sudo ./builddeb
Next, build GRUB and crossgcc with this script:
sudo ./builddeps
Configure Coreboot to use VGABIOS and Proprietary Microcode
no longer needed
We will need to modify the Libreboot scripts to use the VGABIOS, and possibly some proprietary microcode.
- From
libreboot_src
, enter theresources/libreboot/config/t60
folder. Edit theconfig
file.
- somehow edit that file to choose your VGABIOS (which is probably to be placed in the
libreboot_src
folder). Also edit to enable cpu microcode. You may need to use Coreboot editor to do this.
-
Return to the
libreboot_src
folder. Find this line in thebuild
file:# move those into coreboot directory: mv grub.elf ../coreboot
-
Edit the
./build
script to move thevgabios.bin
file over to../coreboot
.# move those into coreboot directory: cp -f vgabios.bin ../coreboot
-
Now that all the mods have been made, run
./build
../build
-
The roms will be created and put in the
libreboot_bin
folder above.