summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_raspberrypi2.inc
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-23 19:16:55 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-23 19:17:45 +0000
commit61bf6803fdce1cac3f6cb5c7fabe2e5fe81d5450 (patch)
tree1fc9f679470042b5005052591d01a1958b71fe9c /meta-agl-bsp/conf/include/agl_raspberrypi2.inc
parent521815fa95dba3d47704b62b4b6911fc994ad4c8 (diff)
Revert "Switch to meta-updater" - waiting for main commit to be updated.
This reverts commit 521815fa95dba3d47704b62b4b6911fc994ad4c8. Change-Id: I06e2ed97e2ea7897ccdee09aeec277c8a75ccfa0 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9187
Diffstat (limited to 'meta-agl-bsp/conf/include/agl_raspberrypi2.inc')
-rw-r--r--meta-agl-bsp/conf/include/agl_raspberrypi2.inc17
1 files changed, 15 insertions, 2 deletions
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"