summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/baremetal-image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-recipe/baremetal-image.bbclass')
-rw-r--r--meta/classes-recipe/baremetal-image.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes-recipe/baremetal-image.bbclass b/meta/classes-recipe/baremetal-image.bbclass
index 513155e9ae..70791f999a 100644
--- a/meta/classes-recipe/baremetal-image.bbclass
+++ b/meta/classes-recipe/baremetal-image.bbclass
@@ -86,6 +86,11 @@ QB_DEFAULT_FSTYPE ?= "bin"
86QB_DTB ?= "" 86QB_DTB ?= ""
87QB_OPT_APPEND:append = " -nographic" 87QB_OPT_APPEND:append = " -nographic"
88 88
89# QEMU x86 requires an .elf kernel to boot rather than a .bin
90QB_DEFAULT_KERNEL:qemux86 ?= "${IMAGE_LINK_NAME}.elf"
91# QEMU x86-64 refuses to boot from -kernel, needs a multiboot compatible image
92QB_DEFAULT_FSTYPE:qemux86-64 ?= "iso"
93
89# RISC-V tunes set the BIOS, unset, and instruct QEMU to 94# RISC-V tunes set the BIOS, unset, and instruct QEMU to
90# ignore the BIOS and boot from -kernel 95# ignore the BIOS and boot from -kernel
91QB_DEFAULT_BIOS:qemuriscv64 = "" 96QB_DEFAULT_BIOS:qemuriscv64 = ""