diff options
Diffstat (limited to 'meta-agl-bsp/conf/include/agl_raspberrypi3.inc')
-rw-r--r-- | meta-agl-bsp/conf/include/agl_raspberrypi3.inc | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc index 24077f02a..a3a84be5f 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc @@ -23,6 +23,20 @@ PREFERRED_PROVIDER_jpeg = "jpeg" MACHINE_FEATURES += "vc4graphics" +### Image classes, fstypes and (S)OTA + +# normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota +IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'image_types_uboot sdcard_image-rpi-ota', 'sdcard_image-rpi-gdp', d)}" + +# normal image is rpi-sdimg, for sota it is rpi-sdimg-ota +IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}" +### both rpi-sdimg and rpi-sdimg-ota broken +IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" + +KERNEL_IMAGETYPE_sota = "uImage" +PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot" +UBOOT_MACHINE_sota = "rpi_3_32b_defconfig" + # For libomxil #LICENSE_FLAGS_WHITELIST = "commercial" @@ -30,5 +44,4 @@ IMAGE_INSTALL_append = " kernel-modules linux-firmware " # Psplash causes crash on first boot on RPi IMAGE_FEATURES_remove = "splash" - -include conf/include/local/sota_raspberrypi.inc +OSTREE_BOOTLOADER ?= "u-boot" |