Dasharo firmware building guide¶
Intro¶
This guide shows how to build Dasharo firmware compatible with ASRock Rack TURIND8UD-2T/X550.
Two firmware variants are available:
- coreboot+LinuxBoot: coreboot with LinuxBoot payload and u-root userland. Does not feature a setup menu. Compatible with Linux-based operating systems.
- coreboot+UEFI: coreboot with TianoCore EDK II as the payload. Exposes a standard UEFI boot loader and setup menu. Can boot UEFI-compatible OSes.
Requirements¶
- Docker
- Git
sudo apt-get install git
Building¶
To build a Dasharo firmware image, first clone the coreboot repository:
git clone https://github.com/Dasharo/coreboot.git
then follow the steps below:
-
To build a specific version checkout to the version's tag. Skip this step otherwise.
cd coreboot git checkout asrock_turind8ud_linuxboot_<version>For example
git checkout asrock_turind8ud_linuxboot_v0.9.0cd coreboot git checkout asrock_turind8ud_uefi_<version>For example
git checkout asrock_turind8ud_uefi_v0.9.0 -
Checkout submodules:
git submodule update --init --checkout -
Download the package with necessary blobs and put it in proper directory:
Now build the firmware:
./build.sh asrock_turind8ud_linuxboot
The resulting coreboot image will be placed in the coreboot directory as
asrock_turind8ud_linuxboot_<version>.rom.
./build.sh asrock_turind8ud_uefi
The resulting coreboot image will be placed in the coreboot directory as
asrock_turind8ud_uefi_<version>.rom.