X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-bsp%2Fconf%2Finclude%2Fagl_raspberrypi2.inc;h=7250f5c22e3d0aa23e543432bba9fa3e8f711999;hb=refs%2Fchanges%2F87%2F9187%2F2;hp=24077f02a9f3a6d0861349bd35680e65418de780;hpb=521815fa95dba3d47704b62b4b6911fc994ad4c8;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi2.inc b/meta-agl-bsp/conf/include/agl_raspberrypi2.inc index 24077f02a..7250f5c22 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi2.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi2.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_2_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"