mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
use qboot for the bios in tiny config
This commit is contained in:
parent
a6696d991e
commit
e6c2ff5fa1
1
Makefile
1
Makefile
@ -388,6 +388,7 @@ endef
|
||||
|
||||
# Only some modules have binaries that we install
|
||||
# Shouldn't this be specified in the module file?
|
||||
bin_modules-$(CONFIG_QBOOT) += qboot
|
||||
bin_modules-$(CONFIG_KEXEC) += kexec
|
||||
bin_modules-$(CONFIG_TPMTOTP) += tpmtotp
|
||||
bin_modules-$(CONFIG_PCIUTILS) += pciutils
|
||||
|
@ -6,6 +6,8 @@ export CONFIG_COREBOOT=n
|
||||
#CONFIG_LINUXBOOT_BOARD=qemu
|
||||
CONFIG_LINUX_CONFIG=config/linux-tiny.config
|
||||
|
||||
CONFIG_QBOOT=y
|
||||
|
||||
ifeq "$(CONFIG_UROOT)" "y"
|
||||
CONFIG_BUSYBOX=n
|
||||
else
|
||||
@ -41,6 +43,7 @@ run:
|
||||
--serial /dev/tty \
|
||||
--device virtio-net,netdev=net0 \
|
||||
--netdev user,id=net0,hostfwd=tcp::5555-:22 \
|
||||
--bios $(build)/qboot-git/bios.bin \
|
||||
--kernel $(build)/$(BOARD)/bzImage \
|
||||
--initrd $(build)/$(BOARD)/initrd.cpio.xz
|
||||
stty sane
|
||||
|
22
modules/qboot
Normal file
22
modules/qboot
Normal file
@ -0,0 +1,22 @@
|
||||
modules-$(CONFIG_QBOOT) += qboot
|
||||
|
||||
qboot_depends := $(musl_dep)
|
||||
|
||||
qboot_version := git
|
||||
qboot_repo := https://github.com/bonzini/qboot
|
||||
|
||||
#qboot_version := 0.3.0
|
||||
qboot_dir := qboot-$(qboot_version)
|
||||
qboot_tar := qboot-$(qboot_version).tar.gz
|
||||
qboot_url :=
|
||||
qboot_hash :=
|
||||
|
||||
# something is wrong with musl-gcc compiling qboot
|
||||
# use the system gcc, which isn't great
|
||||
qboot_target := \
|
||||
|
||||
qboot_output := bios.bin
|
||||
|
||||
qboot_libraries :=
|
||||
|
||||
qboot_configure :=
|
Loading…
Reference in New Issue
Block a user