Building manual
Intro
This documents describes the procedure for compiling Dasharo firmware for QEMU Q35.
Requirements
Ubuntu 20.04/21.04/22.04
as a host OS was tested- Internet connection
- Docker installed
- Git, wget, unzip installed
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 releaseqemu_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:
- Dasharo initial deployment if you want to use this image for manual testing or everyday use
- Dasharo validation if you want to use binaries for validation purposes