diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2022-04-27 17:06:08 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-05-09 08:08:25 -0400 |
commit | 1c746a976830ebaf85c7c8c25612bea349b0a7c5 (patch) | |
tree | 1741629264022f4827da8db1a076a9c0dd927e4d /conf | |
parent | da1e54ca79f49c9c311fe5f74e192e743c4ece20 (diff) | |
download | meta-virtualization-1c746a976830ebaf85c7c8c25612bea349b0a7c5.tar.gz |
qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images
The Xen hypervisor built for Arm 32-bit targets can be launched with
runqemu by providing a u-boot script and configuration for Qemu, which
enables interactive testing of Xen images.
Add qemuboot-xen-u-boot.bbclass to add a new bitbake task for generating
the u-boot script. Since this increases the number of qemuboot-specific
classes that are inherited by the xen-image-minimal recipe, change the
inherit of all of these to only apply to qemu machines with the qemuall
override.
Update qemuboot-xen-defaults.bbclass to supply working default
parameters for the qemuarm machine needed to boot successfully in
testing. Also change all the arch-specific variable overrides into
narrower qemu platform overrides instead to avoid unnecessary
interactions with other Arm platform machines.
Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/meta-virt-xen.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/distro/include/meta-virt-xen.inc b/conf/distro/include/meta-virt-xen.inc index 5fbb57f8..89f98f28 100644 --- a/conf/distro/include/meta-virt-xen.inc +++ b/conf/distro/include/meta-virt-xen.inc | |||
@@ -12,4 +12,5 @@ include ${@bb.utils.contains('MACHINE', 'raspberrypi4-64', \ | |||
12 | '${XEN_RPI4_64_CONFIG_PATH}', '', d)} | 12 | '${XEN_RPI4_64_CONFIG_PATH}', '', d)} |
13 | 13 | ||
14 | # Set serial for working qemuboot console | 14 | # Set serial for working qemuboot console |
15 | SERIAL_CONSOLES:qemuarm ?= "115200;ttyAMA0" | ||
15 | SERIAL_CONSOLES:qemuarm64 ?= "115200;ttyAMA0" | 16 | SERIAL_CONSOLES:qemuarm64 ?= "115200;ttyAMA0" |