From: Dominig ar Foll (Intel Open Source) Date: Mon, 9 Oct 2017 12:24:48 +0000 (+0200) Subject: adding eGalax screen support for demo X-Git-Tag: 4.99.1~7 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=f970319c6d4a2ecf6044ab3b2ef8f0d5f5c3471c;hp=8967fdebd5b55c177972bb088997b58ead2cc283;p=AGL%2Fmeta-agl.git adding eGalax screen support for demo Change-Id: I4e483052a88faebf21a50515b275326628731930 Signed-off-by: Dominig ar Foll (Intel Open Source) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend new file mode 100644 index 000000000..fb3f1ac32 --- /dev/null +++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -0,0 +1,8 @@ +# Select default screen type and orientation +# and only one default output + +# Note when such change is applied it will not be taken due to a Yocto cache error +# Fix: +# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate + +WESTONOUTPUT1[agl_screen] = "SCREEN_eGalax" diff --git a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf index eb30a9a96..ec658ce7d 100644 --- a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf +++ b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf @@ -1,5 +1,9 @@ #Generate a weston.ini file: +# WARNING Due to a bug in Yocto cache, changes in related bbappand are not detected +# Work-around: +# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate + To generate the weston.ini file: ''' diff --git a/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc new file mode 100644 index 000000000..4d3649f13 --- /dev/null +++ b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc @@ -0,0 +1,2 @@ +SCREEN_eGalax[name] ?= "HDMI-A-1" +SCREEN_eGalax[transform] ?= "90"