From: Leon Anavi Date: Thu, 19 Sep 2019 08:49:55 +0000 (+0300) Subject: raspberrypi*/50_local.conf.inc: Set Mesa version X-Git-Tag: 8.99.1~42 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=29524516a4aca63fcace01b521e863cbf01dbc61;p=AGL%2Fmeta-agl.git 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 Change-Id: I7b3d87a42c6e65014705d98bfbd8ebdabb48eadd Signed-off-by: Leon Anavi --- 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%"