Skip to content

Building manual

Intro

This documents describes the procedure for compiling Dasharo firmware for QEMU Q35.

Requirements

Alternatively Fedora can be used instead of Ubuntu by following the same steps except: Install Docker Engine on Fedora

sudo apt install git unzip wget

Procedure

Obtain Dasharo source code:

Replace the REVISION with one of the:

  • qemu_q35_vVERSION (e.g. qemu_q35_v0.1.0) for the given release
  • qemu_q35_vVERSION-rcN (e.g. qemu_q35_v0.1.0-rc1) for the given release candidate

Clone Dasharo coreboot fork:

git clone https://github.com/Dasharo/coreboot.git -b REVISION --depth 1

Change directory:

cd coreboot

Compile:

./build.sh qemu

The resulting coreboot image will be placed in the current directory as qemu_q35_<version>.rom.

Initial Deployment

Now you can proceed with initial deployment scenario according to your needs: