diff options
Diffstat (limited to 'conf/distro/include/meta-virt-xen.inc')
-rw-r--r-- | conf/distro/include/meta-virt-xen.inc | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/conf/distro/include/meta-virt-xen.inc b/conf/distro/include/meta-virt-xen.inc index b61f612a..5fbb57f8 100644 --- a/conf/distro/include/meta-virt-xen.inc +++ b/conf/distro/include/meta-virt-xen.inc @@ -1,16 +1,15 @@ # Make sure Xen mode is enabled in qemu -PACKAGECONFIG_append_pn-qemu = " xen" +PACKAGECONFIG:append:pn-qemu = " xen" # For builds for ARM platforms, enable fdt -PACKAGECONFIG_append_pn-qemu_arm = " fdt" -PACKAGECONFIG_append_pn-qemu_aarch64 = " fdt" +PACKAGECONFIG:append:pn-qemu:arm = " fdt" +PACKAGECONFIG:append:pn-qemu:aarch64 = " fdt" -# Raspberry Pi settings -# - Xen uses u-boot for configuration and uses the uart -RPI_USE_U_BOOT = "1" -ENABLE_UART = "1" -# Build the bootable SD card image -IMAGE_CLASSES_append_raspberrypi4-64 = " sdcard_image-rpi-xen" -IMAGE_FSTYPES_append_raspberrypi4-64 = " rpi-xen-sdimg" -# Align kernel version with current meta-virtualization kernel version -PREFERRED_VERSION_linux-raspberrypi ?= "5.4.%" +# Xen on Raspberry Pi 4 64-bit support +XEN_RPI4_64_CONFIG_PATH ??= \ + 'dynamic-layers/raspberrypi/conf/distro/include/xen-raspberrypi4-64.inc' +include ${@bb.utils.contains('MACHINE', 'raspberrypi4-64', \ + '${XEN_RPI4_64_CONFIG_PATH}', '', d)} + +# Set serial for working qemuboot console +SERIAL_CONSOLES:qemuarm64 ?= "115200;ttyAMA0" |