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>
MACHINE = "raspberrypi3"
#see meta-agl/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
require conf/include/agl_raspberrypi3.inc
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%"
require conf/include/agl_raspberrypi3.inc
PREFERRED_VERSION_linux-raspberrypi_raspberrypi4 = "4.19%"
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%"