AGL/meta-agl.git
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>
3 years agoagl-compositor_git: Bump agl-compositor SRCREV 70/25670/7
Marius Vlad [Fri, 27 Nov 2020 18:08:55 +0000 (20:08 +0200)]
agl-compositor_git: Bump agl-compositor SRCREV

This agl-compositor bump adds support for loading waltham-transmitter-plugin,
that handles the remote input, and for streaming out buffers by making
use of remoting plugin.

Further fixes have been added, most importantly to handle the case were
applications do not have an app_id set. Along side that, clients using
GDK/GTK toolkit can run correctly.

bdd8dd718496 layout: Do not attempt to activate surfaces that doesn't have a valid app_id
54ab8a8cc447 shell: Throttle the log message
9c605257e22e build/: Allow to build the compositor w/o waltham
16ab9c3ba0e2 shell: Perform wl_list_init() after wl_list_remove()
7239ababba46 desktop: Allow to remove surface from pending list
47d79bb6a1f1 desktop: Do not attempt to advertise the clients if there are none
308078596396 desktop: Delay surface creation until committed
681f5df23492 shell: Destroy weston_transmitter_surface as well
27e99ddcad08 shell: Keep a reference to weston_transmitter_surface
ea7a72cbc284 desktop: Insert a black surface only when the output is a remote type
3d32d6d6daf5 desktop: Group tests for checking against last remote surface
456fe3dd3b28 shell: Push the surface to the remote side
3f05a28017b2 main: Create a remoting output if the waltham plug-in has been loaded
36d2a12f8176 ivi-compositor: Add the ability to distinguish between different types of remoting outputs
a30af04e6f81 main: Add support loading waltham transmitter plug-in
06e9aa93360b layout: Check app_id for remote type of surfaces
dce67758ac77 shell: Avoid creating and inserting black surface
b4d7a5a1861d main: Use the output handler to destroy to black view
fe771c084c2f shell: Advertise app when app_id is available
abe3abc327b7 shell: Avoid advertising applications without app_id set
51a77a42b400 main: Create black surface after listening socket

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: If5ac067121a814e512ea7648af8290774a60558a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25670
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoRenesas: Adapt setup script following changes 37/25737/8
Frederic Marec [Fri, 4 Dec 2020 08:56:42 +0000 (09:56 +0100)]
Renesas: Adapt setup script following changes

Renesas website change for a new one.
We need to change the name of downloaded drivers because of that.

Bug-AGL: SPEC-3715

Change-Id: I7f2ab0335709aa5dee895e6169692e23a9a2f099
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25737
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agometa-agl-profile-core: update pyagl SRCREV 22/25722/2
Scott Murray [Thu, 3 Dec 2020 18:57:19 +0000 (13:57 -0500)]
meta-agl-profile-core: update pyagl SRCREV

Update pyagl SRCREV to pick up:

dcc2f91 Add HVAC bindings and tests

Bug-AGL: SPEC-3660

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I83cf2add180268b1a7136b55af2233db3a13eff4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25722
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 the -nogfx builds for the YP 3.1.4 uprev 28/25728/2
Jan-Simon Moeller [Fri, 4 Dec 2020 05:49:22 +0000 (06:49 +0100)]
Fix the -nogfx builds for the YP 3.1.4 uprev

This fixes
Missing or unbuildable dependency chain was: ['agl-image-minimal-crosssdk', 'waltham-dev']

Bug-AGL: SPEC-3706
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic80bf6cac57b53edda112f38a92884ed8506d74d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25728
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 agopi4: pin kernel to 4.19 prior to the YP 3.1.4 uprev 16/25716/3
Jan-Simon Moeller [Thu, 3 Dec 2020 01:08:51 +0000 (02:08 +0100)]
pi4: pin kernel to 4.19 prior to the YP 3.1.4 uprev

The uprev to YP 'dunfell' 3.1.4 would change the default kernel used by the pi4.
This has an effect on the DTBo's used for booting and in CI.

One effect is that create-combined-dtb won't no longer build.
Also we might have to change away from fkms on kernel 5.4 .

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

3 years agometa-renesas: workaround recipe incompatibilities with YP 3.1.4 15/25715/3
Jan-Simon Möller [Wed, 2 Dec 2020 16:53:04 +0000 (17:53 +0100)]
meta-renesas: workaround recipe incompatibilities with YP 3.1.4

This adds a workaround for the strictly versioned bbappends until
the BSP could be updated.

Bug-AGL: SPEC-3706
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I7267974d8ea8412ad40ca9b351d03a5a107c0e3f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25715
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 agoprofile-core: drop a systemd patch for 3.1.4 YP uprev 57/25657/4
Jan-Simon Moeller [Sat, 28 Nov 2020 18:34:06 +0000 (19:34 +0100)]
profile-core: drop a systemd patch for 3.1.4 YP uprev

The patch 0001-fix-udevd-seclabel-parsing.patch is in upstream YP 3.1.4
Remove the patch.

Bug-AGL: SPEC-3699
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7a0d24178a7e0b8dae16e7f12df1ec565cff5278
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25657
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

3 years agometa-app-framework: update app-framework-main SRCREV 06/25706/3
Scott Murray [Wed, 2 Dec 2020 00:56:34 +0000 (19:56 -0500)]
meta-app-framework: update app-framework-main SRCREV

Pick up changes:

3ea6f4a Merge "Add network and bluetooth permissions to service template"
0a24bbd Add network and bluetooth permissions to service template
ad47803 deal with extra quotes

Bug-AGL: SPEC-2714, SPEC-3509

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie1c9bcb958aa5bda810a68c4e579e81321d55dda
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25706
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
3 years agometa-agl-profile-graphical: add device dependency hook in weston-init 75/25675/5
Scott Murray [Tue, 1 Dec 2020 00:17:29 +0000 (19:17 -0500)]
meta-agl-profile-graphical: add device dependency hook in weston-init

Add a mechanism in the weston-init recipe to allow machine templates
to trigger installation of a systemd drop-in that adds a DRM device
dependency for the weston@.service unit.  Also, tweak the qemux86-64
configuration to enable doing so against dev-dri-card0.device to avoid
startup failures due to the slow i915 initialization on e.g. the
UpSquared.  This approach has been taken since it seems safer for now
to only apply it for qemux86-64 than doing a blanket default that
might then need to be over-ridden for vendor BSPs.

Bug-AGL: SPEC-3518

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I74ce4f878f9aa3f0d555f96a79578f3d8ca72550
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25675
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
3 years agometa-agl-profile-graphical: backport weston drm tear-down fix 74/25674/3
Scott Murray [Tue, 1 Dec 2020 00:09:37 +0000 (19:09 -0500)]
meta-agl-profile-graphical: backport weston drm tear-down fix

As part of the fixes for compositor start up failures on UpSquared,
backport the fix for cleaning up the DRM backend when start up fails.
This does result in start up working on the UpSquared, but usually
after one or more failures, so a systemd dependency to avoid that will
also be added via another change.  However, this particular fix still
seems worth applying as it may be potentially useful for AGL members
that roll their own customized distributions.

Bug-AGL: SPEC-3518

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9a0bcea279c0da80ff3c25bd0e6ab3f137cb6ef1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25674
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 agoweston_8.0.%.bbappend: Add weston_seat_* patch 51/25451/5
Marius Vlad [Fri, 16 Oct 2020 13:54:07 +0000 (16:54 +0300)]
weston_8.0.%.bbappend: Add weston_seat_* patch

Necessary for building out waltham-transmitter-plug-in.

Bug-AGL: SPEC-3601

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Idb2d5e24a28223ae4468a81bcdb5ff68b673b376
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25451
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoweston_8.0.%.bbappend: Remove unused patch 50/25450/5
Marius Vlad [Fri, 16 Oct 2020 09:47:08 +0000 (12:47 +0300)]
weston_8.0.%.bbappend: Remove unused patch

This removes compositor-drm-introduce-drm_get_dmafd_from_view patch
which was already commented out and we no longer make use of it for the
transmitter plug-in (which was the intended audience for).

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I4886d9a00b1b0af90e97622e26e5881088c082be
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25450
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoweston_8.0.%.bbappend: Remove unused patch 49/25449/5
Marius Vlad [Fri, 16 Oct 2020 09:46:46 +0000 (12:46 +0300)]
weston_8.0.%.bbappend: Remove unused patch

This removes main-change-remoting-initialization-timing patch. We no
longer use the weston as compositor so do not need to patch it up.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I54ebb3ff8222e704454bd8d350f37208d0219c30
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25449
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoweston_8.0.%.bbappend: Remove unused patch 48/25448/5
Marius Vlad [Fri, 16 Oct 2020 09:46:13 +0000 (12:46 +0300)]
weston_8.0.%.bbappend: Remove unused patch

This removes ivi-shell-Fix-crash-due-no-transmitter-screen patch. We no
longer make use of ivi-shell so no need to patch it up.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie34b2601dfbbfdce0e2b33844d4761601eb46922
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25448
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agorecipes-test: Remove blobsallad. 39/25639/2
Vasyl Vavrychuk [Tue, 24 Nov 2020 21:08:42 +0000 (23:08 +0200)]
recipes-test: Remove blobsallad.

Fetching blobsallad fails with

  406 Not Acceptable

which causes packagegroup-agl-test build failure.

Remove blobsallad since it is not needed anymore.

Bug-AGL: SPEC-3696
Change-Id: Id05772ea031907e9ec7fb28a370a6757b48a9bc1
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25639
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>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
3 years agoAdd AGL reference hardware feature 19/25619/2
Scott Murray [Thu, 19 Nov 2020 15:23:52 +0000 (10:23 -0500)]
Add AGL reference hardware feature

Add a feature template to enable AGL H3-based reference hardware
support.  A feature is used as opposed to a new machine in order to
meet the requirements that:
* the reference hardware be bootable with a h3ulcb machine image to
  avoid expanding the CI test matrix
* the reference hardware support be optional to not hinder Renesas
  BSP maintenance for the h3ulcb / h3ulcb-kf base machines

If the required kernel changes for the reference hardware get
upstreamed and eventually become available via the Renesas BSP this
can be revisited, as the reference hardware support could then likely
be reduced to just building the extra devicetree file(s).

Bug-AGL: SPEC-3658

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Idcf0b8cfe8eb3c5485663ee25519a9c445362829
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25619
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 agocynagora: Bump version 2.1 52/25552/4
José Bollo [Thu, 12 Nov 2020 08:11:45 +0000 (09:11 +0100)]
cynagora: Bump version 2.1

The version 2.1 fixes a critical database issue.

Bug-AGL: SPEC-3677

Change-Id: I93fadbd1c12799d412724ea3e887d4910c74bbb1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25552
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoAdd the nativesdk-cmake-apps-module-doc package to the SDK 59/25559/2
Jan-Simon Möller [Fri, 13 Nov 2020 15:36:49 +0000 (16:36 +0100)]
Add the nativesdk-cmake-apps-module-doc package to the SDK

This is required to have the sample cmake files present in the SDK.
These are mentioned in the cmake-apps-module documentation.

Bug-AGL: SPEC-3688
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I54012c9ef5c5c55b24d05789df852ba2a3b947c3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25559
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-profile-core: update pyagl SRCREV 78/25578/2
Scott Murray [Sun, 15 Nov 2020 22:02:08 +0000 (17:02 -0500)]
meta-agl-profile-core: update pyagl SRCREV

Update pyagl SRCREV to pick up:

5aed9a3 Add marks for Internet requiring tests
c18df01 Add simple wrapper script
e1e2300 Add CAN value tests

Also add installation of the new wrapper script as /usr/bin/pyagl.

Bug-AGL: SPEC-3684, SPEC-3685

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I78ad81a0b11486929a038a83f9dd3487b875985f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25578
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.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-image-minimal-crosssdk: Add waltham to SDK 45/25545/5
Marius Vlad [Wed, 11 Nov 2020 11:49:37 +0000 (13:49 +0200)]
agl-image-minimal-crosssdk: Add waltham to SDK

Bug-AGL: SPEC-3605, SPEC-3604

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I583c896ffdfeccc0868175fdaf4774d4d6f20b40
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25545
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_%.bbappend: Added bbappend recipe for waltham 52/25452/3
Marius Vlad [Mon, 19 Oct 2020 13:53:57 +0000 (16:53 +0300)]
waltham_%.bbappend: Added bbappend recipe for waltham

Waltham no longer compiles and it is required for
waltham-transmitter-plugin to function. A follow-up task has been added
at SPEC-3647 to further determine what we should do about it. For now,
this adds a bbappend recipe and with it 2 patches that fixes trivial
compilation errors. The third patch is for 'enhancing' the waltham
protocol to pass from the transmitter plug-in to the receiver side
the app_id.

Bug-AGL: SPEC-3601, SPEC-3647

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie01e4ad1db0a64d9d911308250ea63a79f78c6fa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25452
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agometa-agl-distro: Update aarch64 DEFAULTTUNE definition 88/25488/3
Scott Murray [Thu, 29 Oct 2020 16:16:24 +0000 (12:16 -0400)]
meta-agl-distro: Update aarch64 DEFAULTTUNE definition

The i.MX8 crosssdk build failure in SPEC-3626 was root caused to the
DEFAULTTUNE variable being over-ridden via a machine over-ride
triggered by a MACHINEOVERRIDES addition in meta-freescale's
imx8mqevk.conf.  To ensure that aarch64 machines use AGL's desired
aarch64 tuning, switch the DEFAULTTUNE definition done in
aarch64-tune.inc to using the "poky-agl" over-ride that comes after
MACHINEOVERRIDES in the OVERRIDES variable definition.

Bug-AGL: SPEC-3626

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id07f73056dd75ba7cf130376e65f2731302b7e66
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25488
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 ago[RCAR] Fix the soundcard ak4613 audio sink. 10/25510/4
Ronan Le Martret [Thu, 5 Nov 2020 09:59:43 +0000 (09:59 +0000)]
[RCAR] Fix the soundcard ak4613 audio sink.

Now (RCAR BSP 4.1.0) the card ak4613 got two device (the new one is for
the hdmi), so we must specify the device in the wireplumber
configuration.

Bug-AGL: SPEC-3661

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I6fdf4fdc22d93a0558874e447ec5c4254f13d238
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25510
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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>

3 years agoRevert "[RCAR] Fix gcc 10 build failed on u-boot and kernel." 99/25499/2
Ronan Le Martret [Fri, 30 Oct 2020 10:28:00 +0000 (10:28 +0000)]
Revert "[RCAR] Fix gcc 10 build failed on u-boot and kernel."

Bug-AGL: SPEC-3674

This reverts commit 66814faec0f8e589b48af8c22a70d94d96bf0957.

Change-Id: Iad269aac57a58d909ab5ea97110538e5a89cab80
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25499
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 agoUpdate pyagl to latest version 64/25464/2
Jan-Simon Möller [Wed, 21 Oct 2020 16:42:47 +0000 (18:42 +0200)]
Update pyagl to latest version

This will include:
8f44a95 Allow pyagl CAN test test_write_wo_auth to xfail

Change-Id: I275f4a2213758d979cfb02bda7fd18f5386a2fbe
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25464
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 agoAdd dummy sound module for special test cases 32/25432/3
Jan-Simon Moeller [Wed, 14 Oct 2020 13:44:53 +0000 (15:44 +0200)]
Add dummy sound module for special test cases

Enable the dummy sound device as module so we can
load it on demand.

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

3 years ago[RCAR] Update Renesas BSP to v4.1.0 17/25417/5
Ronan Le Martret [Wed, 30 Sep 2020 09:07:02 +0000 (09:07 +0000)]
[RCAR] Update Renesas BSP to v4.1.0

Bug-AGL: [SPEC-3617]

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ic1f4c424f76ff5c357752e32aa8a47ff805273dc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25417
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: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
3 years agoOnly include hda sound modules for qemuall 43/25443/3
Jan-Simon Moeller [Thu, 15 Oct 2020 21:41:13 +0000 (23:41 +0200)]
Only include hda sound modules for qemuall

Limit the HDA sound module inclusion to all qemu targets.

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

3 years agoAdd the codecs for HDA audio by default 40/25440/3
Jan-Simon Moeller [Thu, 15 Oct 2020 17:09:18 +0000 (19:09 +0200)]
Add the codecs for HDA audio by default

Beside the snd_hda driver we also need to enable the codecs for it to work.

This fixes:
hdaudio hdaudioC0D0: Unable to bind the codec

Bug-AGL: SPEC-3612

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic978ea164e2f04b15babd26524f2e335ad21b982
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25440
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 ago[RCAR] Fix cluster-demo image build for RCAR board 42/25442/2
Ronan Le Martret [Fri, 16 Oct 2020 08:33:10 +0000 (08:33 +0000)]
[RCAR] Fix cluster-demo image build for RCAR board

* For  the agl-cluster-demo-platform image we need to apply a patch
  on gstreamer1.0-plugins-bad package. For now the RCAR was exclude, for
  an unkwon reason.

Bug-AGL: SPEC-3632

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ib94edf4717184946dfa20a5319d171757027ce4e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25442
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 ago[RCAR] Fix gcc 10 build failed on u-boot and kernel. 16/25416/5
Ronan Le Martret [Wed, 30 Sep 2020 09:04:59 +0000 (09:04 +0000)]
[RCAR] Fix gcc 10 build failed on u-boot and kernel.

* cherry pick upstream patch to fix u-boot and linux kernel on gcc
  10 build issue.

Bug-AGL: [SPEC-3617]

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I0c85938287861a8efc328b5c08bbf364027f6473
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25416
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
3 years ago[RCAR] Fix smack rule for pvr device 15/25415/6
Ronan Le Martret [Wed, 7 Oct 2020 08:59:55 +0000 (08:59 +0000)]
[RCAR] Fix smack rule for pvr device

The GL driver needs to access to the powervr sync device /dev/pvr_sync (provided by gles-user-module).

If a graphic application wants access to display (SupplementaryGroups=display),
and so GL access, the ACL on /dev/pvr_sync must have:

- a smack label "*"
- a dac (group display)

m3ulcb:~# ls -lZ /dev/pvr_sync
crw-rw----. 1 root display * 10, 59 Jun 29 03:06 /dev/pvr_sync

Bug-AGL: [SPEC-3617]

Change-Id: Ia6472424ac07c60a5c16cb6f48174481e8dd759d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25415
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years ago[wic] race condition: do not update the fstab 12/25412/2
Jan-Simon Moeller [Mon, 12 Oct 2020 18:53:52 +0000 (20:53 +0200)]
[wic] race condition: do not update the fstab

do_image_wic will run in parallel with other jobs
in the current codebase of OE. Then these other
jobs might get the wrong content for
/etc/fstab that is modified by do_image_wic.

To prevent this behaviour, disable the modification in wic.

NOTE: This might have consequences on custom or complex
wks files. Thus allow the user to override this.

Bug-AGL: SPEC-3621
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I03cb589fb592c1d7e0ccfff54535b91ba73974be
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25412
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 agoEnable veth when using nbd boot option 21/25421/2
Jan-Simon Moeller [Tue, 13 Oct 2020 14:22:37 +0000 (16:22 +0200)]
Enable veth when using nbd boot option

This patch enables the VETH kernel config.
We use this to make sure the network binding finds a valid
ethernet device through connman even if 'eth0' is
used by nbd and thus not visible to connman.

Bug-AGL: SPEC-3631
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I056ff6dc8f83bdb707cfbac90562388c4e742b43
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25421
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 agoChange HDA sound to be a module 20/25420/2
Jan-Simon Moeller [Tue, 13 Oct 2020 10:36:52 +0000 (12:36 +0200)]
Change HDA sound to be a module

Setting CONFIG_SND_HDA_INTEL to 'm' .

If it is built-in there are probe calls missing and
quirks are misdetected.

Bug-AGL: SPEC-3612
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I288e5e8d11cd15a1a9fdf5cfeb72d1f1ecc10c5e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25420
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 agoagl-compositor_git: Bump SRCREV 09/25309/6
Marius Vlad [Mon, 21 Sep 2020 12:52:49 +0000 (15:52 +0300)]
agl-compositor_git: Bump SRCREV

This bump brings brings a bug-fix for a corner-case that dealt with
hiding/showing surfaces, and it adds the agl-screenshooter protocol and
a client with it -- useful to allowing users to take a screenshot but
also in CI to have some basic sanity testing.

In detail, the following changes have been added:

9bb8ea6f615650 Use a configuration option for hidding out the cursor
17d86f9b8afa69 main: Enable screenshoter interface when debug option is passed
3ba840cd3a5a2f input: Add basic seat handling
be8288cc5b1270 client/screenshooter: Client for taking screenshots
991714fc7f92ae screenshooter: Add agl-screenshooter protocol
1f888f2050ac50 layout: Set active output NULL when displaying background

Squashed and install agl-screenshooter client in the same commit to
please yocto/OE.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I19d2b3e3176bae3586cb2913aeacbd25fd48bde7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25309
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 agometa-agl-profile-core: update pyagl SRCREV 05/25405/2
Scott Murray [Thu, 8 Oct 2020 13:09:58 +0000 (09:09 -0400)]
meta-agl-profile-core: update pyagl SRCREV

Update pyagl SRCREV to pick up:

8e3e058 Add radio binding tests
333ca4b Fix CAN test data installation
5a66db3 Skip signal composer tests by default
30e5954 CAN test rework to improve robustness
ccd9a05 Remove "regular" test marking
e29a6e1 Add CANService tests
c79ce26 Add timeout ability to AGLBaseService.listener()
9dd59f4 Fix signalcomposer test
c908ef0 Override un/subscribe methods in CANService
41d46f8 Fix AGLBaseService.afbresponse() for EVENT data
b2c9569 Update tox.ini and requirements.txt

Bug-AGL: SPEC-3583, SPEC-3585

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I998d7a7d26e93dc51f1c3f97cbafe3668ed90aa8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25405
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 agometa-app-framework: Handle html5 apps not having debug widgets 68/25368/2
Scott Murray [Thu, 1 Oct 2020 19:54:53 +0000 (15:54 -0400)]
meta-app-framework: Handle html5 apps not having debug widgets

The previous aglwgt.bbclass change to make build/package errors fatal
now trips up on the HTML5 applications, as they do not produce a debug
widget, and the logic changes assumed that all widget builds would
have one.  To handle this, if there is no debug widget present when
doing do_install, check the config.xml file in the release widget and
do not throw an error if the widget type is "text/html".

Bug-AGL: SPEC-3593

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If58c3065464d2d2ea3d78b8ce31304d00fae6504
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25368
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 agoUpdate Licence filename 84/25284/3
Li, Xiaoming [Wed, 16 Sep 2020 02:40:17 +0000 (10:40 +0800)]
Update Licence filename

follow up the change of https://gerrit.automotivelinux.org/gerrit/c/apps/agl-service-radio/+/25283

Change-Id: Ide3d4c533812d72fbed6a8358f15c1fe2a415ce5
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25284
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoRemove overlay for qemuarm.conf 58/25358/2
Jan-Simon Moeller [Tue, 29 Sep 2020 16:03:45 +0000 (18:03 +0200)]
Remove overlay for qemuarm.conf

Upstream uses now a matching machine definition. Remove our overlay.

Bug-AGL: SPEC-3613
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I142de72a8a2f7b978f53e976f6b86be226c1a178
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25358
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 agoAdd CONFIG_SND_HDA to sound.cfg 57/25357/2
Jan-Simon Moeller [Tue, 29 Sep 2020 14:41:56 +0000 (16:41 +0200)]
Add CONFIG_SND_HDA to sound.cfg

Qemu will emulate an HDA/AC97 card. Thus we need the drivers enabled to support sound / audiomixer testing in CI.

Add it to sound.cfg .

Bug-AGL: SPEC-3612

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ia9ac65c14be59568f700883ac79793946a5596f4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25357
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-profile-core: update low-level-can-generator 59/25359/2
Scott Murray [Fri, 25 Sep 2020 20:30:28 +0000 (16:30 -0400)]
meta-agl-profile-core: update low-level-can-generator

Update low-level-can-generator SRCREV to pick up changes:

0a3e354 Update to match current binding expectations

Bug-AGL: SPEC-3551

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2e055a19934353bc5c866b91a8c4083a6cf3c9ab
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25359
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-profile-core: Add support for running gcovr on target 37/25337/3
Scott Murray [Mon, 21 Sep 2020 17:21:10 +0000 (13:21 -0400)]
meta-agl-profile-core: Add support for running gcovr on target

Changes:
- Add recipe for gcovr gcov-based coverage report generating tool.
- Add bbappend to apply patch to gcovr to add a new command-line
  option that allows working with the coverage information from the
  AGL widgets on target.  The goal is to get this change upstream,
  hence not having it in the recipe (which also will be sent for
  inclusion in meta-oe).
- Add a recipe to install an included wrapper script for gcovr
  (unsurprisingly named "gcovr-wrapper") that enables running it
  against bindings on target.  The script supports installing the
  coverage version of a binding and running pyagl tests, afm-test
  test widget, or a user-supplied command before running gcovr in a
  carefully crafted environment that will allow it to work without
  impacting the root filesystem of the target.
- Add gcov-symlinks, gcovr, and gcovr-wrapper to the
  packagegroup-agl-core-devel package group so they will be
  available in agl-devel images.  The gcov-symlinks package adds
  /usr/bin/gcov, which simplifies picking it up for gcovr.

Bug-AGL: SPEC-3589

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia2fdc200e4e0683f93a6e2a863311cd2107c962b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25337
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: Enable overlayfs 36/25336/3
Scott Murray [Mon, 21 Sep 2020 15:14:41 +0000 (11:14 -0400)]
meta-agl-bsp: Enable overlayfs

Add kernel configuration fragment to enable overlayfs.  The initial
planned use is for enabling generating coverage results on target,
but it will also be useful for container runtimes.

Bug-AGL: SPEC-3589

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4dd5ddd2da52eac5b273b01be51339e03786b845
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25336
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-profile-core: update cmake-apps-module SRCREV 41/25341/4
Scott Murray [Tue, 22 Sep 2020 15:33:00 +0000 (11:33 -0400)]
meta-agl-profile-core: update cmake-apps-module SRCREV

Update SRCREV to pick up:

7c03348 Add source and coverage information to widgets

Bug-AGL: SPEC-3589

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I735fd15d57316043b311e3f55b22a5cf9ad98898
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25341
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-app-framework: Make autobuild failures fatal in aglwgt.bbclass 38/25338/5
Scott Murray [Mon, 21 Sep 2020 17:30:20 +0000 (13:30 -0400)]
meta-app-framework: Make autobuild failures fatal in aglwgt.bbclass

Now that all upstream widgets have updated autobuild scripts,
aglwgt.bbclass can stop ignoring autobuild failures, any failure will
now again be caught in do_compile and not at packaging time.

Bug-AGL: SPEC-3593

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Idd70a7decf422fa9390d675ad9a4f2729023f322
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25338
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 agoMaster is open for Kooky Koi development 40/25340/2
Jan-Simon Moeller [Tue, 22 Sep 2020 13:55:16 +0000 (15:55 +0200)]
Master is open for Kooky Koi development

Change the distro config.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7fdd73b7f2d0c7e83c483d3a6d1ed73034e42ff6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25340
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 distro config after release of rc4 57/25257/2
Jan-Simon Moeller [Mon, 14 Sep 2020 16:56:13 +0000 (18:56 +0200)]
Change distro config after release of rc4

Change the distro config.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I04ef32a1a7f59a7b2f7cd67fb566c9ebc82fa6a3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25257
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 dependency on qtwebsockets from taskmanager binding 64/25264/2
Raquel Medina [Thu, 10 Sep 2020 10:08:33 +0000 (12:08 +0200)]
remove dependency on qtwebsockets from taskmanager binding

Bug-AGL: SPEC-3571
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I54309f4fd65a1456baf6dcef6029d756ebf48c81
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25264
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 agoChange the distro configuration for JJ rc4 44/25244/2 9.99.4 jellyfish/9.99.4 jellyfish_9.99.4
Jan-Simon Möller [Fri, 11 Sep 2020 21:37:38 +0000 (23:37 +0200)]
Change the distro configuration for JJ rc4

Adapt the distro config for 9.99.4 .

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