blob: b4a20fe58c398c0396f7c965bac1a57fbd69da80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# 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"
|