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/t60folder. Edit theconfigfile.
- somehow edit that file to choose your VGABIOS (which is probably to be placed in the
libreboot_srcfolder). Also edit to enable cpu microcode. You may need to use Coreboot editor to do this.
-
Return to the
libreboot_srcfolder. Find this line in thebuildfile:# move those into coreboot directory: mv grub.elf ../coreboot -
Edit the
./buildscript to move thevgabios.binfile 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_binfolder above.