Home

Awesome

Coreboot Builder scripts

Build Status

Bash scripts and config files to simplify building of Coreboot using the official coreboot-sdk docker image.

BEFORE YOU BEGIN !!!!!

If your device has the stock BIOS installed, you must flash the BIOS chip externally first. I suggest starting with Skulls which makes that first install as painless as possible.

While the compiled Coreboot builds this repo generates can be flashed externally, the intent of this project is to simplify updating an existing Coreboot BIOS.

Usage

./build.sh [-t <TAG>] [-c <COMMIT>] [--config] [--bleeding-edge] [--clean-slate] <model>

  --bleeding-edge              Build from the latest commit
  --clean-slate                Purge previous build directory and config
  -c, --commit <commit>        Git commit hash
  -h, --help                   Show this help
  -i, --config                 Execute with interactive make config
  -t, --tag <tag>              Git tag/version
If a tag, commit or bleeding-edge flag is not given, the latest Coreboot release will be built

Once the build is complete, you will be asked to backup the existing and flash the new rom.

NOTE: Internal flashing can only be complete if Coreboot has already been flashed externally and ifd has been unlocked.

Examples

Configuration

The make configs include

Per device compiling and flashing details