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.

  1. From libreboot_src , enter the resources/libreboot/config/t60 folder. Edit the config 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.
  1. Return to the libreboot_src folder. Find this line in the build file:

     # move those into coreboot directory:
     mv grub.elf ../coreboot
    
  2. Edit the ./build script to move the vgabios.bin file over to ../coreboot .

     # move those into coreboot directory:
     cp -f vgabios.bin ../coreboot
    
  3. Now that all the mods have been made, run ./build.

     ./build
    
  4. The roms will be created and put in the libreboot_bin folder above.