aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland
AgeCommit message (Collapse)AuthorFilesLines
2021-01-12meta-agl-core: Revise weston-ini-conf mechanismScott Murray1-8/+11
The recent layer reorganization broke the landscape vs portrait scheme based on bbappend'ing the weston-ini-conf recipe in the previous cluster and html5 demo layers. To fix this and to facilitate being able to easily build the mix of demo platform images, the weston.ini generation mechanism in the weston-ini-conf has been revised to build multiple packages. Instead of relying on SRC_URI to install weston.ini fragments into WORKDIR and grabbing all of them with a *.cfg glob, an explicit list built from new WESTON_FRAGMENTS and WESTON_DISPLAYS variables is used. The fragments listed in WESTON_FRAGMENTS are used to generate both weston-ini-conf and weston-ini-conf-landscape packages containing uniquely named files (weston.ini.default and weston.ini.landscape, respectively), and the OE update-alternatives mechanism is used to have weston.ini point at the appropriate file on installation. For now, the two packages are explicitly marked as incompatible with one another, but this could be tweaked in the future if switching between them on target is desired. Additional notes: - A RPROVIDES of "weston-ini" has been defined for the weston-ini-conf packages and a RDEPENDS on it added to weston-init. This should allow members to drop in a complete alternative solution while still having a dependency chain. - The various meta-agl-bsp bbappends of weston-ini-conf have for the most part been updated to yield the same behavior as before, though with an eye towards using machine overrides to ease multiconfig usage down the road. This includes the currently unused Raspberry Pi touchscreen support, which has been left since it may still see use. - An exception to the above, however, is that the support for the touchscreen on the dra7 EVM has been removed, as upstream dropped the support for the screen on the available test hardware and at present it only seems feasible to support external HDMI monitors. - The unused fbdev fragment used to support meta-freescale in the past has been removed. - The virtual and virtual-landscape fragments have been renamed to virtual-270 and virtual-0 to better indicate the orientation and match the naming used for the other fragments. It is likely that future work will need to split the display enabling and orientation aspects, as the current tying together of the two results in configurations somewhat overly specific to the actual AGL demo systems. Bug-AGL: SPEC-3745 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2a968781182a346c1d483cca4fd7337679e58118 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25860 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-07Revert temp fix of perf build and weston bbappendJan-Simon Moeller1-1/+0
We need to evaluate if and where we need to place the perf fix or if upstream includes it. Likewise for the weston bbappend. Bug-AGL: SPEC-3443 Change-Id: I78fb37bc3b0d4531c70e71d70c6663de1ab0d987 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24911 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-03-18Support Salvator-X/XS boardDuy Dang5-5/+24
Add new machines to build with AGL: - h3-salvator-x-nogfx - h3-salvator-x - m3-salvator-x-nogfx - m3-salvator-x Bug-AGL: SPEC-3169 Change-Id: I0cfa838ad40f8afda01aeb693fbf595bad8b4730 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com>
2019-07-23machine: Add new ebisu machinePierre Marzin2-0/+5
* Add ebisu dependency within renesas bootfiles * Delete rcar ADAS layers support * Add weston video output config * Add missing modules and gst plugin Bug-AGL: SPEC-2564 Change-Id: I61a44f831d0bc55210847eade2a1eacc7599fa74 Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
2018-08-03meta-rcar-gen3: weston-ini-conf: drop v4l2 featureHarunobu Kurokawa2-4/+0
Though R-Car has V4l2 renderer but it is special case. Then it makes no sence to add v4l2 configration into weston.ini file for AGL. Change-Id: Id91be4ce9bcca03126d01e50c587e8d945464f61 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller1-7/+1
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-12-22weston-ini-conf: Disable kingfisher's 2nd and 3rd outputHarunobu Kurokawa2-0/+9
Kingfisher has tree display output, currently AGL use only one output from micro HDMI. Change-Id: Ife61da4bfd2127a49c50247c26d8a7693960d439 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-10-20weston-ini-conf: Rework to use fragments to construct weston.iniTom Rini2-10/+9
Switch to constructing the weston.ini from fragments of files instead of variables and variable flags. This allows for much easier tracking of signatures by leveraging existing mechanisms. Update the Readme to explain how to do the various operations with fragments as well. Note that for QEMU we do not need to pass -show-cursor as it's already provided and we do want to change the VGA driver to one that reliably provides DRM support. For the HDMI connected screens, rather than name them by vendor name them first for connection and then required transformation for correct orientation. For board-specific options, move them to the board directories. When we need to change existing cfg options, rather than replace them the proper location to do this in is the do_configure function. Bug-AGL: SPEC-964 Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-12weston-ini-conf: Make this track variables correctly for signaturesTom Rini1-0/+2
bitbake does not know to track values that are found and used via getVarFlags() without them being otherwise refernced and tracked in ways that are otherwise caught. Further given that we use multiple levels of varflags here we need to be explicit in their tracking. Add all variables that we use to varflags where they are added to the metadata. Bug-AGL: SPEC-939 Change-Id: I32cf16c4354d733e086c6ea9a845934beff94715 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11255 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-12update weston.ini for Renesas Gen3 boardRonan Le Martret1-0/+11
update weston.ini from Renesas rcar Gen3 BSP 2.17 Bug-AGL: SPEC-530 Change-Id: I5577a18cb5707c2484a46d3c91025ad087b6fa1e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret3-27/+1
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-21[rcar-gen3] update weston recipes bbappendRonan Le Martret2-1/+26
- added weston.ini - remove fix on apply fix-touchscreen-crash.patch. this fix is useless for the Renesas rcar gen3 v2.16 Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Iee25aae5c25fcdda6e97181ccba946db938e129f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Renamed weston bbappend recipesRonan Le Martret1-0/+0
Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Icfcc4144385552718cea8ed43d0aa561686188f5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-01Removed touchscreen fix on gen3Ronan Le Martret1-0/+1
* fix-touchscreen-crash.patch is already present in meta-rcar. * need to be backport to CC Change-Id: I66dd246288c243c06f6ee022e07a95abeec10c37 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2016-11-14meta-agl-bsp: meta-rcar-gen3: initial integrationYannick Gicquel1-0/+8
Note: optee-os recipe is disable for the moment. Change-Id: I8881fcc3c794b1cbb479b8e7d61bb86688f78bf9 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>