From: Jan-Simon Möller Date: Fri, 23 Sep 2016 18:22:54 +0000 (+0200) Subject: Update rpi templates after recipe update X-Git-Tag: chinook_3.0.0~129 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=89fe4b9629ef7b92453e3110469c4b93d35c5d00;p=AGL%2Fmeta-agl.git Update rpi templates after recipe update This integrates the changes mentioned in the wiki https://wiki.automotivelinux.org/agl-distro/agl-raspberrypi?rev=1474470047 so we can simplify it to a simple '-m raspberrypi2' or '-m raspberrypi3'. The license whitelist is commented-out for now. Change-Id: I77a5bd97c9b671c3a4da78482ca70f68e08e4877 Signed-off-by: Jan-Simon Möller --- diff --git a/templates/machine/raspberrypi2/50_local.conf.inc b/templates/machine/raspberrypi2/50_local.conf.inc index 343768e91..0739defbd 100644 --- a/templates/machine/raspberrypi2/50_local.conf.inc +++ b/templates/machine/raspberrypi2/50_local.conf.inc @@ -1,2 +1,20 @@ MACHINE = "raspberrypi2" +GPU_MEM = "128" + +CORE_IMAGE_EXTRA_INSTALL += "wayland weston" + +MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2" +IMAGE_CLASSES = "sdcard_image-rpi-gdp" +KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb" +PREFERRED_VERSION_linux-raspberrypi = "4.4.%" +PREFERRED_VERSION_mesa = "11.%" + +PREFERRED_PROVIDER_virtual/egl = "mesa" +PREFERRED_PROVIDER_virtual/libgles2 = "mesa" +PREFERRED_PROVIDER_virtual/libgl = "mesa" +PREFERRED_PROVIDER_virtual/mesa = "mesa" +PREFERRED_PROVIDER_jpeg = "jpeg" + +# For libomxil +#LICENSE_FLAGS_WHITELIST = "commercial" diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc index cfdd0299d..f6bb6e526 100644 --- a/templates/machine/raspberrypi3/50_local.conf.inc +++ b/templates/machine/raspberrypi3/50_local.conf.inc @@ -1,2 +1,20 @@ MACHINE = "raspberrypi3" +GPU_MEM = "128" + +CORE_IMAGE_EXTRA_INSTALL += "wayland weston" + +MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2" +IMAGE_CLASSES = "sdcard_image-rpi-gdp" +KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb" +PREFERRED_VERSION_linux-raspberrypi = "4.4.%" +PREFERRED_VERSION_mesa = "11.%" + +PREFERRED_PROVIDER_virtual/egl = "mesa" +PREFERRED_PROVIDER_virtual/libgles2 = "mesa" +PREFERRED_PROVIDER_virtual/libgl = "mesa" +PREFERRED_PROVIDER_virtual/mesa = "mesa" +PREFERRED_PROVIDER_jpeg = "jpeg" + +# For libomxil +#LICENSE_FLAGS_WHITELIST = "commercial"