Skip to content

Dasharo for NovaCustom NS5X - Building manual

Intro

This documents describes the procedure for compiling coreboot for NovaCustom NS5X.

Requirements

Procedure

The easiest way to build coreboot is to use the official Docker image.

Obtain the image:

$ docker pull coreboot/coreboot-sdk:0ad5fbd48d

Clone the coreboot repository:

$ git clone https://review.coreboot.org/coreboot.git

Checkout to the desired Dasharo revision:

Replace the REVISION with one of the: - novacustom_ns5x/release for the latest released version - novacustom_ns5x_vVERSION (e.g. v1.0.0) for the given release

$ cd coreboot
$ git remote add dasharo https://github.com/dasharo/coreboot.git
$ git submodule update --init --recursive --checkout
$ git fetch dasharo
$ git checkout REVISION

Build the firmware:

$ ./build.sh build

The resulting coreboot image will be placed in artifacts/dasharo_novacustom_ns5x_VERSION.rom.

Warning: Do not run ./build.sh as root. This command uses docker and should be executed as your current user. If you're having trouble running build.sh on your user account, follow the Docker instructions outlined in Requirements.