diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-08-07 00:04:59 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-08-11 15:58:37 -0400 |
commit | b34307e2f49649aca2f455de8c2ed48eee101138 (patch) | |
tree | f04005385ab821aaf7edc4f50bc7cfc5b0f4bf3e /conf | |
parent | 62a39b48a8c48c6eae1ad889c0f7a935221fe010 (diff) | |
download | meta-virtualization-b34307e2f49649aca2f455de8c2ed48eee101138.tar.gz |
xen: retire the Raspberry Pi sdcard class
The sdcard class in the meta-raspberrypi layer is now extensible with
support for adding files such as hypervisor binaries to the boot
partition, so this layer can switch to use that and drop the custom
sdcard bbclass.
Uses the new RPI_SDIMG_EXTRA_DEPENDS and DEPLOYPAYLOAD variables,
and: IMAGE_CLASS: sdcard_image-rpi-xen => sdcard_image-rpi
IMAGE_FSTYPE: rpi-xen-sdimg => rpi-sdimg
Please note that the filename suffix of the image is changed by this.
Also apply _raspberrypi4-64 scoping to the Raspberry Pi settings.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/meta-virt-xen.inc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/conf/distro/include/meta-virt-xen.inc b/conf/distro/include/meta-virt-xen.inc index b61f612a..1ad670ed 100644 --- a/conf/distro/include/meta-virt-xen.inc +++ b/conf/distro/include/meta-virt-xen.inc | |||
@@ -6,11 +6,14 @@ PACKAGECONFIG_append_pn-qemu_arm = " fdt" | |||
6 | PACKAGECONFIG_append_pn-qemu_aarch64 = " fdt" | 6 | PACKAGECONFIG_append_pn-qemu_aarch64 = " fdt" |
7 | 7 | ||
8 | # Raspberry Pi settings | 8 | # Raspberry Pi settings |
9 | # - Xen uses u-boot for configuration and uses the uart | 9 | # Xen uses u-boot for configuration and uses the uart |
10 | RPI_USE_U_BOOT = "1" | 10 | RPI_USE_U_BOOT_raspberrypi4-64 = "1" |
11 | ENABLE_UART = "1" | 11 | ENABLE_UART_raspberrypi4-64 = "1" |
12 | # Build the bootable SD card image | 12 | # Build the bootable SD card image |
13 | IMAGE_CLASSES_append_raspberrypi4-64 = " sdcard_image-rpi-xen" | 13 | IMAGE_CLASSES_append_raspberrypi4-64 = " sdcard_image-rpi" |
14 | IMAGE_FSTYPES_append_raspberrypi4-64 = " rpi-xen-sdimg" | 14 | IMAGE_FSTYPES_append_raspberrypi4-64 = " rpi-sdimg" |
15 | # Add Xen to the bootable SD card image | ||
16 | RPI_SDIMG_EXTRA_DEPENDS_append_raspberrypi4-64 = " xen:do_deploy" | ||
17 | DEPLOYPAYLOAD_raspberrypi4-64 = "xen-${MACHINE}:xen" | ||
15 | # Align kernel version with current meta-virtualization kernel version | 18 | # Align kernel version with current meta-virtualization kernel version |
16 | PREFERRED_VERSION_linux-raspberrypi ?= "5.4.%" | 19 | PREFERRED_VERSION_linux-raspberrypi ?= "5.4.%" |