aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-09-23 20:22:54 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-09-26 02:04:04 +0000
commit89fe4b9629ef7b92453e3110469c4b93d35c5d00 (patch)
tree826be018778c6c1de056c9f2ed8e46147e1db356 /templates/machine
parent8741f9087d6f707321f9b87c667c62fd507e22bb (diff)
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 <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'templates/machine')
-rw-r--r--templates/machine/raspberrypi2/50_local.conf.inc18
-rw-r--r--templates/machine/raspberrypi3/50_local.conf.inc18
2 files changed, 36 insertions, 0 deletions
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"