AGL/meta-agl.git
2 years agoPost 12.0.0 change of the distro config 06/26506/2
Jan-Simon Moeller [Wed, 21 Jul 2021 10:08:15 +0000 (12:08 +0200)]
Post 12.0.0 change of the distro config

Apply the post-release change to the distro config.
The Lucky Lamprey branch is now open for changes towards 12.0.1.

Bug-AGL: SPEC-4006
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ia03a8e0be88794117d879dd054115fa4730af7fc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26506
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoPrepare release of Lucky Lamprey v12.0.0 99/26499/2 12.0.0 lamprey/12.0.0 lamprey_12.0.0
Jan-Simon Möller [Tue, 13 Jul 2021 11:10:20 +0000 (13:10 +0200)]
Prepare release of Lucky Lamprey v12.0.0

Prepare the release of Lucky Lamprey v12.0.0 .

Change-Id: I868d4470aa92b9a298dfb24a19a7261ee545b57b
Bug-AGL: SPEC-4006
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26499
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoPost M3 update of distro configuration 98/26498/2
Jan-Simon Möller [Tue, 13 Jul 2021 11:08:11 +0000 (13:08 +0200)]
Post M3 update of distro configuration

Update after Milestone 3 is released.

Change-Id: Ide3ecd049573a49f5e7858b8d5f620ee0d02b016
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26498
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoPrepare Lucky Lamprey Milestone 3 79/26479/2 11.93.0 lamprey/11.93.0 lamprey_11.93.0
Jan-Simon Möller [Fri, 2 Jul 2021 20:07:21 +0000 (22:07 +0200)]
Prepare Lucky Lamprey Milestone 3

Update the distro configuration.

Change-Id: Ib7ffb28cc71da5b28f95bcbe89c6b3fadbe981c7
Bug-AGL: SPEC-4006
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26479
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agopipewire: fix timerfd deadlock issue 99/26399/2
George Kiagiadakis [Thu, 1 Jul 2021 09:44:58 +0000 (12:44 +0300)]
pipewire: fix timerfd deadlock issue

Bug-AGL: SPEC-3957
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I5f41e4161b281473cebc3cb3d8e27c2c93b457be
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26399
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>
2 years agoUpdate AGL_BRANCH to lamprey 74/26474/2
Jan-Simon Möller [Thu, 1 Jul 2021 12:43:57 +0000 (14:43 +0200)]
Update AGL_BRANCH to lamprey

Update the distro configuration for Lucky Lamprey

Change-Id: I55bb62a90bbeeed581af7ce95cd5b531c461cade
Bug-AGL: SPEC-4006
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26474
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoAdd gitreview file for Lucky Lamprey branch
Jan-Simon Möller [Wed, 30 Jun 2021 21:56:32 +0000 (23:56 +0200)]
Add gitreview file for Lucky Lamprey branch

Update the .gitreview file.

Change-Id: I91e119acbde35ef76b1cd3aed2d6f5c380cb0ae8
Bug-AGL: SPEC-4006
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2 years agoRefactor kernel configuration fragment handling 60/26460/2
Scott Murray [Sun, 27 Jun 2021 18:36:00 +0000 (14:36 -0400)]
Refactor kernel configuration fragment handling

Refactor the kernel configuration fragment handling to shift all AGL
applied configuration fragments into a new AGL_KCONFIG_FRAGMENTS
variable that is used to generate SRC_URI and KERNEL_CONFIG_FRAGMENTS
additions for the various BSPs.  The intent is to make it simple to
disable AGL provided configuration in downstream builds as the IC EG
has expressed as a requirement.  Additionally, the rework has allowed
for some clean up of accumulated cruft.

In practice, clearing AGL_KCONFIG_FRAGMENTS drops all non-BSP provided
kernel configuration with the exception of some qemu BSP related
additions required for AGL CI and some explicitly configurable things
like netboot support.

Notable changes:
- Instead of always using AGL's own fragment merging logic on top of
  the BSP kernel recipe, an effort is now made to leverage the BSP
  recipes' own merging schemes, so there are now separate include
  files for kernel-yocto.bbclass and plain kernel.bbclass based kernel
  recipes, as well as a common include file that defines the
  AGL_KCONFIG_FRAGMENTS variable and its derivations.  That file can
  be included directly in bbappends for BSP kernel recipes that use
  the KERNEL_CONFIG_FRAGMENTS scheme (e.g. meta-ti, meta-qcom).
- The SMACK enabling configuration in meta-app-framework has been
  updated to supply different fragments for enabling SMACK by default
  for 4.x and 5.x kernels.  This removes a warning from always
  supplying the old configuration, and allows providing a CONFIG_LSM
  definition to ensure over-riding any BSP modifications.
  This allows removing the previous hack to handle CONFIG_LSM being
  set in the defconfigs in linux-raspberrypi.
- By request, the linux-yocto support from meta-agl-bsp/meta-core has
  been rationalized into meta-agl-core to improve the experience when
  using meta-agl-core standalone for testing.
- All demo supporting kernel configuration has been removed, a
  subsequent change to meta-agl-demo will add it there by leveraging
  AGL_KCONFIG_FRAGMENTS.
- The hardware device support has been split out of the can-bus.cfg
  fragment, in favor of shifting it to meta-agl-demo.  A few other
  stray non-CAN configuration options have also been removed from
  can-bus.cfg, as they do not seem to be required.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If6662fd36e26cec767b1d53b1188a74d01ef9dcf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26460
Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Reviewed-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

2 years agopackagegroup-agl-core-devel: remove duplicate profiling tools 56/26456/2
Scott Murray [Thu, 24 Jun 2021 18:33:08 +0000 (14:33 -0400)]
packagegroup-agl-core-devel: remove duplicate profiling tools

Remove perf and powertop from packagegroup-agl-core-devel since they
are already in packagegroup-core-tools-profile which gets pulled in
when agl-devel is used.  For perf in particular, this simplifies
avoiding dependencies on the kernel source being available when
building container images.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I472ab2209dc89e76bb561189e711f45bad480e94
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26456
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>
2 years agoPost release bump after LL m2 55/26455/2
Jan-Simon Moeller [Thu, 24 Jun 2021 16:56:21 +0000 (18:56 +0200)]
Post release bump after LL m2

Update the distro configuration.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0c5be0ffc3f9b7e4b59b98d4eac6d5439900b4f5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26455
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoaglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04. 28/26428/3
vasyl [Mon, 14 Jun 2021 17:39:50 +0000 (20:39 +0300)]
aglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04.

Looks like bash creates temporary file for heredocs and passes fd to
deleted file to command that use heredocs. Therefore, it is better not
to use '[[ -f /dev/stdin ]]' in case of heredocs.

Replaced it with more relaxed condition.

Bug-AGL: SPEC-3990
Change-Id: Ib68d1510dd6899b0f60b207071b222ef1933bf77
Signed-off-by: vasyl <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26428
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>
2 years agoUpdate license handling for pipewire recipe 49/26449/2
Jan-Simon Moeller [Wed, 23 Jun 2021 19:33:43 +0000 (21:33 +0200)]
Update license handling for pipewire recipe

We need to set LICENSE to multiple (MIT & GPL-2.0-only & LGPL-2.1-or-later) to satisfy
the current scheme required by bitbake.

But the licenses of the output packages are not all 3,
but mostly MIT and a few LGPL-2.1-or-later and one GPL-2.0-only.
To map the dynamically created output packages with the proper MIT license,
we need to call setVar after all dynamic packages are created.

Bug-AGL: SPEC-3844
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0900902af2527254869c125ec90239c9afb26f3c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26449
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
2 years agoRemove default inclusion of kernel-modules 31/26431/3
Scott Murray [Mon, 14 Jun 2021 22:12:31 +0000 (18:12 -0400)]
Remove default inclusion of kernel-modules

Remove the kernel-modules meta package append to IMAGE_INSTALL
from the default base-agl.inc aglsetup.sh template, as it essentially
turns a developer convenience into default behavior that may not be
desirable by all users.  Note that this does change the contents of
agl-image-(boot|minimal|weston) with respect to kernel modules on
most platforms, but if this proves problematic it is recommended that
kernel-modules be added back elsewhere in a more transparent fashion.
A corresponding change will be made in meta-agl-demo to retain the
behavior for the demo platform images.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie1098f25d69e721345d13db3681278543d594e78
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26431
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>
2 years agoSPEC-3976: qemuarm: remove CONFIG_ARM_LPAE 35/26435/2
Corentin Labbe [Wed, 16 Jun 2021 08:46:28 +0000 (08:46 +0000)]
SPEC-3976: qemuarm: remove CONFIG_ARM_LPAE

CONFIG_ARM_LPAE cause sndHDA failure.
Furthermore, this permits to mimic real AGL ARM board which dont have LPAE.

Bug-AGL: SPEC-3976
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Change-Id: I0f48feadc8aa04427ffb2365cf319e2dcbe32ff3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26435
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>
2 years agorcar3: move extra kernel modules to MACHINE_EXTRA_RRECOMMENDS 30/26430/2
Scott Murray [Mon, 14 Jun 2021 22:05:47 +0000 (18:05 -0400)]
rcar3: move extra kernel modules to MACHINE_EXTRA_RRECOMMENDS

The appending of the rcar3 graphics related kernel modules to
IMAGE_INSTALL in agl_rcar.inc is problematic for users building
headless or container targetted images.  To avoid this, instead
append them to MACHINE_EXTRA_RRECOMMENDS, which will result in
them being pulled in via packagegroup-machine-base.  Users not
desiring them can then either disable package recommendations
or not pull in packagegroup-machine-base.  In practice, this
has no effect on any of the current images in meta-agl-core or
meta-agl-demo, but it is required for the IC EG guest container
build for rcar3 platforms.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I309926b6dc31614fb7c710b0a302716942d07df8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26430
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>
2 years agopipewire: fix alsa virtual device to work again 47/26447/2
George Kiagiadakis [Tue, 22 Jun 2021 15:08:25 +0000 (15:08 +0000)]
pipewire: fix alsa virtual device to work again

* Install symlinks to the configuration files in /etc/alsa/conf.d
* Add patch from pipewire master to support roles on the virtual
  alsa device

Bug-AGL: SPEC-3822
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: Ie411df23390754e2cdc494657eb9881771b8c401
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26447
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>
2 years agopipewire: update to pw 0.3.30 and wp 0.4.0 26/26426/5
George Kiagiadakis [Fri, 11 Jun 2021 08:33:59 +0000 (11:33 +0300)]
pipewire: update to pw 0.3.30 and wp 0.4.0

* The pipewire recipe has been synced with the upstream yocto one
* WirePlumber configuration now has volume ducking enabled for
  navigation messages. This means that music will now duck when
  a navigation message plays instead of being corked.
* PipeWire's default configuration now lives in /usr/share/pipewire,
  with the possibility to override it in /etc/pipewire. This allows
  resetting to upstream defaults by removing /etc/pipewire

v2: add licenses to the layer to match the upstream recipe,
    adapt licenses of sub-packages
v3: mark each package with the desired license instead of the mix
v4: simplify the license output of the sub-packages

Bug-AGL: SPEC-3844
Change-Id: I7a15ddb503d5b064f244c8a42a1aafb4caa1d46a
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26426
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoRemove Raspberry Pi 3 support 29/26429/2
Scott Murray [Sat, 12 Jun 2021 21:22:13 +0000 (17:22 -0400)]
Remove Raspberry Pi 3 support

The raspberrypi3 machine template had only been retained to allow
anyone interested in using one with a telematics or cluster demo
image build to do so.  At this point the Pi 4 has been out long
enough that that seems no longer necessary, so removing the
support to avoid confusion and reduce clutter seems warranted.

Bug-AGL: SPEC-3985

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib3770ba03771aff468f94d5bf6f2910fc01f7ee0
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26429
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>
2 years agoPrepare Lucky Lamprey M2 27/26427/2 11.92.0 lamprey/11.92.0 lamprey_11.92.0
Jan-Simon Moeller [Sun, 13 Jun 2021 21:24:04 +0000 (23:24 +0200)]
Prepare Lucky Lamprey M2

Update the distro manifest.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ib87d4a6b4313fe39c7121f691a9768fd4fafa49c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26427
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agometa-agl-core: dynamically add qtbase bbappend 95/26395/3
Scott Murray [Mon, 7 Jun 2021 21:29:36 +0000 (17:29 -0400)]
meta-agl-core: dynamically add qtbase bbappend

Add a dynamic layer addition for meta-qt5 that contains a qtbase
bbappend with the required configuration changes for building
it with Wayland support.  The aim is to avoid duplication of these
configuration changes among meta-agl-core users.

Bug-AGL: SPEC-3972

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I642ad6e62c10da1b1c2323a13c7d5fa91ba9f028
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26395
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>
2 years agoUpdate agl-virt feature 94/26394/3
Scott Murray [Mon, 7 Jun 2021 21:21:41 +0000 (17:21 -0400)]
Update agl-virt feature

Changes:
- Add AGL_META_FILESYSTEMS hook to bblayers.conf.sample to match
  the other common meta-openembedded layer dependencies.
- Update agl-virt 50_bblayers.conf.inc to define the required
  AGL_META_* variables for the layers from meta-openembedded that
  it requires.

Bug-AGL: SPEC-3970

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iae55fa082bd25cf43bde6152abab40c836cf6279
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26394
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoAdd agl-package-management feature 93/26393/2
Scott Murray [Mon, 7 Jun 2021 21:14:20 +0000 (17:14 -0400)]
Add agl-package-management feature

Changes:
- Move addition of package-management to IMAGE_FEATURES and
  associated package feed variables to a new agl-package-management
  feature template.  The feature is not included by default in
  the base set.
- To somewhat maintain the previous developer experience the new
  feature has been made a dependency of the agl-devel feature.
  In practice, the only images affected by this change are
  agl-image-minimal and agl-image-weston from meta-agl-core, the
  demo platform images in meta-agl have package management enabled
  by default.

Bug-AGL: SPEC-3971

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I56665e1cd82db19a697fdae2551a9276eab08961
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26393
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>
2 years agoAdd initial j7-evm machine support 79/26379/3
Scott Murray [Sun, 30 May 2021 21:01:47 +0000 (17:01 -0400)]
Add initial j7-evm machine support

Add template and inc file for requested j7-evm machine.

Notes:
- The various images have been test built, including the
  agl-demo-platform image.  No runtime testing has been done due to
  lack of hardware.
- The proprietary SGX graphics support has not been enabled.  This
  is due to both being unable to test, and it being unclear if it
  is required given the telematics usecases mentioned with respect
  to the hardware.
- The shared TMPDIR for the non-optional multiconfig for building
  the bootloader has been shifted to a split one, as failures were
  reproducibly being seen when using the rm_work bbclass, and in
  general the community recommendation is to not share them.  This
  does mean that cleaning up a build tree requires removing the
  tmp-k3r5 directory in addition to tmp.

Bug-AGL: SPEC-3928

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5c4e325b0b709b6571946475bf128bc25b171f6e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26379
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>
2 years agoRemove dra7xx-evm machine support 78/26378/3
Scott Murray [Sun, 30 May 2021 19:13:37 +0000 (15:13 -0400)]
Remove dra7xx-evm machine support

Remove dra7xx-evm machine template and related BSP configuration
tweaks.  The configuration is stale and untested, and no one has
expressed interest in it for long enough that it seems better to
just remove it to avoid confusion about support status.

Bug-AGL: SPEC-3934

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1659eef113cf1e6fcfdddf65f712275b8fc49b6f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26378
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>
2 years agoUpdate i.MX machine configurations 77/26377/3
Scott Murray [Sun, 30 May 2021 18:58:49 +0000 (14:58 -0400)]
Update i.MX machine configurations

Changes:
- Add new i.MX and i.MX6 common inc files and shift duplicated
  configuration to them.
- Switch to using the newer IMX_BSP_DEFAULT variable mechanism for
  selecting mainline vs NXP bits, instead of adding use-mainline-bsp
  to MACHINEOVERRIDES.
- Remove the accidental addition of agl-medium-arm-compiler to
  DISTRO_FEATURES for the imx8mqevk configurations.
- Remove some other stale variable definitions.
- Update BSP layer path in i.MX6 template 50_setup.sh files, these
  were missed on a previous update.

Bug-AGL: SPEC-3933

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I0145e3c8b73b4d53706fda4237ab10f181fd16f7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26377
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>
2 years agometa-agl-core: Rework packagegroup-agl-core-boot 76/26376/3
Scott Murray [Sun, 30 May 2021 18:47:34 +0000 (14:47 -0400)]
meta-agl-core: Rework packagegroup-agl-core-boot

To avoid the problem of it drift with respect to the upstream
packagegroup-core-boot that it was originally derived from, rework
packagegroup-agl-core-boot to just RDEPEND on it instead.  This
has the benefit of making the AGL additions more clearly visible.

Additionally:
- Define VIRTUAL-RUNTIME_base-utils-syslog for packagegroup-core-boot
  to match AGL's current default.
- Add a VIRTUAL-RUNTIME_rngd variable to allow downstream users to
  remove or replace rng-tools in their distro configuration.
- Explicitly add the packagegroup to IMAGE_INSTALL in the base
  agl-image-boot.inc to better match upstream core-image-minimal in
  definition, and make sure that any derived image that is created by
  including the inc file (instead of the bb file) is usable.

Bug-AGL: SPEC-3932

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib82d5d6b561eca4d059c56b01a0caddefcb48776
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26376
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoRemove old cyclone5 template 80/26380/2
Jan-Simon Moeller [Mon, 31 May 2021 10:59:33 +0000 (12:59 +0200)]
Remove old cyclone5 template

This is no longer in active use and will be removed.

Bug-AGL: SPEC-3943
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7b9026fb5013d7534a96c04a0617e5f50a95aa5c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26380
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoRemove connman-plugin-session-policy-local 56/26356/4
Naoto Yamaguchi [Tue, 18 May 2021 23:04:56 +0000 (08:04 +0900)]
Remove connman-plugin-session-policy-local

A packagegroup-agl-core-connectivity require to connman-plugin-session-policy-local in all case.
On the other hand, connman-plugin-session-policy-local is enabled in case of AGL_FEATURES with aglcore.
When the meta-agl use without aglcore, building for packagegroup-agl-core-connectivity will fail.
This patch remove to connman-plugin-session-policy-local in all case.
Because connman-plugin-session-policy-local is not using.

Bug-AGL: SPEC-3924

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Icb9d3bca640a93348857e17a195ac6d1a20d30bb
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26356
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoPost release update to distro config 73/26373/2
Jan-Simon Möller [Tue, 25 May 2021 13:56:17 +0000 (15:56 +0200)]
Post release update to distro config

M1 is being released. Update the distro configuration

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I4d2edaed3fa311f357c42aff3c0d4b901e867911
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26373
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

3 years agoPrepare Lucky Lamprey Milestone 1 53/26353/2
Jan-Simon Moeller [Thu, 13 May 2021 22:02:28 +0000 (00:02 +0200)]
Prepare Lucky Lamprey Milestone 1

Adapt distro configuration for LL m1 .

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: If86cb91e6742bffb1e6a5aa8f93b9c37b754b4ca
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26353
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

3 years agoagl-shell-activator_git: Add recipe 48/26348/3 11.91.0 lamprey/11.91.0 lamprey_11.91.0
Marius Vlad [Wed, 12 May 2021 09:59:13 +0000 (12:59 +0300)]
agl-shell-activator_git: Add recipe

This adds the recipe for agl-activator/agl-shell-activator, a simple
tool that switches (already started) applications. It assumes the first
output, but can be enhanced to support use multi output if needed.

Bug-AGL: SPEC-3817

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I32f8bb246d75591cd7fc4f7d4b4047ee2b8f1b09
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26348
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agowireplumber: update to 0.4 rc1 40/26340/2
George Kiagiadakis [Tue, 11 May 2021 08:34:16 +0000 (11:34 +0300)]
wireplumber: update to 0.4 rc1

* Update the bluetooth config to be aligned with the default upstream config
* Make a2dp streams use the Multimedia role instead of Communication
* Add wireplumber.conf in the agl config, which is now required

Bug-AGL: SPEC-3844
Change-Id: Ifdc61065593b7cbd366dd490689135f0973ebf66
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26340
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>
3 years agometa-pipewire: add meta-oe dependency 43/26343/2
Scott Murray [Thu, 6 May 2021 15:50:43 +0000 (11:50 -0400)]
meta-pipewire: add meta-oe dependency

Add LAYERDEPENDS definition to meta-pipewire's layer.conf, meta-oe is
now a dependency due to Wireplumber's use of lua.

Bug-AGL: SPEC-3909

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia57de5b43cca86a5b5260a06494ef43dec6ae675
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26343
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>
3 years agopipewire: backport pipewiresink patches to fix stuttering and other issues 38/26338/3
George Kiagiadakis [Mon, 10 May 2021 16:07:57 +0000 (19:07 +0300)]
pipewire: backport pipewiresink patches to fix stuttering and other issues

Bug-AGL: SPEC-3900
Change-Id: Ib93772c58b4177b8e72713e4d395c9244732e907
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26338
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agopipewire: update to 0.3.27 33/26333/3
George Kiagiadakis [Fri, 7 May 2021 07:59:42 +0000 (10:59 +0300)]
pipewire: update to 0.3.27

Bug-AGL: SPEC-3900
Bug-AGL: SPEC-3844

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I36eba1a6ad1342351b668360c2c812f0a9bb3632
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26333
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>
3 years agometa-agl-core: remove IMAGE_FSTYPES override 92/26292/6
Scott Murray [Fri, 23 Apr 2021 20:32:24 +0000 (16:32 -0400)]
meta-agl-core: remove IMAGE_FSTYPES override

Remove the anonymous python logic added to override any changes
to IMAGE_FSTYPES via _append/_remove by BSPs to fix SPEC-3741.
The updated Renesas BSP no longer does so, and removing this
logic avoids issues when using meta-agl-core with distribution
configurations other than poky-agl.

Additionally:
- Change the IMAGE_FSTYPES and INITRAMFS_FSTYPES assignments in
  poky-agl.conf back to regular ("=") instead of immediate
  (":=") so that things like the _appends being done to
  AGL_DEFAULT_IMAGE_FSTYPES for netboot and CI usecases will
  take affect. They were only currently working because of the
  later evaluation in the anonymous python logic that is being
  removed.
- Rationalize agl-image-minimal.inc to just include
  agl-image-boot.inc, and remove the unnecessary use of the
  AGL_EXTRA_IMAGE_FSTYPES variable in agl-image-boot.inc.

Bug-AGL: SPEC-3897

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id655683c705678dd3ab1caff8980dba06f46a1bc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26292
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
3 years agometa-agl-core/recipes-graphics/wayland: Do not export seat related functions 44/26244/4
Marius Vlad [Thu, 8 Apr 2021 13:22:05 +0000 (16:22 +0300)]
meta-agl-core/recipes-graphics/wayland: Do not export seat related functions

We're only using the seat initialization parts for
waltham-transmitter-plugin so add them only there. So far there's only a
user for it (the transmitter-plugin) so it is easier to just build it
conditionally for now.

Bug-AGL: SPEC-3879

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3af5578c319c361babf3fc5497517f2b075a4271
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26244
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>
3 years agovirtio: Backport virtio sound driver. 91/26291/3
Vasyl Vavrychuk [Thu, 15 Apr 2021 17:21:22 +0000 (20:21 +0300)]
virtio: Backport virtio sound driver.

Added patch series is the latest implementation [1] of virtio sound
device [2] driver. It was accepted [3] by sound maintainer for the next
kernel version.

virtio-snd.cfg snippet has been generated using menuconfig/diffconfig
tasks by selecting SND_VIRTIO, other configs have been selected
automatically.

[1]: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com/
[2]: https://github.com/oasis-tcs/virtio-spec/blob/master/virtio-sound.tex
[3]: https://lore.kernel.org/alsa-devel/s5hsg575q5z.wl-tiwai@suse.de/

Bug-AGL: SPEC-3894
Change-Id: Ide484b4a70e5d2aef0726f701f87d783e128c4d3
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26291
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>
3 years agovirtio: Bump virtio-aarch64 kernel to version v5.10. 90/26290/3
Vasyl Vavrychuk [Thu, 15 Apr 2021 17:18:59 +0000 (20:18 +0300)]
virtio: Bump virtio-aarch64 kernel to version v5.10.

There are a number of virtio drivers [1,2] developed on top of newer
kernel version. To simplify their backporting it is better to have
newest possible kernel version. Use v5.10 since at the moment it is
latest available Linux Yocto kernel. As a sacrifice, some external
kernel modules have to be disabled since they fail to compile with newer
kernel.

Recipe imported from

repo: https://git.yoctoproject.org/cgit/cgit.cgi/poky/
branch: master
commit: a870101
path: meta/recipes-kernel/linux/linux-yocto_5.10.bb

[1]: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com/
[2]: https://lore.kernel.org/linux-arm-kernel/20201105212116.411422-1-peter.hilber@opensynergy.com/

Bug-AGL: SPEC-3894
Change-Id: I8ac793c1075bdeaa96d03252b97abcf983bb7ee0
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26290
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agovirtualization/linux-yocto: Fix multitouch with virtio-input. 89/26289/3
Vasyl Vavrychuk [Wed, 16 Dec 2020 18:03:37 +0000 (20:03 +0200)]
virtualization/linux-yocto: Fix multitouch with virtio-input.

Multitouch support with virtio-input was broken which can be observed:

* by running weston-simple-touch with weston compositor (
weston-simple-touch does not work with AGL compositor due to XDG shell
issues)
* by doing pinch to zoom in/out on navigation app map

Change-Id: I3ec2a989a4217ebe22cee9cf1640190ca8e2bb81
Bug-AGL: SPEC-3893
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26289
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agovirtualization/linux-yocto: Add virtio-aarch64-standard.scc to SRC_URI. 88/26288/3
Vasyl Vavrychuk [Wed, 16 Dec 2020 16:47:15 +0000 (18:47 +0200)]
virtualization/linux-yocto: Add virtio-aarch64-standard.scc to SRC_URI.

It allows to use patch command to apply patches via scc file.

As explained in [1,2], Yocto kernel metadata is commonly used for two
purposes:

1. To construct Yocto kernel git by committing patches listed in scc
files.
2. To configure Yocto kernel during Yocto build.

When scc file is not explicitly added to SRC_URI, then patch commands
will be ignored during Yocto build because it is assumed that patches
are already pre-applied during Yocto kernel git tree construction.

On the other hand, nopatch should be added to standard.scc because
patches from it are actually pre-applied.

[1]: https://www.yoctoproject.org/pipermail/yocto/2019-October/046986.html
[2]: https://docs.yoctoproject.org/kernel-dev/maint-appx.html

Change-Id: Id238e79e1b354daaa23e83bef45fc93a216fbf92
Bug-AGL: SPEC-3893
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26288
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agovirtualization/linux-yocto: Reorganize layout of linux-yocto kernel virtio metadata. 87/26287/3
Vasyl Vavrychuk [Fri, 16 Apr 2021 13:01:41 +0000 (13:01 +0000)]
virtualization/linux-yocto: Reorganize layout of linux-yocto kernel virtio metadata.

Follow layout of yocto-kernel-cache, this makes code a little bit more
understandable and familiar for one who worked with yocto-kernel-cache.

Change-Id: I1ad65039a1738b928069d035d485e2728e8a55b2
Bug-AGL: SPEC-3893
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26287
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agometa-pipewire: update to pipewire 0.3.25 and wireplumber master 94/26094/6
George Kiagiadakis [Thu, 11 Feb 2021 12:13:55 +0000 (14:13 +0200)]
meta-pipewire: update to pipewire 0.3.25 and wireplumber master

Bug-AGL: SPEC-3844
Change-Id: Ie32bfa43bf078c7d218d3150dc616501b8848bd0
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26094
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agorecipes-graphics/wayland/weston_8.0_aglcore: Remove unneeded patch 79/26279/3
Marius Vlad [Tue, 20 Apr 2021 16:33:25 +0000 (19:33 +0300)]
recipes-graphics/wayland/weston_8.0_aglcore: Remove unneeded patch

With the last SRCREV bump for agl-compositor we no longer need the patch
that made a private function, public.

Bug-AGL: SPEC-3641
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f58f88b8b33fad5eff1812112acef00306f1cb5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26279
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>
3 years agorecipes-graphics/wayland/agl-compositor: SRCREV bump 78/26278/2
Marius Vlad [Tue, 20 Apr 2021 13:57:53 +0000 (16:57 +0300)]
recipes-graphics/wayland/agl-compositor: SRCREV bump

The major change in this bump, besides some smaller fixes, is that the
compositor would send to the client (before attaching a buffer to a surface)
the initial surface dimensions, thus not needing any resizing code for the
client to handle, making this a nice optimization to have to in.
Obviously, this happens only for regular clients, w/ the client shell,
still required to handle the resizing of its buffers.

With this bump we also remove an external dependency patch (which should
come as a follow-up to this) and increase the compositor version.

In detail the following changes have been added:

68d184f9d541a47 meson.build: Do a release update before libweston9 integration
483d363b9e724a0 layout: Remove weston_output_damage dependecy
e35c7858a788b46 layout: Fix split role sending invalid dimensions
80febb3fbcebe88 desktop: Tell clients to use current geometry area from start
46e2d5e441dfb9f desktop: Send remove event only if output and app_id is set
d85915199c8a321 Notify about application destruction
fd860492da6fb07 Allow unregistered applications in rba

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iaed23aae27695db51260b7b04e3d9e0a5a053aa2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26278
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>
3 years agoaglsetup: Override templateconf.cfg in case of -f, --force. 08/26208/3
Vasyl Vavrychuk [Sat, 27 Mar 2021 20:29:52 +0000 (21:29 +0100)]
aglsetup: Override templateconf.cfg in case of -f, --force.

Overriding this config file was missing for some reason.

Bug-AGL: SPEC-3861
Change-Id: Iddf195615291b166a05bedb5ef0ddf645265e546
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26208
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>
3 years ago[RCAR] Fix sound on ulcb board 89/26189/3
Ronan Le Martret [Fri, 19 Mar 2021 15:38:19 +0000 (16:38 +0100)]
[RCAR] Fix sound on ulcb board

After RCAR BSP 4.7.0, m3ulcb and h3ulcb (without kingfisher layer) does not have audio after BSP Update.
The sound car is named ak4613 now for booth ulcb card and ulcb +kf
card.(no rcarsound name anymore)

Bug-AGL: SPEC-3849

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Id759de2a0df90cd216106da54870f663ca7adb64
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26189
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoMask patch causing crash in lua 83/26183/3
Jan-Simon Moeller [Thu, 18 Mar 2021 03:05:06 +0000 (04:05 +0100)]
Mask patch causing crash in lua

The patch  CVE-2020-15945.patch applied by meta-oe does
crash the lua ptest in  db.lua  (segfault).
Mask the patch until a solution is found upstream.

Bug-AGL: SPEC-3828
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I27eeea4a47b653fe13b9f949b3d792602a3c6e1a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26183
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

3 years agometa-agl-bsp: add pseudo abort workaround for rcar3 builds 47/26147/2
Scott Murray [Mon, 8 Mar 2021 17:59:15 +0000 (12:59 -0500)]
meta-agl-bsp: add pseudo abort workaround for rcar3 builds

Add workaround to avoid pseudo aborts triggered by the rcar3 kernel
module recipes writing to KERNELSRC in do_install, errors are of the
form (from pseudo.log):

path mismatch [27 links]: ino 19366408 db 'NAMELESS FILE' req 'build/tmp/work-shared/h3ulcb/kernel-source/include'.

See the commit messages in poky commits 4e7c211 and 3b7f2c6 and the
wiki page at:

https://wiki.yoctoproject.org/wiki/Pseudo_Abort

for details on the pseudo behavior change.  These can potentially be
moved to the recipes in the BSP, or removed if the recipes are changed
to shift the module headers and symbols to their dev packages.

Bug-AGL: SPEC-3840

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic872e1cec1ccbd37a5a53d146119fa5053b85482
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26147
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>
3 years agometa-agl-core: remove rng-tools bbappend 46/26146/2
Scott Murray [Mon, 8 Mar 2021 17:50:34 +0000 (12:50 -0500)]
meta-agl-core: remove rng-tools bbappend

The rng-tools patches are now being applied in the upstream recipe in
dunfell 3.1.6, so the local bbappend and patches can now be dropped.

Bug-AGL: SPEC-3840

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id431d9e5259fd78d6f36934ed4839ef4aa35ba2b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26146
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Julien Massot <julien.massot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years ago[RCAR] u-boot: move redundant-yyloc-global patch to u-boot-common.inc 52/26052/8
Ronan Le Martret [Mon, 15 Feb 2021 08:46:36 +0000 (09:46 +0100)]
[RCAR] u-boot: move redundant-yyloc-global patch to u-boot-common.inc

gcc10 build issue occurs in both u-boot and u-boot-tools
(From OE-Core rev: 2e128a775a3d51dc1856a35e2f5135d3c156d10e)

Bug-AGL: SPEC-3804

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I7be66b06e99415fa7b6c3a7a2c397d00ee44b4cc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26052
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years ago[RCAR] Update BSP Renesas RCAR gen3 to version 4.7.0 51/26051/7
Ronan Le Martret [Mon, 15 Feb 2021 08:42:50 +0000 (09:42 +0100)]
[RCAR] Update BSP Renesas RCAR gen3 to version 4.7.0

Bug-AGL: [SPEC-3804]

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I2a5c9dce63cd7c681cf9a36cf530e432081e1c6b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26051
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>
3 years agoRevert "meta-renesas: workaround recipe incompatibilities with YP 3.1.4" 50/26050/4
Ronan Le Martret [Sun, 14 Feb 2021 21:32:34 +0000 (22:32 +0100)]
Revert "meta-renesas: workaround recipe incompatibilities with YP 3.1.4"

Bug-AGL: SPEC-3804

This reverts commit 8b4612385bbf4cdf523c9b731ed73c7887995372.

Change-Id: I4a70f1cc57bf2265846b3a208b74c46a786ec622
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26050
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>
3 years agoRevert "meta-renesas: update gstreamer version workaround" 49/26049/4
Ronan Le Martret [Tue, 16 Feb 2021 21:11:44 +0000 (22:11 +0100)]
Revert "meta-renesas: update gstreamer version workaround"

Bug-AGL: SPEC-3804

This reverts commit 0fcc99e2b74b7e393980c2e3bfe9863b5dbc8ae4.

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Iabc9a6e7c8a2db86411b9b5e788b38d41564d351
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26049
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>
3 years agometa-agl-bsp: clean up Raspberry Pi Xen support 44/26144/2
Scott Murray [Mon, 8 Mar 2021 17:33:48 +0000 (12:33 -0500)]
meta-agl-bsp: clean up Raspberry Pi Xen support

Changes:
- Rename bbappend for Xen support to work with 5.4 kernel.
- Drop one of the Xen support patches that no longer applies, as it
  seems no longer required due to upstream changes.
- Move Xen kernel configuration fragment use to non-versioned kernel
  bbappend to simplify future upgrades.
- Move ENABLE_UART definition to machine template inc files instead
  of duplicating it in multiple bbappends.  This is more in line with
  how upstream indicates it be used.

Note that these changes have been compile tested with the agl-virt-xen
feature, but the resulting image has not yet been tested with Xen.
This is still an improvement, as agl-virt-xen would have silently not
affected kernel configuration previously.  As well, some of the
reshuffling done here will simplify the kernel upgrade in the next
branch.

Bug-AGL: SPEC-3841

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I022cccef00fcd0a82ceef89d4aab1894004543a3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26144
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>
3 years agometa-agl-core: update poky-agl distro configuration 00/26100/2
Scott Murray [Thu, 25 Feb 2021 20:37:18 +0000 (15:37 -0500)]
meta-agl-core: update poky-agl distro configuration

Changes to match current poky:
- Remove SDK_VERSION definition since the one inherited from
  poky.conf should be fine
- Replace explicit systemd enabling with use of INIT_MANAGER variable
- Moved some of the DISTRO_FEATURES variables together to improve
  readability
- Remove gstreamer1.0* PREFERRED_VERSION overrides, as they no longer
  seem required
- Remove PREFERRED_PROVIDER_jpeg as it no longer is required

Note that these are in part cleanup to match poky dunfell, and also
to reduce the amount of changes required to support current upstream
poky master.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I540dd97eef147201446021dbe0bda5289e34a18f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26100
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>
3 years agometa-agl-core: update packagegroup-agl-core-boot 99/26099/2
Scott Murray [Wed, 24 Feb 2021 20:21:07 +0000 (15:21 -0500)]
meta-agl-core: update packagegroup-agl-core-boot

Update packagegroup-agl-core-boot to match the current state of
packagegroup-core-boot in upstream poky master.  The changes
remove use of some of the global VIRTUAL-RUNTIME variables that are
now assumed to be globally scoped, and replacing the hard-coded
busybox usage with appropriate VIRTUAL-RUNTIME variables.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5d16c44bf78afd2a8b0914c3381f94e7e5382223
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26099
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>
3 years agometa-agl-core: fix connman-ncurses compilation 98/26098/2
Scott Murray [Tue, 23 Feb 2021 19:28:03 +0000 (14:28 -0500)]
meta-agl-core: fix connman-ncurses compilation

Add patch for connman-ncurses to fix compilation with newer json-c in
poky master.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id17b2863a04b37981d7f7cb0885365fe1a8418d2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26098
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>
3 years agometa-agl-core: remove libsoup bbappend 97/26097/2
Scott Murray [Wed, 24 Feb 2021 20:53:58 +0000 (15:53 -0500)]
meta-agl-core: remove libsoup bbappend

Remove now libsoup bbappend as it seems no longer necessary with
upstream poky master, and also remove libsoup from the autobuilder
image, as there is no longer any need to test building it.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I01b9fbfbf0d5b40df72f6be88322bbd855335d92
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26097
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>
3 years agometa-agl-core: update packagegroup-agl-core-connectivity 96/26096/2
Scott Murray [Wed, 24 Feb 2021 20:23:49 +0000 (15:23 -0500)]
meta-agl-core: update packagegroup-agl-core-connectivity

Remove dhcp-server from packagegroup-agl-core-connectivity, as it is
no longer available in upstream poky master, and nothing in the AGL
images depends upon it.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie778a6e7a0d5e19ca694133207acc6e39f3d58c4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26096
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>
3 years agometa-agl-core: fix S definition in waltham-transmitter-plugin 95/26095/2
Scott Murray [Tue, 23 Feb 2021 19:47:28 +0000 (14:47 -0500)]
meta-agl-core: fix S definition in waltham-transmitter-plugin

Bitbake now warns if the path in the S variable definition has a
trailing '/', remove it.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib1f24e03a0878b895b3bd08d2579b0e7b379a2b2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26095
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>
3 years agometa-agl-bsp: Fix agl-refhw-h3 BBMASK definition 40/26040/2
Scott Murray [Wed, 10 Feb 2021 18:32:25 +0000 (13:32 -0500)]
meta-agl-bsp: Fix agl-refhw-h3 BBMASK definition

Use += with BBMASK definition to avoid over-writing other additions.

Bug-AGL: SPEC-3798

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If6d5850e7dc07de56c2a6737634f0c0935ec2030
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26040
Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jenkins Job builder account
3 years agometa-renesas: update gstreamer version workaround 39/26039/2
Scott Murray [Wed, 10 Feb 2021 18:23:15 +0000 (13:23 -0500)]
meta-renesas: update gstreamer version workaround

The wildcard bbappends added as a workaround for gstreamer 1.16.3
versus 1.16.2 for the dunfell 3.1.4 upgrade (SPEC-3706) were less
than ideal since they still pointed at the 1.16.2 branch in Renesas'
repositories.  They have advised that 1.16.3 support branches are
now available, so update the workaround bbappends to use them, and
change the wildcard usage back to the full version number.

This should hold us until the BSP v4.1.7 update, when these bbappends
can be removed.

Bug-AGL: SPEC-3803

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I56e6699dce8b45f3c5f713958c43b9bbc8af8ec6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26039
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>
3 years agoagl-compositor: Bump SRCREV 24/26024/2
Marius Vlad [Fri, 5 Feb 2021 12:47:18 +0000 (14:47 +0200)]
agl-compositor: Bump SRCREV

This update is needed to allow unregistered/unknown applications in/to the
RBAModel json to be displayed. By default no application would be allowed. This
can be tweaked by modifying the weston.ini file. By default it is off/not set.

In detail this update includes the following the changes:

fd860492da6fb07f Allow unregistered applications in rba
47386558dbc95387 Use parameterized constructor of RBAArbitrator
79bc7999332d55b7 Update architecture diagram with a small legend

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I6249fd934868b6c064cf9f183e3db5282ffdc2bf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26024
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>
3 years agometa-agl-bsp: Add reference hardware GPS support 94/25994/2
Scott Murray [Thu, 4 Feb 2021 15:22:10 +0000 (10:22 -0500)]
meta-agl-bsp: Add reference hardware GPS support

Add recipe for gpsd configuration for the reference hardware, which
also installs a script plus systemd unit drop-in to handle enabling
and disabling it.  The latter is required due to the reference
hardware's reuse of the h3ulcb image, which means the existing
PREFERRED_PROVIDER_virtual/gpsd-conf scheme is not sufficient in
this case.

Bug-AGL: SPEC-3792

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifaf3b93d06825f7c5c6a8ce2773d93931e47178c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25994
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>
3 years agometa-agl-core: Update weston-ini-conf landscape support 93/25993/2
Scott Murray [Thu, 4 Feb 2021 15:05:23 +0000 (10:05 -0500)]
meta-agl-core: Update weston-ini-conf landscape support

Rework to change the weston-ini-conf-landscape configuration to be
no rotation, and add a new weston-ini-conf-landscape-inverted
configuration with the 180 degree rotation that was being used as
landscape before for the cluster demo (which has an inverted screen
installation).

Bug-AGL: SPEC-3791

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia5179b26b30b484157e4d911ee07fe08f02415d8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25993
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>
3 years agoRBAModel: Added unknown_app content_id 35/25935/5
Anusha Gugale [Wed, 20 Jan 2021 19:19:34 +0000 (00:49 +0530)]
RBAModel: Added unknown_app content_id

  Bug-AGL: SPEC-3738

Change-Id: I7b501696bdb7ec13abe67d07c0c29128d0068ee3
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25935
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agometa-agl-core: fix entropy gathering on rng-tools 6.9 70/25970/2
Julien Massot [Thu, 28 Jan 2021 08:36:05 +0000 (08:36 +0000)]
meta-agl-core: fix entropy gathering on rng-tools 6.9

Bug-AGL: SPEC-3775

rngd daemon may spam the console when using an older version
than 6.11.

Backport patches from https://github.com/nhorman/rng-tools/pull/99/commits,
while waiting for an update of rng-tools (>= 6.11) in poky repository.

Change-Id: Icf55a648d4c30a3c94d2afaee91e6c0a2207a130

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
Change-Id: I08d1856ca6bd0be76b3c7fe0a962d73cebe8bef7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25970
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>
3 years agoPost Milestone 3 change - open master for Lucky Lamprey 91/25991/3
Jan-Simon Möller [Wed, 3 Feb 2021 17:53:31 +0000 (18:53 +0100)]
Post Milestone 3 change - open master for Lucky Lamprey

Update the distro config after branching Kooky Koi.
Master is now open for Lucky Lamprey development.

Bug-AGL: SPEC-3782
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I37896394f14f7061188fdc789b5269a146475490
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25991
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

3 years agoglmark2: Fix missing wayland-protocols dependency. 72/25972/2
Vasyl Vavrychuk [Thu, 28 Jan 2021 12:14:47 +0000 (13:14 +0100)]
glmark2: Fix missing wayland-protocols dependency.

It caused build failure.

Bug-AGL: SPEC-3726
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I6e2b229a6cd2cf57490c6c45b8ad4b3be5d3044b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25972
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>
3 years agoglmark2: Fix bbappend file name. 71/25971/2
Vasyl Vavrychuk [Thu, 28 Jan 2021 10:59:20 +0000 (11:59 +0100)]
glmark2: Fix bbappend file name.

Bug-AGL: SPEC-3726
Change-Id: I17f54a30b64f98c38c4ac566557aa83eb9cbb56b
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25971
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>
3 years agoPrepare Kooky Koi Milestone 3 76/25976/2 10.93.0 koi/10.93.0 koi_10.93.0
Jan-Simon Möller [Fri, 29 Jan 2021 17:06:53 +0000 (18:06 +0100)]
Prepare Kooky Koi Milestone 3

This updates the distro configuration for KK M3 (v10.93.0).

Bug-AGL: SPEC-3782
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I9566a71d46078ce9f3cb6f53457b2cb991e7ec12
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25976
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>

3 years agoAllow -nogfx boards to start the homescreen 33/25933/3
Jan-Simon Moeller [Wed, 20 Jan 2021 17:35:25 +0000 (18:35 +0100)]
Allow -nogfx boards to start the homescreen

This allows to produce working images without restricted licenses.
Software rendering will be slow and screen updates take a while.

v2: adapted to use WESTON_USE_PIXMAN

Bug-AGL: SPEC-3774
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iaea1985da48985dfe223471a86b04d8921cc8d7a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25933
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
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>

3 years agoqemu[arm,arm64]: enable runqemu in graphic mode 30/25930/4
Jan-Simon Moeller [Wed, 20 Jan 2021 15:58:52 +0000 (16:58 +0100)]
qemu[arm,arm64]: enable runqemu in graphic mode

This adds the necessary flags to launch runqemu for the qemuarm target with the full
graphical agl-demo-platform image.
Slow but working.

Bug-AGL: SPEC-3764

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iffc2158e53d775d578b1d4ee0e94d3fd68e2a028
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25930
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: Scott Murray <scott.murray@konsulko.com>
3 years agochange SRCREV of librba 34/25934/3
Anusha Gugale [Wed, 20 Jan 2021 18:33:52 +0000 (00:03 +0530)]
change SRCREV of librba

- To hide unnecessary internal interfaces from user, reconstructed
  public files of librba.
- Removed installation of internal header files.

 Bug-AGL: SPEC-3738

Change-Id: If54a4601b65b04fedb93712906a12f78d75dd2e8
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25934
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
3 years agoraspberrypi: Upgrade to u-boot v2020.10 37/25937/3
Paul Barker [Thu, 21 Jan 2021 18:17:51 +0000 (18:17 +0000)]
raspberrypi: Upgrade to u-boot v2020.10

The newer u-boot version supports the network interface on the rpi4,
allowing us to do things like DHCP boot.

Also switch to the preferred "rpi_arm64" u-boot config.

Bug-AGL: SPEC-2983

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: I0dff4779f98c7ce6394efd9feb58b7f2a8933296
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25937
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>
3 years agoagl-compositor_git: Enable loading waltham-transmitter-plugin 99/25699/9
Marius Vlad [Mon, 30 Nov 2020 22:38:27 +0000 (00:38 +0200)]
agl-compositor_git: Enable loading waltham-transmitter-plugin

The build system is able to determine if it can build support for
loading the plug-in when waltham depedency is satified. We add
that based on AGL_FEATURES.

Bug-AGL: SPEC-3601

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id7279fddc12c78472ae22a480626106a00ea30db
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25699
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>
3 years agowaltham-transmitter-plugin: Add waltham-transmitter plug-in recipe 55/25455/15
Marius Vlad [Fri, 16 Oct 2020 19:48:30 +0000 (22:48 +0300)]
waltham-transmitter-plugin: Add waltham-transmitter plug-in recipe

And remove waltham-transmitter_git recipe.

v6 (mvlad): plain rebase to new folder structure (actually remove
waltham-transmitter_git recipe).
v5 (jsmoeller): plain rebase to new folder structure

Bug-AGL: SPEC-3601

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie18f1c8b91e5d7a222d38b2e451de6d045c1e3bd
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25455
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agowayland/weston-ini-conf: Add transmitter-output ini section 54/25454/14
Marius Vlad [Fri, 16 Oct 2020 14:37:35 +0000 (17:37 +0300)]
wayland/weston-ini-conf: Add transmitter-output ini section

And with it, build remoting plug-in when weston-waltham-remoting AGL
feature is set.

agl-compositor will use the remoting plug-in to create a remote output
so we need the remoting plug-in built as well as weston-remoting distro
feature.

v8 (mvlad): plain rebase to new folder structure, use AGL_FEATURES
instead of DISTRO_FEATURES
v7 (mvlad): plain rebase to new folder structure
v6 (jsmoeller): plain rebase to new folder structure

Bug-AGL: SPEC-3601

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Idf591e3f6954bdaafe917e5ceb93fde134dde8db
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25454
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>
3 years agoagl-weston-waltham-remoting: Add waltham-remoting AGL_FEATURES 53/25453/14
Marius Vlad [Fri, 16 Oct 2020 14:36:46 +0000 (17:36 +0300)]
agl-weston-waltham-remoting: Add waltham-remoting AGL_FEATURES

Like weston-remoting DISTRO FEATURES this allows us to control when to
build the transmitter-plugin and to add a suitable weston.ini
'transmitter-section' which will be added following this patch.

Bug-AGL: SPEC-3601

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I2b54fac62ad7bee3e647d0b6e0162c7ad1aff1bd
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25453
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>
3 years agoPost Milestone 2 change to distro config 31/25931/2
Jan-Simon Möller [Wed, 20 Jan 2021 17:25:36 +0000 (18:25 +0100)]
Post Milestone 2 change to distro config

Update to conf/distro/poky-agl.conf .

We're entering the merge window towards Milestone 3.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I105e18395b2f25e5c9a43071bd001fbc3345689e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25931
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>

3 years agoraspberrypi: agl_raspberrypi4.inc: Unpin kernel version 40/25840/4
Paul Barker [Sat, 19 Dec 2020 18:54:32 +0000 (18:54 +0000)]
raspberrypi: agl_raspberrypi4.inc: Unpin kernel version

Now that the failure in create-combined-dtb has been resolved (by
patching dtc), we can unpin the version of linux-raspberrypi and use the
5.4 kernel series.

Bug-AGL: SPEC-3702

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: I0da4eb7ccd17d816477d28864185278084abd9b4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25840
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: 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>
3 years agoPrepare KK Milestone 2 23/25923/2 10.92.0 koi/10.92.0 koi_10.92.0
Jan-Simon Moeller [Sat, 16 Jan 2021 00:56:29 +0000 (01:56 +0100)]
Prepare KK Milestone 2

Update the distro config.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iafd383f777932a0be9336b4a881ef61bcead7975
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25923
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>

3 years agometa-agl-bsp, templates: Add virtio-aarch64 machine 15/25915/2
Vasyl Vavrychuk [Thu, 14 Jan 2021 21:12:39 +0000 (22:12 +0100)]
meta-agl-bsp, templates: Add virtio-aarch64 machine

This machine is intended to run in ARMv8 virtualized environment that
provides VirtIO devices.

AGL machine configuration files are based on qemuarm64 machine from
meta-agl branch master commit e1da0efcd2eece82b0326798cfeaeb8dd48797fc.

Yocto machine configuration files are based on qemuarm64 machine from
Poky branch dunfell commit 4e931b1d05018923dc145cd97f6f965f5cb6e1a5.

Yocto Linux Kernel is used as recommended in [1]. Its metadata for the
created machine are based on qemuarm64-standard.scc from
yocto-kernel-cache branch yocto-5.4 commit
4aeda12f7f7eb84613ae1fe6e22cd9cd9790c20b.

The rationale behind creating new machine is a wish to have a machine
that could run on other hypervisor/virtual machine monitor that
implements VirtIO, not necessary QEMU. For now, virtio-aarch64 machine
runs under QEMU and OpenSynergy COQOS Hypervisor.

virtio-aarch64 machine includes following changes comparing to
qemuarm64:
* use virtio-gpu instead of VGA display (to be upstreamed to work in
  conjunction with runqemu gl, sdl, etc. options)
* use virtio-bus instead of PCI bus QEMU devices
* remove unneeded configurations

Changes are moved here from meta-agl-devel.

[1]: https://www.yoctoproject.org/docs/3.1.2/bsp-guide/bsp-guide.html#released-bsp-recommendations

Bug-AGL: SPEC-3668
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I653ca35fded3d3e38f25299f46629db1174b5008
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25915
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>
3 years agometa-agl: move open-vm-tools and vboxguestdrivers to meta-agl-demo 12/25912/2
Jan-Simon Möller [Thu, 14 Jan 2021 13:50:33 +0000 (14:50 +0100)]
meta-agl: move open-vm-tools and vboxguestdrivers to meta-agl-demo

open-vm-tools and vboxguestdrivers do have a dependency to meta-networking
which is no longer included in meta-agl-core .
Move the inclusion into meta-agl-demo .

Bug-AGL: SPEC-3769
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I19b3400d1eb3e2b5e3338d10f584025a16645982
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25912
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>

3 years agoagl-compositor: include runtime dependencies in PACKAGECONFIG for policy-rba 03/25903/2
Jan-Simon Moeller [Wed, 13 Jan 2021 15:03:47 +0000 (16:03 +0100)]
agl-compositor: include runtime dependencies in PACKAGECONFIG for policy-rba

Update the PACKAGECONFIG line to include run time dependencies next to the compile time dependencies.
Without these there is not policy file in the image leading to:

[14:54:42.539] Sending ready to systemd
[14:54:43.126] Unable to find /etc/rba/RBAModel.json file!!
[14:54:43.126] libwayland: error in client communication (pid 851)
[14:54:43.244] Unable to find /etc/rba/RBAModel.json file!!
[14:54:43.244] libwayland: error in client communication (pid 837)

Bug-AGL: SPEC-3738

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I95052f51c24957c89aaa8da4385b7bf878eebf03
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25903
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>

3 years agoUpdate aglsetup.sh feature/image help 94/25894/2
Scott Murray [Tue, 12 Jan 2021 22:54:29 +0000 (17:54 -0500)]
Update aglsetup.sh feature/image help

Update aglsetup.sh configuration help for move of all demo images
to meta-agl-demo and dropping of separate cluster and telematics
demo features.

Bug-AGL: SPEC-3749

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I22f4ef610f2562b58b7fc59f777576d6d3d4913c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25894
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>
3 years agometa-agl-core: remove connman cluster demo support 93/25893/2
Scott Murray [Tue, 12 Jan 2021 22:33:51 +0000 (17:33 -0500)]
meta-agl-core: remove connman cluster demo support

Remove cluster demo support logic from connman bbappend, as it has
been moved to meta-agl-demo instead.  This improves the separation
of core vs demo configuration changes.

Bug-AGL: SPEC-3749

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ica4113509a73def565b15e5067c5d7db0a6ecaf1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25893
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>
3 years agoagl-compositor: Bump SRCREV for agl-compositor 90/25890/2
Marius Vlad [Tue, 12 Jan 2021 13:57:42 +0000 (15:57 +0200)]
agl-compositor: Bump SRCREV for agl-compositor

Bumps agl-compositor to latest changes to include support for RBA (role
base arbitration policy) and make screenshoting debug feature a bit easier.

e1e8c07e202ffc Added rba policy implementation
838efcb58cbe08 meson.build: Fix building with cross SDK
c5d2c447df7c07 main: Add activate_by_default ini option

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I6935daa51730a34dcc1bce8705409d7f6e96264b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25890
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>
3 years agoagl-compositor: added option to build rba policy 45/25845/7
Anusha Gugale [Mon, 21 Dec 2020 12:51:26 +0000 (18:21 +0530)]
agl-compositor: added option to build rba policy

- Changes related to install specific file of rba,
  add PACKAGECONFIG option for rba policy.

  Bug-AGL: SPEC-3738

Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Change-Id: If9697fce3be8c238c363558fddec53bff5da8df6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25845
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>
3 years agometa-agl-core: add recipe for librba and rba-config 21/25821/11
Anusha Gugale [Thu, 17 Dec 2020 07:27:48 +0000 (12:57 +0530)]
meta-agl-core: add recipe for librba and rba-config

- Required for agl-compositor rba policy
- RBAModel.json will be install using rba-config recipe file

  Bug-AGL: SPEC-3738

Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Change-Id: I05244dcceb8f0ba56865ce1edf1563b90bdfbae3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25821
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agolinux-raspberrypi: Tidy patches & config fragments 87/25887/2
Paul Barker [Tue, 12 Jan 2021 11:38:20 +0000 (11:38 +0000)]
linux-raspberrypi: Tidy patches & config fragments

Move all patches and config fragments into the linux-raspberrypi
subdirectory to remove confusion and warnings seen for non-4.19 kernel
versions:

    WARNING: .../bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.14.bb: Unable to get checksum for linux-raspberrypi SRC_URI entry 0001-mconf-menuconfig.patch: file could not be found
    WARNING: .../bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb: Unable to get checksum for linux-raspberrypi SRC_URI entry 0001-mconf-menuconfig.patch: file could not be found

Bug-AGL: SPEC-3760

Cc: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: Iccb9efcd8240f28437e3494bd008dc9aca649c4e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25887
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>
3 years agoImprove workaround for do_image_wic race condition 84/25884/3
Paul Barker [Mon, 11 Jan 2021 17:25:18 +0000 (17:25 +0000)]
Improve workaround for do_image_wic race condition

This change ensures that no other do_image_* task can be running and
reading the rootfs directory at the same time as do_image_wic is
modifying the /etc/fstab file in the rootfs directory. It can be
removed when the more efficient but more complex fix is accepted
and backported upstream in poky.

Further details are given in the new image_types_wic_workaround.bbclass
file.

This allows us to remove the previous workaround of running wic with the
`--no-fstab-update` argument and so the fstab file in wic images will
now include all partitions.

Bug-AGL: SPEC-3621

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: Ibdbed7164c8684f50e917b5c877508d8c968d73b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25884
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>
3 years agometa-agl-core: Revise weston-ini-conf mechanism 60/25860/3
Scott Murray [Mon, 4 Jan 2021 16:25:07 +0000 (11:25 -0500)]
meta-agl-core: Revise weston-ini-conf mechanism

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>
3 years agoFix bitbake -c menuconfig for linux-raspberrypi 82/25882/2
Jan-Simon Moeller [Mon, 11 Jan 2021 12:35:58 +0000 (13:35 +0100)]
Fix bitbake -c menuconfig for linux-raspberrypi

This patch is included in linux-yocto to fix the cross-ncurses library issue.
Add to meta-agl-bsp until resolved upstream.

Bug-AGL: SPEC-3760
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iac9222a62ab943cce6176787b76cf0c2395688e8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25882
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>

3 years agoRemove smacknet from packagegroup-security-framework 83/25883/2
Jan-Simon Moeller [Mon, 11 Jan 2021 13:21:14 +0000 (14:21 +0100)]
Remove smacknet from packagegroup-security-framework

smacknet is not present in 'dunfell' branches.

See: https://layers.openembedded.org/layerindex/branch/dunfell/recipes/?q=smacknet .

Bug-AGL: SPEC-3762
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I14cdb89394388399a26a4d2f4e0bc40505a54ecf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25883
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>

3 years agoraspberrypi: dtc: Prevent overlays from modifying phandle properties 39/25839/4
Paul Barker [Sat, 19 Dec 2020 18:51:09 +0000 (18:51 +0000)]
raspberrypi: dtc: Prevent overlays from modifying phandle properties

The cma-overlay fragment included in vc4-fkms-v3d-overlay ends up with
a phandle property within the __overlay__ fragment due to the references
to this fragment from the __overrides__ section. So when this overlay
fragment is applied it was modifying the phandle of the target node,
breaking other references to this node in the base dtb and breaking the
resolution of symbols within the fdt.

The failure is seen in the create-combined-dtb recipe but the best place
to fix this is in libfdt itself. When applying an overlay fragment, if
both the target node and the overlay fragment contain phandle properties
we skip modification of the target node phandle. The included patch has
been submitted upstream for review.

Bug-AGL: SPEC-3702

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: I0661de41162fa4f8eed8421878049b9027536b41
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25839
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoFix agl-appfw-smack and agl-netboot dependency issue 81/25881/2
Jan-Simon Möller [Mon, 11 Jan 2021 12:19:09 +0000 (13:19 +0100)]
Fix agl-appfw-smack and agl-netboot dependency issue

Both layers need meta-python and meta-networking. But adding them to
BBLAYERS twice will cause a duplicate inclusion error.

Conditionals do not work out at this stage yet nicely, thus
we use an empty variable as indirection to only include it once.
(Kudos to Paul for the idea.)

Adapt bblayers.conf.sample, agl-appfw-smack and agl-netboot features.

This is the necessary follow-up to https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25844
and fixes the issue raised.

Bug-AGL: SPEC-3723
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I74e27b8a6e1f1a68ed370e01c2f2d406841873c8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25881
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>

3 years agometa-agl-bsp: enable HCI UART for i.MX8MQ EVK 42/25842/4
Scott Murray [Sat, 19 Dec 2020 23:04:41 +0000 (18:04 -0500)]
meta-agl-bsp: enable HCI UART for i.MX8MQ EVK

Changes:
- Remove explicit "not set" options in btusb.cfg kernel configuration
  fragment to avoid over-riding BSP configuration.
- Add helper script and systemd unit to detect HCI UART device on
  i.MX8MQ EVK and EVKB and run hciattach as necessary.  While logic
  has been added for the QCA6174 on the i.MX8MQ EVK, note that it has
  not been tested due to lack of hardware availability to test.

Bug-AGL: SPEC-3545, SPEC-3681

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iae3a58ccfbdb31698ae012ab7d03c9259ac83013
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25842
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>

3 years agoDisable packagefeed-stability in agl-ci feature
Jan-Simon Moeller [Thu, 7 Jan 2021 16:33:53 +0000 (17:33 +0100)]
Disable packagefeed-stability in agl-ci feature

This is added in the release builds only.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I42bd1ebf924ad3d41107588b8e8d2b27b500b2a7