diff options
Diffstat (limited to 'meta/classes-recipe/baremetal-image.bbclass')
-rw-r--r-- | meta/classes-recipe/baremetal-image.bbclass | 5 |
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" | |||
86 | QB_DTB ?= "" | 86 | QB_DTB ?= "" |
87 | QB_OPT_APPEND:append = " -nographic" | 87 | QB_OPT_APPEND:append = " -nographic" |
88 | 88 | ||
89 | # QEMU x86 requires an .elf kernel to boot rather than a .bin | ||
90 | QB_DEFAULT_KERNEL:qemux86 ?= "${IMAGE_LINK_NAME}.elf" | ||
91 | # QEMU x86-64 refuses to boot from -kernel, needs a multiboot compatible image | ||
92 | QB_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 |
91 | QB_DEFAULT_BIOS:qemuriscv64 = "" | 96 | QB_DEFAULT_BIOS:qemuriscv64 = "" |