mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
c3f729252f
commit
d82cc67a23
|
@ -1,10 +1,8 @@
|
||||||
# For a Xen-enabled distro on the Raspberry Pi, override the contents of cmdline.txt
|
# For a Xen-enabled distro on the Raspberry Pi, override the contents of cmdline.txt
|
||||||
# with Xen-on-ARM-specific command line options
|
# 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)}"
|
|
||||||
|
|
||||||
KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
|
KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
|
||||||
KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
|
KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
|
||||||
COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
|
COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
|
||||||
|
|
||||||
|
require linux-yocto_xen-rpi.inc
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Enable use of the linux-yocto 5.10 kernel for the Raspberry Pi 4
|
||||||
|
KBRANCH_raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
|
||||||
|
KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
|
||||||
|
COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
|
||||||
|
|
||||||
|
require linux-yocto_xen-rpi.inc
|
|
@ -0,0 +1,6 @@
|
||||||
|
# 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)}"
|
Loading…
Reference in New Issue
Block a user