X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-bsp%2Fconf%2Finclude%2Fagl_raspberrypi2.inc;h=2cd9ec2a9bdf8bf37d82939d11bf26d02f474a7c;hb=84a229c05b5ff760fe64f74cb3c4f71e6c5b8188;hp=da4a02a5e41f585a4a2bcee3739173ab5fba6a31;hpb=8807f8e2268ee5297fac4f82e24bff8ba03e43c1;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 da4a02a5e..2cd9ec2a9 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi2.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi2.inc @@ -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,6 +9,7 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston" MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2" +KERNEL_IMAGETYPE = "Image" KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb" PREFERRED_VERSION_linux-raspberrypi = "4.4.%" PREFERRED_VERSION_mesa = "12.%" @@ -30,4 +30,11 @@ IMAGE_INSTALL_append = " kernel-modules linux-firmware " # Psplash causes crash on first boot on RPi IMAGE_FEATURES_remove = "splash" -require conf/include/local/sota_raspberrypi.inc +# Build updatable image. Only takes effect when sota.bbclass is inherited +DISTRO_FEATURES_append = " sota" + +# Add the custom rpi-sdimg output format +AGL_EXTRA_IMAGE_FSTYPES_append = " rpi-sdimg.xz" + +# Use the AGL default ext4.xz to generate the rpi-sdimg +SDIMG_ROOTFS_TYPE = "ext4.xz"