aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-09-19 11:49:55 +0300
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-09-20 18:10:06 +0200
commit0bf6309c466853849c287db1100ccdad5985ed2b (patch)
tree49f20ac85fb1d85c366c253eee1b2fc4bedbc615
parent6a8b3b0229189e9536bbf80850016baa4c97ca7f (diff)
raspberrypi*/50_local.conf.inc: Set Mesa version
Use Mesa 18.1 for Raspberry Pi 3 and Mesa 19.1 for Raspberry Pi 4. With the older version of Mesa Weston and the home screen doesn't launch properly on Raspberry Pi 4 therefore version 19.1 has been ported from master branch of layer openembedded-core to layer meta-agl-bsp/meta-raspberrypi. This solution is temporary until the next major update of AGL from Yocto Project release Thud to a newer release. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: I7b3d87a42c6e65014705d98bfbd8ebdabb48eadd Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r--templates/machine/raspberrypi3/50_local.conf.inc4
-rw-r--r--templates/machine/raspberrypi4/50_local.conf.inc3
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc
index e47637178..dcaf5e9d4 100644
--- a/templates/machine/raspberrypi3/50_local.conf.inc
+++ b/templates/machine/raspberrypi3/50_local.conf.inc
@@ -1,3 +1,7 @@
MACHINE = "raspberrypi3"
#see meta-agl/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
require conf/include/agl_raspberrypi3.inc
+
+# Set appropriate version of Mesa for Raspberry Pi 3 and
+# ignore the newer version with has been added for Raspberry Pi 4
+PREFERRED_VERSION_mesa_raspberrypi3 = "18.1%"
diff --git a/templates/machine/raspberrypi4/50_local.conf.inc b/templates/machine/raspberrypi4/50_local.conf.inc
index 3dd12fa19..27a8bf2af 100644
--- a/templates/machine/raspberrypi4/50_local.conf.inc
+++ b/templates/machine/raspberrypi4/50_local.conf.inc
@@ -3,3 +3,6 @@ MACHINE = "raspberrypi4"
require conf/include/agl_raspberrypi3.inc
PREFERRED_VERSION_linux-raspberrypi_raspberrypi4 = "4.19%"
+
+# Set appropriate version of Mesa for Raspberry Pi 4
+PREFERRED_VERSION_mesa_raspberrypi4 = "19.1%"