raspberrypi*/50_local.conf.inc: Set Mesa version 54/22454/1
authorLeon Anavi <leon.anavi@konsulko.com>
Thu, 19 Sep 2019 08:49:55 +0000 (11:49 +0300)
committerLeon Anavi <leon.anavi@konsulko.com>
Thu, 19 Sep 2019 08:57:29 +0000 (11:57 +0300)
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>
templates/machine/raspberrypi3/50_local.conf.inc
templates/machine/raspberrypi4/50_local.conf.inc

index e476371..dcaf5e9 100644 (file)
@@ -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%"
index 3dd12fa..27a8bf2 100644 (file)
@@ -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%"