summaryrefslogtreecommitdiffstats
path: root/templates/machine/raspberrypi3/50_local.conf.inc
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-10-28 12:45:15 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-10-28 18:29:38 +0000
commit202d801eb83c456ee44a15ccf6142e7d23a80cbc (patch)
tree344dee75fc3a300f2375162d7f43370842fe716d /templates/machine/raspberrypi3/50_local.conf.inc
parentdfa42832d3239b1aa687b853fef63a5aa057a4fc (diff)
Move machine-dependent sota configuration to machine templates
Change-Id: Icb03b2163d7e36a54f27bee78570240c5d337107 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'templates/machine/raspberrypi3/50_local.conf.inc')
-rw-r--r--templates/machine/raspberrypi3/50_local.conf.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc
index a308e40e7..466886938 100644
--- a/templates/machine/raspberrypi3/50_local.conf.inc
+++ b/templates/machine/raspberrypi3/50_local.conf.inc
@@ -7,7 +7,14 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
IMAGE_CLASSES += "sdcard_image-rpi-gdp"
IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
+IMAGE_CLASSES_append_sota = " sdcard_image-rpi-ota"
+IMAGE_CLASSES_remove_sota = " sdcard_image-rpi-gdp"
+IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota ', '', d)}"
+IMAGE_FSTYPES_remove_sota = "rpi-sdimg"
+IMAGE_FSTYPES_remove_sota = "rpi-sdimg"
+
KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
+KERNEL_IMAGETYPE_sota = "uImage"
PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
PREFERRED_VERSION_mesa = "11.%"
@@ -17,5 +24,7 @@ PREFERRED_PROVIDER_virtual/libgl = "mesa"
PREFERRED_PROVIDER_virtual/mesa = "mesa"
PREFERRED_PROVIDER_jpeg = "jpeg"
+UBOOT_MACHINE_sota = "rpi_3_32b_defconfig"
+PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot"
# For libomxil
#LICENSE_FLAGS_WHITELIST = "commercial"