aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machine/raspberrypi3/50_local.conf.inc
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-11 22:44:09 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-12 01:26:05 +0000
commit2d5266b3503f25ed1bfc947b38acaf021f44d896 (patch)
tree0af6f057a8da09ec9945fa058ddad26b4dcffaa3 /templates/machine/raspberrypi3/50_local.conf.inc
parent0484530bd7f31c6b7e9d350a57d9a082a48eed97 (diff)
Improve configuration file for rpi2 and rpi3 for morty.
Change-Id: I3683edc0638f1ceda0c53d96532276aafb3633fc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'templates/machine/raspberrypi3/50_local.conf.inc')
-rw-r--r--templates/machine/raspberrypi3/50_local.conf.inc22
1 files changed, 14 insertions, 8 deletions
diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc
index 64c9768fa..e7f932d9b 100644
--- a/templates/machine/raspberrypi3/50_local.conf.inc
+++ b/templates/machine/raspberrypi3/50_local.conf.inc
@@ -11,13 +11,6 @@ CMA_HWM = "32"
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 = " image_types_uboot 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"
@@ -30,8 +23,21 @@ PREFERRED_PROVIDER_virtual/libgl = "mesa"
PREFERRED_PROVIDER_virtual/mesa = "mesa"
PREFERRED_PROVIDER_jpeg = "jpeg"
-UBOOT_MACHINE_sota = "rpi_3_32b_defconfig"
+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
+
+KERNEL_IMAGETYPE_sota = "uImage"
PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot"
+UBOOT_MACHINE_sota = "rpi_3_32b_defconfig"
+
# For libomxil
#LICENSE_FLAGS_WHITELIST = "commercial"