AGL/meta-agl.git
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

3 years agofix mis-spelling in markdown file. 58/25858/3
seigot [Mon, 4 Jan 2021 10:48:28 +0000 (19:48 +0900)]
fix mis-spelling in markdown file.

fix mis-spelling "recieps" to ""recipes" in meta-agl.md.
Bug-AGL: SPEC-3723
Signed-off-by: seigot <s.takada.3o3@gmail.com>
Change-Id: Ie6af96d3c88f6a5f07084b64dcf073a4cc7edc43
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25858
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agometa-agl-bsp: add kernel-devicetree to nogfx rcar3 images 66/25866/2
Scott Murray [Tue, 5 Jan 2021 23:49:47 +0000 (18:49 -0500)]
meta-agl-bsp: add kernel-devicetree to nogfx rcar3 images

Shift the IMAGE_INSTALL_append of the kernel-devicetree package to
agl_rcar-nogfx.inc so that it will be added to the *ulcb-nogfx images
in addition to the *uclb images.  This fixes booting the nogfx images
from SD cards created with the wic.xz image.

Bug-AGL: SPEC-3754

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If4868326f50e45046fcce7b5d6ba43f13f746ec1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25866
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-pipewire: restore rcar3 Wireplumber sink configuration 65/25865/2
Scott Murray [Tue, 5 Jan 2021 23:36:21 +0000 (18:36 -0500)]
meta-pipewire: restore rcar3 Wireplumber sink configuration

The most recent fixes to the Wireplumber sink configuration for the
rcar3 boards (for SPEC-3661) seem to have accidentally been dropped
during the changes for the layer reorganization done for SPEC-3723.
Restore them to get the expected default output sink behavior.

Bug-AGL: SPEC-3661

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2a81041629e81746d6990e5604db483e0583ad46
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25865
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 agoAdd SSTATE and PREMIRROR settings to aglci feature
Jan-Simon Möller [Wed, 6 Jan 2021 18:37:27 +0000 (19:37 +0100)]
Add SSTATE and PREMIRROR settings to aglci feature

This adds the CI mirror settings to the template.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I5247ce27564072bf410240ccdb977724520cc44d

3 years agoPost release update to distro config 64/25864/2
Jan-Simon Moeller [Tue, 5 Jan 2021 23:32:51 +0000 (00:32 +0100)]
Post release update to distro config

M1 is done.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I14154d33edb2c484eacbd9df99e2936eb9c8606b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25864
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-core: fix IMAGE_FSTYPES override 59/25859/2
Scott Murray [Mon, 4 Jan 2021 17:02:16 +0000 (12:02 -0500)]
meta-agl-core: fix IMAGE_FSTYPES override

The anonymous python snippet in agl-image-minimal.inc to reset
IMAGE_FSTYPES needs to be before the inherit of core-image to
actually take effect when building.  This was not immediately
apparent from the variable expansion information visible in
"bitbake -e" output.  A comment explaining the snippet and this
requirement has been added for clarity.

Bug-AGL: SPEC-3741

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

3 years agoPrepare Kooky Koy Milestone 1 v10.91.0 32/25832/4 10.91.0 koi/10.91.0 koi_10.91.0
Jan-Simon Möller [Fri, 18 Dec 2020 23:27:05 +0000 (00:27 +0100)]
Prepare Kooky Koy Milestone 1 v10.91.0

Update the distro manifest.

Bug-AGL: SPEC-3737
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ic68cc627c9d6d1e5329a4ef8b2afbde91eb56359
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25832

3 years agoIgnore BSP IMAGE_FSTYPES changes 46/25846/3
Jan-Simon Möller [Mon, 21 Dec 2020 18:10:10 +0000 (19:10 +0100)]
Ignore BSP IMAGE_FSTYPES changes

Add anonymous python snippet in agl-image-minimal.inc to reset
the value of IMAGE_FSTYPES to AGL_DEFAULT_IMAGE_FSTYPES plus
AGL_EXTRA_IMAGE_FSTYPES (i.e. the value defined in poky-agl.conf).
This is a very big hammer, but at present seems the best way to
avoid the build time/space costs from BSP appends adding extra
types that are not required.

Bug-AGL: SPEC-3741
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Idad57d0371ae59058b2b1acffbeae85db97aa91d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25846

3 years agoSPEC-3723: restructure meta-agl 69/25769/13
Jan-Simon Moeller [Tue, 8 Dec 2020 10:12:45 +0000 (11:12 +0100)]
SPEC-3723: restructure meta-agl

Goal is to reach a minimal meta-agl-core as base for IVI and IC work at the same time.
Trim dependencies and move most 'demo' related recipes to meta-agl-demo.

v2: changed to bbapend + .inc , added description
v3: testbuild of all images
v4: restore -test packagegroup and -qa images, compare manifests and adapt packagegroups.
v5: rebased
v6: merged meta-agl-distro into meta-agl-core,
    due to dependency on meta-oe, moved -test packagegroup and -qa images
      to own layer meta-agl-core-test
v7: Fixed comments from Paul Barker
v8: Update the markdown files
v9: restore wayland/weston/agl-compositor recipes/appends, reworked to
    move app f/w specific changes to bbappends in meta-app-framework and
    only demo specific weston-init changes to meta-agl-demo
v10: fix s/agldemo/aglcore/ missed in weston-init.bbappend

Description:

This patch is part 1 out of 2 large patches that implement the layer rework
discussed during the previous workshop. Essentially meta-agl-core is the
small but versatile new core layer of AGL serving as basis for
the work done by the IC and IVI EGs.
All demo related work is moved to meta-agl-demo in the 2nd patchset.
This should be applied together as atomic change.

The resulting meta-agl/* follows these guidelines:
- only bsp adaptations in meta-agl-bsp
- remove the agl-profile-* layers for simplicity
-- the packagegroup-agl(-profile)-graphical and so on
   have been kept in meta-agl-demo
- meta-agl-profile-core is now meta-agl-core
- meta-agl-core does pass yocto-check-layer
-- therefore use the bbappend + conditional + .inc file
   construct found in meta-virtualization
- meta-agl/meta-security has been merged into meta-agl/meta-app-framework
- meta-netboot does pass yocto-check-layer
- meta-pipewire does pass yocto-check-layer

Migration:
All packagegroups are preserved but they're now enabled by 'agl-demo'.

Bug-AGL: SPEC-3723

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia6c6e5e6ce2b4ffa69ea94959cdc57c310ba7c53
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25769

3 years ago[RCAR] disable a default config in kernel 15/25815/4
ronan [Tue, 15 Dec 2020 20:17:10 +0000 (21:17 +0100)]
[RCAR] disable a default config in kernel

The meta-rcar layer activates by default the configuration MTD_RENESAS_RPC_HYPERFLASH in kernel.
MTD_RENESAS_RPC_HYPERFLASH is not upstream, it's a meta-rcar specific feature.
MTD_RENESAS_RPC_HYPERFLASH feature in the kernel need an firmware update on the board and
can be considered (IMHO) as a security issues in production.

We need to set DISABLE_RPC_ACCESS to deactivate it.

v2 (jsmoeller): Use ?= for DISABLE_RPC_ACCESS .

Bug-AGL: SPEC-3674

Signed-off-by: ronan <ronan.lemartret@iot.bzh>
Change-Id: Iefaf9ca115d1fb805b0d3766fc0c800b74daecee
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25815
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 agoAdd RISC-V Support 06/25106/8
Alistair Francis [Tue, 11 Aug 2020 18:11:14 +0000 (11:11 -0700)]
Add RISC-V Support

This is initial patches to add RISC-V support to AGL.

This should allow building AGL for the qemuriscv64 MACHINE.

Tested with the latest branches setup by running repo following
the AGL instructions.

This was also tested with the latest master OE.

Currently I can boot console only images, the GUI isn't working yet,
although the splash screen works.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change-Id: I89ef13da8fb273f2a016fa3d1f0735f4c2a54bec
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25106
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agotemplates: qemuriscv64: Initial commit of qemuriscv64 machine 05/25105/7
Alistair Francis [Tue, 11 Aug 2020 18:04:16 +0000 (11:04 -0700)]
templates: qemuriscv64: Initial commit of qemuriscv64 machine

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change-Id: I50a966dcbe051ae5369e28291e5bb62cd40267b9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25105
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoriscv64-tune.inc: Initial commit of RISC-V tune 04/25104/5
Alistair Francis [Tue, 11 Aug 2020 18:03:11 +0000 (11:03 -0700)]
riscv64-tune.inc: Initial commit of RISC-V tune

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change-Id: I8e575ae9f3d49adfe82ba6473fafa3ee676f6683
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25104
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agopoky-agl.conf: Build the riscv64 QEMU target 02/25102/4
Alistair Francis [Tue, 11 Aug 2020 18:00:11 +0000 (11:00 -0700)]
poky-agl.conf: Build the riscv64 QEMU target

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change-Id: I534d40d091717d9e47b691ec7d67e4fc93080d64
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25102
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agohsdk/arc: remove incompatible packages from packagegroups 61/25761/2
Jan-Simon Moeller [Mon, 7 Dec 2020 12:26:32 +0000 (13:26 +0100)]
hsdk/arc: remove incompatible packages from packagegroups

These packages are not yet supported on arc. Exclude them from the build.

Bug-AGL: SPEC-3719

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I3c93fc792343b4d45a66d0a1062b1bf49669a004
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25761
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 agoInclude meta-arm-toolchain layer when using meta-arm 01/25801/2
Paul Barker [Thu, 10 Dec 2020 10:57:59 +0000 (10:57 +0000)]
Include meta-arm-toolchain layer when using meta-arm

After recent changes on both the dunfell and master branches of the
meta-arm layer, we now need to also include the meta-arm-toolchain layer
(from the same repository) to allow builds to succeed.

Bug-AGL: SPEC-3732

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Change-Id: I6a3e430edaa87d1f684f83a7211a59c62f120add
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25801
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-bsp: Update i.MX8MQ EVK support for latest dunfell 72/25772/3
Scott Murray [Tue, 8 Dec 2020 14:12:57 +0000 (09:12 -0500)]
meta-agl-bsp: Update i.MX8MQ EVK support for latest dunfell

The layer updates to go to the latest 3.1.4 Yocto dunfell release
broke the imx8mqevk and imx8mqevk-viv builds, though for different
reasons.

imx8mqevk fixes:
- Remove the now upstreamed etnaviv kernel patches that had been
  backported by Walter.
- Turn off btrfs support in the linux-fslc-imx kernel configuration.
  This is required due to meta-freescale having a 5.4 kernel new
  enough to need a lttng-modules fix for btrfs that has not yet been
  backported from the Yocto master branch to dunfell.
- Update the PREFERRED_VERSION over-rides in agl_imx8mqevk.inc to
  match the new versions of libdrm and gstreamer in poky.

imx8mqevk-viv fixes:
- Add weston_8.0.0.imx.bbappend to work around the broken addition
  of a PACKAGECONFIG_remove of "x11 wayland" in the recipe in
  meta-freescale.  Upstream will be engaged to drive getting the
  change reverted.

Bug-AGL: SPEC-3725

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I259f2d048a9de653a0060afcef17c4410093783a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25772
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: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
3 years agoAdd README files to layers 68/25768/3
Jan-Simon Moeller [Tue, 8 Dec 2020 10:07:28 +0000 (11:07 +0100)]
Add README files to layers

This is a requirement of the yocto-check-layer script.

Bug-AGL: SPEC-3724

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I60c41d77d4b83eccf4e69651c1fe7cd334a16cc5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25768

3 years agopackagegroup-agl-test: Install glmark2. 74/25774/2
Vasyl Vavrychuk [Tue, 8 Dec 2020 15:12:05 +0000 (16:12 +0100)]
packagegroup-agl-test: Install glmark2.

It can help test graphics.

Bug-AGL: SPEC-3700
Change-Id: Ib6a533bedf3320af0336c05327ee99c275d02e2f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25774
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoglmark2: Fix glmark2 window does not show up. 73/25773/2
Vasyl Vavrychuk [Tue, 8 Dec 2020 14:48:28 +0000 (15:48 +0100)]
glmark2: Fix glmark2 window does not show up.

For this, update it to the latest version that includes XDG shell
support which is required for agl-compositor.

wayland-native dependency is added because now glmark2 executes
wayland-scanner during build.

Issue: SPEC-3726
Change-Id: I7553cc323042655dc0620574aec1b9b1506ba5bd
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25773
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agopackagegroup-agl-test: Install nmap. 36/25636/5
Vasyl Vavrychuk [Mon, 23 Nov 2020 19:34:43 +0000 (21:34 +0200)]
packagegroup-agl-test: Install nmap.

nmap package provides ncat which was written for the Nmap Project as a
much-improved reimplementation of the venerable Netcat for the 21st
century [1].

It can be used to verify vsock communication [2].

Connect from driver VM to device VM:

On device VM run: `ncat --vsock -l 1234`
On driver VM run: `ncat --vsock 2 1234`, here 2 is VMADDR_CID_HOST, see
[3].

Connect from device VM to driver VM:

On driver VM run: `ncat --vsock -l 1234`
On device VM run: `ncat --vsock CID 1234`, here CID should be replaced
with driver VM CID.

[1]: https://nmap.org/ncat/
[2]: `main socat` section "AF_VSOCK SOCKETS"
[3]: `man vsock`

Bug-AGL: SPEC-3700
Change-Id: I92043eca33111f1921f739f355f35fda01467efb
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25636
Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agopackagegroup-agl-test: Install evtest. 40/25640/4
Vasyl Vavrychuk [Tue, 24 Nov 2020 15:08:22 +0000 (17:08 +0200)]
packagegroup-agl-test: Install evtest.

evtest can help in input device testing and debugging.

Bug-AGL: SPEC-3700
Change-Id: Ib7a4b792006b71b51730e8d202548d2fa739aeca
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25640
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>