blob: 2c8ef0b076d3436883baf8bc3149af12e103c722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Make sure Xen mode is enabled in qemu
PACKAGECONFIG_append_pn-qemu = " xen"
# For builds for ARM platforms, enable fdt
PACKAGECONFIG_append_pn-qemu_arm = " fdt"
PACKAGECONFIG_append_pn-qemu_aarch64 = " fdt"
# Raspberry Pi settings
# - Xen guest console
KERNEL_CONSOLE = "hvc0"
SERIAL_CONSOLES = "115200;hvc0"
# - 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.%"
|