Enable SOTA for supported architectures
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_raspberrypi3.inc
index 24077f0..23e71b6 100644 (file)
@@ -1,6 +1,5 @@
-#GPU_MEM = "512"
-# Increase GPU_MEM for AGL apps (navi/poi)
-GPU_MEM = "640"
+# Maximum memory allowed to be assigned
+GPU_MEM = "255"
 
 ENABLE_CMA = "1"
 CMA_LWM = "16"
@@ -10,8 +9,8 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
 
 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
 
+KERNEL_IMAGETYPE = "uImage"
 KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
-KERNEL_IMAGETYPE_sota = "uImage"
 PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
 PREFERRED_VERSION_mesa = "12.%"
 
@@ -31,4 +30,6 @@ 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
+# Build updatable image. Only takes effect when sota.bbclass is inherited
+DISTRO_FEATURES_append = " sota"
+