Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove our usrmerge workarounds since meta-rcar-gen3 now has been
fixed. Also remove now unnecessary workarounds for the "display"
user and weston systemd unit naming.
Bug-AGL: SPEC-4854
Change-Id: Ieaebb24385f9d75eaad012043993dcfc733aa01a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29043
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Current AGL run each process by agl-driver user, that user
need access permission for GPU. The old AGL use display
group to accept access for GPU, but current agl-driver
user join to video group that is default group for GPU.
This patch remove unnecessary group change at
meta-agl-bsp for R-Car.
Bug-AGL : SPEC-4797
Change-Id: Ife20dea685035b336675304a5c6fc292ed83deb6
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28890
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>
|
|
Add a meta-rcar-gen3 specific weston-init bbappend to add the
weston user to the display group. This is preferable to unmasking
the bbappend in upstream meta-rcar-gen3, as we do not want any of
the other changes it contains (or may contain). This change is a
bit of a stopgap required for running weston or agl-compositor as
the weston user without the agl-driver user session unit in e.g.
the agl-image-weston image or the KVM or IC host images.
Future work will try to align the required groups with upstream
systemd-udevd expectations.
Bug-AGL: SPEC-4618
Change-Id: I22e8aaa095114802242fb1ed150dec2a5055fda9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit c1b436f4882737ce0b9a95853954d0f4daab2d86)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28419
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Undo the out of date tweak of rc.pvr.service to make it a dependency
of weston@.service done in meta-rcar-gen3's gles-user-module recipe.
For now, just tweak the dependency back to weston.service in our
bbappend in meta-agl-bsp, this can be removed when meta-rcar-gen3
includes a fix.
Bug-AGL: SPEC-4607
Change-Id: I16ef13d2af9b2ed485ce8b98501f39bf96aba3e2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28133
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
An increasing number of advanced systemd features with respect to
immutable systems and sandboxing are effectively dependent on the
usrmerge distro feature, so it seems reasonable to enable it since
upstream AGL currently requires systemd usage. See SPEC-4352 for
more detailed discussion of rationale.
Changes:
- Add usrmerge to AGL_DEFAULT_DISTRO_FEATURES in poky-agl.conf.
- Add workarounds via bbappends in meta-agl-bsp for the assumption
of using /lib instead of ${nonarch_base_libdir} in various
meta-rcar-gen3 kernel module recipes. This will be followed up
with upstream to hopefully fix the recipes.
- Replaced some explicit /sbin usage with ${sbindir} in the
initramfs-netboot recipe used by the agl-netboot feature to avoid
packaging errors.
Bug-AGL: SPEC-4352
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibc0ae1e2628aca6474401e0852bbb97085f4ecfa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27437
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
|
|
Apply updates from running the new convert-spdx-licenses script
from upstream. This is not currently a hard requirement from
upstream, but futureproofs for when the license name mapping is
finally removed.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I0af2a3ef75c999d447549127ae4cd2ed5c5b910f
|
|
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
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
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>
|
|
* 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>
|
|
- 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>
|
|
Bug-AGL: SPEC-471
Bug-AGL: SPEC-411
Change-Id: Icfcc4144385552718cea8ed43d0aa561686188f5
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
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>
|
|
Change-Id: I6ef9fb754a2d71aff1eae78ffde40c45a86362b5
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
|
|
Note: optee-os recipe is disable for the moment.
Change-Id: I8881fcc3c794b1cbb479b8e7d61bb86688f78bf9
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
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>
|