summaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-09-19 11:49:55 +0300
committerLeon Anavi <leon.anavi@konsulko.com>2019-09-19 11:57:29 +0300
commit29524516a4aca63fcace01b521e863cbf01dbc61 (patch)
tree33a541851732ac2a8892dd6e98e808ccf0ae5565 /templates/machine
parent4fddfd6871c5ad0effac23ff69014250c6f24879 (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>
Diffstat (limited to 'templates/machine')
-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%"