meta-virtualization/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_xen-rpi.inc
Christopher Clark d82cc67a23 xen, rpi4, linux-yocto: enable linux-yocto 5.10 for RPi4
Added to the raspberrypi dynamic layer for use with Xen as
preparation for switching to it as the default preference.

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-29 23:05:11 -04:00

7 lines
381 B
C++

# For a Xen-enabled distro on the Raspberry Pi, override the contents of cmdline.txt
# with Xen-on-ARM-specific command line options
DEFAULT_CMDLINE := "${CMDLINE}"
XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
CMDLINE = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_LINUX_CMDLINE}', '${DEFAULT_CMDLINE}', d)}"