summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2021-11-04Prepare master for new framework integrationJan-Simon Moeller1-1/+0
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - meta-agl-core: remove Smack kernel patches - meta-app-framework - meta-pipewire/dynamic-layers/meta-app-framework/ v2: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Icdaeadfb5d2193f3a4c535168c88da6073423e67 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26752
2021-10-29[RCAR] Add missing dependency on waylandRonan Le Martret1-0/+2
* Previous RCAR BSP provides lib /usr/lib/libpvrWAYLAND_WSEGL.so inside package gles-user-module. Now libpvrWAYLAND_WSEGL.so is in an independent package name wayland-wsegl. Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I8d7a41332bd6f15394002e3da4d9fdc5f5d3c1f5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26705 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-10-29[RCAR] Add missing build dependency for wayland-wseglRonan Le Martret1-0/+1
Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I220384fb2112b5eaf15fdc7a69f39fa138079f50 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26704 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-08-23Convert to new override syntaxScott Murray2-7/+7
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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-10-15[RCAR] Fix smack rule for pvr deviceRonan Le Martret1-0/+5
The GL driver needs to access to the powervr sync device /dev/pvr_sync (provided by gles-user-module). If a graphic application wants access to display (SupplementaryGroups=display), and so GL access, the ACL on /dev/pvr_sync must have: - a smack label "*" - a dac (group display) m3ulcb:~# ls -lZ /dev/pvr_sync crw-rw----. 1 root display * 10, 59 Jun 29 03:06 /dev/pvr_sync Bug-AGL: [SPEC-3617] Change-Id: Ia6472424ac07c60a5c16cb6f48174481e8dd759d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25415 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-08-25Revert "meta-rcar-gen3: fix rc.pvr weston dependency"jellyfish_9.99.3jellyfish/9.99.39.99.3Ronan Le Martret1-7/+0
Bug-AGL: SPEC-3516 This reverts commit fa4a9da20cbfe75e3bc260974c14f853d0733851. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ib6d07ccd0a858251dbcaba195ed0ad9c77abf2e2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25070 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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>
2020-07-14meta-rcar-gen3: fix rc.pvr weston dependencyScott Murray1-0/+7
Add a do_install_append to fix rc.pvr systemd unit weston dependency, it needs to be weston@.service to work with YP dunfell / 3.1. Bug-AGL: SPEC-3380, SPEC-3443 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5f2a6d858c09812ab06e7a1a572fdd96801a8269 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25012 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> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
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-07-07Add driver control checksumJan-Simon Moeller3-0/+3
Port of https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=9e58bd97144ab56a7858c6cd2206d3bd793bb09e Original commit message: * As the driver files come from out of git repository, we need to check driver file integrity. FormerChange-Id: I46f2a281f8da1ae606e8ae1ee55324fd5fd9b772 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Bug-AGL: SPEC-3443 Change-Id: If8cb040cae4ca227b883f4cdf250e3afec503976 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24909 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>
2019-03-25[RCAR] Fixed missing definition about virtual/eglHarunobu Kurokawa1-1/+1
Sometimes, libepoxy has an error during do_configure. PREFERRED_PROVIDER_virtual/egl definition in agl_m3ulcb was changed to virtual-gles-user-module from libegl. To fix this missing dependency, add virtual/egl definition in virtual-gles-user-module. ------ checking for egl... no configure: error: Package requirements (egl) were not met: No package 'egl' found ------ Change-Id: Ia6915af2a8babbbd3353513cc2c115387f6e178c Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
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-09-15Create virtual-gles-user-module recipesRonan Le Martret1-0/+7
* fix recipe-sysroot build dependency Change-Id: I59285efd0894592d23c9114e08dc923e168f03db Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10917 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-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-19[rcar-gen3] Remove mesa backportRonan Le Martret4-242/+0
* as Renesas rcar gen3 v2.16 do not use mesa recipes (.bbappend) 10.6.3, we do not need to maintain this recipes. Bug-AGL: SPEC-471 Bug-AGL: SPEC-419 Change-Id: I80582d725bec71931d8d5fbf83fe3e0b29381592 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>
2017-01-16hard revert on mesa from the atticRonan2-0/+0
* because of a recipes from meta-rcar, we need to keep a mesa_10 recipes (and never use it...) - meta-rcar/meta-rcar-gen3/recipes-graphics/mesa/mesa_10.%.bbappend * a fix was send uptream and waiting intergration ... * waiting pull request: https://github.com/CogentEmbedded/meta-rcar/pull/9 Change-Id: Ia6bb84892f2a12ec5f8a4d4f3c5c70f60c7fa569 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-16Update meta-agl-bsp for 'Daring Dab'Jan-Simon Möller2-0/+0
This changeset removes unused or old/stale files from the meta-agl-bsp layer before the 'Daring Dab' development cycle starts. Change-Id: I9df5841bb65545a435637d1067df573506f4cb02 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10fix mesa version for yocto mortyRonan2-0/+43
Change-Id: I6ef9fb754a2d71aff1eae78ffde40c45a86362b5 Signed-off-by: Ronan <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>
2016-11-14meta-agl-bsp: backport: mesa v10.6.3 recipeYannick Gicquel2-0/+199
This is a backport from Jethro as meta-rcar-gen3 append on this package. v2 (jsmoeller): Move underneath meta-rcar-gen3 as it only affects that layer. Change-Id: I1c9f94346da919530c359b471429fad9b1b2c661 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>