Skip to content

Commit 0d5fae3

Browse files
slpbonzini
authored andcommitted
roms: add microvm-bios (qboot) as binary and git submodule
qboot is a minimalist x86 firmware for booting Linux kernels. It does the mininum amount of work required for the task, and it's able to boot both PVH images and bzImages without relying on option roms. This characteristics make it an ideal companion for the microvm machine type. Signed-off-by: Sergio Lopez <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]>
1 parent 78cafff commit 0d5fae3

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@
5858
[submodule "roms/opensbi"]
5959
path = roms/opensbi
6060
url = https://git.qemu.org/git/opensbi.git
61+
[submodule "roms/qboot"]
62+
path = roms/qboot
63+
url = https://github.com/bonzini/qboot

pc-bios/bios-microvm.bin

64 KB
Binary file not shown.

roms/Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ default help:
6767
@echo " opensbi32-virt -- update OpenSBI for 32-bit virt machine"
6868
@echo " opensbi64-virt -- update OpenSBI for 64-bit virt machine"
6969
@echo " opensbi64-sifive_u -- update OpenSBI for 64-bit sifive_u machine"
70+
@echo " bios-microvm -- update bios-microvm.bin (qboot)"
7071
@echo " clean -- delete the files generated by the previous" \
7172
"build targets"
7273

@@ -186,6 +187,10 @@ opensbi64-sifive_u:
186187
PLATFORM="sifive/fu540"
187188
cp opensbi/build/platform/sifive/fu540/firmware/fw_jump.bin ../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
188189

190+
bios-microvm:
191+
$(MAKE) -C qboot
192+
cp qboot/bios.bin ../pc-bios/bios-microvm.bin
193+
189194
clean:
190195
rm -rf seabios/.config seabios/out seabios/builds
191196
$(MAKE) -C sgabios clean
@@ -198,3 +203,4 @@ clean:
198203
$(MAKE) -C skiboot clean
199204
$(MAKE) -f Makefile.edk2 clean
200205
$(MAKE) -C opensbi clean
206+
$(MAKE) -C qboot clean

roms/qboot

Submodule qboot added at cb1c49e

0 commit comments

Comments
 (0)