AGL/meta-agl-devel.git
2 years agoPrepare master for new framework integration 54/26754/2 sandbox/jsmoeller/rmappfw
Jan-Simon Moeller [Mon, 18 Oct 2021 12:24:52 +0000 (14:24 +0200)]
Prepare master for new framework integration

During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.

To prepare the integration of it, we remove the deprecated components:
- meta-speech-framework and the voiceagent services

Bug-AGL: SPEC-4121

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

2 years agovirtualization/linux-yocto: Add SCMIv3.0 Sensor Extensions patches. 20/26720/3
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:05:23 +0000 (21:05 +0300)]
virtualization/linux-yocto: Add SCMIv3.0 Sensor Extensions patches.

IIO SCMI driver assumes that those changes are present. It fails to
compile without them.

Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: Ia0011b5b621fc08321a1d74f3ae00e2780f3188a

2 years agovirtualization/linux-yocto: Enable IIO SCMI. 19/26719/3
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:03:58 +0000 (21:03 +0300)]
virtualization/linux-yocto: Enable IIO SCMI.

Snippet has been updated using menuconfig/diffconfig tasks.

Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I7c885d818f6ae80804f5ae9446072af05332bdf2

2 years agovirtualization/linux-yocto: Backport IIO SCMI based sensors driver. 18/26718/3
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:01:22 +0000 (21:01 +0300)]
virtualization/linux-yocto: Backport IIO SCMI based sensors driver.

This patch series is the latest implementation of ARM SCMI Protocol
based IIO Device. Patch was cherry-picked from branch [1] created by IIO
maintainer.

[1]: https://lore.kernel.org/lkml/20210311210844.34371d8d@archlinux/

Bug-AGL: SPEC-3865
Upstream-Status: Submitted [https://lore.kernel.org/lkml/20210309231259.78050-1-jbhayana@google.com/]
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: Idef6f0630887c49c1d8e651a5ac753ad74b20dc0

2 years agovirtualization/linux-yocto: Enable virtio SCMI driver. 17/26717/3
Andriy Tryshnivskyy [Mon, 4 Oct 2021 17:59:45 +0000 (20:59 +0300)]
virtualization/linux-yocto: Enable virtio SCMI driver.

Snippet has been generated using menuconfig/diffconfig tasks.

Enabled VIRTIO_SCMI and ARM_SCMI_PROTOCOL.

Switch off enabled by default ARM_SCMI_POWER_DOMAIN since it is not
planned to be used at the moment.

Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: Ic4d3623c0fe330513a04b503c2037f0769d6ce69

2 years agovirtualization/linux-yocto: Backport virtio SCMI driver. 16/26716/3
Andriy Tryshnivskyy [Mon, 4 Oct 2021 17:31:34 +0000 (20:31 +0300)]
virtualization/linux-yocto: Backport virtio SCMI driver.

This patch series is a "RFC v2" implementation of a driver for
virtio SCMI device [1].

[1]: https://github.com/oasis-tcs/virtio-spec/blob/master/virtio-scmi.tex

Bug-AGL: SPEC-3865
Upstream-Status: Submitted [https://lore.kernel.org/linux-arm-kernel/20201105212116.411422-1-peter.hilber@opensynergy.com/]
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I653cb44769232ae5434bd54169910fd0518f1db8

2 years agoReturn agl-egvirt feature 23/26723/1
Vasyl Vavrychuk [Mon, 4 Oct 2021 19:20:37 +0000 (21:20 +0200)]
Return agl-egvirt feature

This feature enables meta-agl-devel/meta-egvirt layer intended for work
in progress changes by eg_virt. In future, those changes can be moved to

  meta-agl/meta-agl-bsp/virtualization-layer

This partially reverts commit:

  0abaf1d Cleanup of meta-agl-devel for HH

Bug-AGL: SPEC-3865
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: Ia374641c876980c99b7f414f2a515dd9eb22ffea

2 years ago[PATCH] meta-agl-jailhouse: Add support for virtio over IVSHMEM block 67/26567/7
Anmol [Fri, 20 Aug 2021 22:39:46 +0000 (00:39 +0200)]
[PATCH] meta-agl-jailhouse: Add support for virtio over IVSHMEM block

This patch adds the support for the virtio over IVSHMEM block for AGL with Jailhouse.

Current state of the Patchset:
- Add PCI devices from (00:0c.0 - 00:0f.0), for various virtio devices(virtio-ivshmem-{block, console, NET, custom}), primarily for virtio-blk.
- Add Common memory regions for virtio-blk in the Root-Cell and Non-Root-Linux-Cell configurations.
- Add Documentation `meta-agl-jailhouse.md` for usage and Instructions.
- Add `virtio-ivshmem-block` and `virtio-ivshmem-console` recipes for ott Kernel modules.

v2 (Anmol): Update `agl-linux-x86-demo.c` and `qemu-agl.c` for PCI macros and small descriptions for IVSHMEM PCI devices.
V3 (Anmol):
           - [RFC] Add packagegroup for the virtio-ivshmem-{block, console} applications.
           - Update the `meta-agl-jailhouse.md` for architecture specific information.
v4 (Anmol): Update recipe files according to the new syntax(3.4-honister).
v5 (Anmol):
           - Update recipe files for virtio-ivshmem binaries.
           - Update `50_local.conf.inc` for `packagegroup-agl-jailhouse`.
v5 (Anmol): Update syntax for `50_local.conf.inc`.

Signed-off-by: Anmol <anmol.karan123@gmail.com>
Change-Id: I1bed4c6f1d3d9b0792a18544ad18edca85a5f4f7

2 years agoaac-module-system-audio: Update PipeWire gstreamer plugins 97/26597/1
Scott Murray [Thu, 26 Aug 2021 17:24:34 +0000 (13:24 -0400)]
aac-module-system-audio: Update PipeWire gstreamer plugins

Update PipeWire sink and source to handle drop of pwaudiosink and
pwaudiosrc in favor of pipewire* replacements.  However, testing
has found that Alexa does not work with pipewiresrc (input hangs
after first interaction), so for now use "alsasrc device=pipewire"
as a workaround as recommended by upstream.  This should be
revisited when PipeWire is next updated.

Bug-AGL: SPEC-4058

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I558d87fbdb9b0b9d9af72913c865943d5c03c2bb

2 years agoConvert to new override syntax 65/26565/1
Scott Murray [Fri, 20 Aug 2021 17:57:33 +0000 (13:57 -0400)]
Convert to new override syntax

This is mostly the result of running a slightly customized version
of the convert-overrides.py script from poky with additional
overrides added.  A few minor fixups were done by hand afterwards
during a review of the changes.

The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.

Bug-AGL: SPEC-4052

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I0bbae97331abee1367b368ce54ab39e3162a12ec

2 years agoAdd placeholders for agl-ros2 56/26556/1
Jan-Simon Möller [Tue, 10 Aug 2021 09:54:46 +0000 (11:54 +0200)]
Add placeholders for agl-ros2

These are the placeholders for the GSoC project.

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

2 years agometa-agl-jailhouse: Update the Jailhouse configuration files 46/26546/13
Anmol [Tue, 27 Jul 2021 20:15:00 +0000 (22:15 +0200)]
meta-agl-jailhouse: Update the Jailhouse configuration files

The current state and Information about the patch:
- Updated Jailhouse root-cell(qemu-agl.c), apic-demo(agl-apic-demo.c), ivshmem-demo(agl-ivshmem-demo.c).
- Jailhouse non-root cell(agl-linux-x86-demo.c) is also working, but need some more tweak for UART redirection.
- Linux Kernel updated to the latest `queues/jailhouse` kernel branch.
- Updated the `recipes-kernel` structure to a more custom one.
- Updated conf/local.conf according to new `recipes-kernel` structure.
- Removed the Linux Kernel patches from the `recipes-kernel` as updated kernel already contain those patches.

This patch is the initial block for the virtio-blk support.

v2 (Anmol): Add descriptive comments for serial in cell configuration files
v3 (Anmol): Remove the ` IMAGE_INSTALL_append` and `EXTRA_IMAGE_FEATURES` from `50_local.conf.inc`
v4 (Anmol): Minor changes in `50_local.conf.inc`
v5 (jsmoeller): add meta-arm-toolchain to fix layer dependencies
v6 (jsmoeller): remove linux-yocto_5.14%.bbappend
v7 (Anmol):
    - Update the `SRCREV` for Jailhouse in `jailhous_git.bb`
    - Remove the patch `configs: arm64: Add support for RPi4 with more than 1G of memory` from `SRC_URI` in `jailhouse_git.bb`
    - Add the helper-scripts for the `runqemu-x86_64` and non-root linux cell.
v8 (Anmol): Updated the `agl-ivshmem-demo.c`.
v9 (Anmol):
    - Resolve build errors and update `jailhouse_git.bb`.
    - Add `PERF_forcevariable := "bash"` in `50_local.conf.inc`.
v10 (Anmol): Disable perf build.
v11 (jsmoeller): update qemu-agl.c to the 2G setup of runqemu after runtime test
v12 (jsmoeller): add sample inmate tarball (to be used later)

Change-Id: Idfa3e513488b5ecc8dfe9573f15c4b1c0edfd54f
Signed-off-by: Anmol <anmol.karan123@gmail.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agolxc-host-image-minimal: Handle Kingfisher image names 45/26545/2
Scott Murray [Tue, 27 Jul 2021 19:51:51 +0000 (15:51 -0400)]
lxc-host-image-minimal: Handle Kingfisher image names

To handle the Kingfisher supporting ULCB builds modifying the
IMAGE_LINK_NAME variable, add a MACHINE_SUFFIX variable that is
defined based on a new "kingfisher" feature being present in
AGL_FEATURES.  Since so far only one platform has this issue,
this simple approach seems better than attempting to derive
the suffix from IMAGE_LINK_NAME using anonymous Python.

Bug-AGL: SPEC-4023

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ida769fbeb57208934f738dc5d1c867ab63c40bff

2 years agometa-agl-lxc: integrate pipewire-ic-ipc and pull in agl-pipewire 04/26504/3
George Kiagiadakis [Thu, 15 Jul 2021 13:38:49 +0000 (16:38 +0300)]
meta-agl-lxc: integrate pipewire-ic-ipc and pull in agl-pipewire

pipewire-ic-ipc offers a small unix socket server that listens
for the SUSPEND & RESUME requests from its clients and sets the
"suspend.playback" metadata on pipewire. This allows wireplumber
instances to catch changes to this metadata property and suspend
or resume playback from applications appropriately.

The purpose of this is to allow Instrument Cluster applications to
suspend audio from other containers and play certain sounds exclusively.

The server-side is implemented as a pipewire module that gets loaded
in a separate pipewire process and behaves as a client to the actual
pipewire daemon. It is not affected by pipewire daemon's stops & reloads,
as it re-connects automatically to pipewire and synchronizes the
"suspend.playback" status.

The icipc-client application is an example that is not meant to be
used in production. IC applications are expected to use the library
directly. It is provided for testing & demo purposes.

v2:
 - removed the client from the host image
 - updated the pipewire-ic-ipc git URI to point to AGL's gerrit

Bug-AGL: SPEC-4027
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I9e326797ce899c2579a0d7794202091e455c6c98

2 years agoDrop agl-virt dependency 82/26482/4
Naoto Yamaguchi [Mon, 5 Jul 2021 05:40:23 +0000 (05:40 +0000)]
Drop agl-virt dependency

The agl-lxc depend to only lxc from meta-virtualization.  On the other hand,
current setting depend to agl-virt to import meta-virtualization.
In this case, the change of agl-virt propagate to agl-lxc, it's broken to
quality assessment software stack.
This patch drop to agl-virt dependency.

Bug-AGL: SPEC-4014

Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Change-Id: I7863a00576ead96b33428907a67c0ab6af33358c

2 years agometa-agl-jailhouse: Fix memmap command line parameter 84/26484/1
Anmol [Mon, 5 Jul 2021 21:22:46 +0000 (23:22 +0200)]
meta-agl-jailhouse: Fix memmap command line parameter

Jailhouse requires a contiguous piece of RAM for itself and additional
cells. This has to be preallocated during emulation of the image and
is typically done by adding `memmap=<size>$<memory_address>`, and here
escape sequencing before the dollar should only be added  when there is
a need to put this parameter in GRUB2 variables in /etc/default/grub.

Fix it by removing `\` escape sequence from memmap command line parameter
of the virtual machine's kernel.

Signed-off-by: Anmol <anmol.karan123@gmail.com>
Change-Id: I9981a359d1cb00900153e7692c6c1175cb0a3ce6

2 years agometa-agl-lxc: Update host kernel configuration 62/26462/2 12.90.0 marlin/12.90.0 marlin_12.90.0
Scott Murray [Sun, 27 Jun 2021 19:06:18 +0000 (15:06 -0400)]
meta-agl-lxc: Update host kernel configuration

Add a generic kernel bbappend and associated conditional include
file that uses the new AGL_KCONFIG_FRAGMENTS to disable all other
AGL provided kernel configuration, replacing it with a local fragment
to enable minimal required features for LXC support.  The previous
linux-renesas bbappend to leverage the meta-virtualization provided
kernel configuration has been removed, and the agl-lxc template has
been updated to drop the "virtualization" distro feature (thus
disabling all meta-virtualization additions).

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iea91c3e273fe01d764adb644efc212f92e4a92fe

2 years agometa-agl-lxc: Fix lack of gles modules in demo image 65/26465/1
Hiroyuki Ishii [Tue, 29 Jun 2021 07:12:14 +0000 (16:12 +0900)]
meta-agl-lxc: Fix lack of gles modules in demo image

With current integration of lxc-host-image-demo for rcar-gen3,
weston fails to start due to lack of gles modules so that demo
application doesn't come up. This change fixes it with adding
kernel-module-gles into lxc-host-image-demo image, only for
rcar-gen3 boards as of this moment (since lxc-host-image-demo is
maintained only for h3/m3 ulcb boards currently).

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I7874b125e6937c43bc706f63c971cb33d1a47a6c

2 years agometa-agl-lxc: add packagegroup-core-tools-profile bbappend 57/26457/1
Scott Murray [Thu, 24 Jun 2021 18:59:47 +0000 (14:59 -0400)]
meta-agl-lxc: add packagegroup-core-tools-profile bbappend

Add a bbappend for packagegroup-core-tools-profile to disable the
LTTng related tools and perf when building for container guests to
avoid issues with kernel source dependencies.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I394495bcc36505103066c62dd075edd1c5c360b0

2 years agometa-agl-lxc: add initial rcar3 support 33/26433/1
Scott Murray [Mon, 14 Jun 2021 23:38:23 +0000 (19:38 -0400)]
meta-agl-lxc: add initial rcar3 support

Note that these changes do allow building and booting the
lxc-host-image-demo image, and the cluster-demo container does
get autostarted, but currently Weston fails to start in the
container.

Changes:
- Add a meta-rcar-gen3 dynamic layer with some bbappends to
  disable problematic kernel module dependencies when building for
  the container guest configuration.  The ones used are based on
  the ones in the IC EG container-bsp github repo, but fewer are
  needed due to the use of linux-dummy, and the changes are done
  via aglcontainerguest overrides.
- Add linux-renesas bbappend that disables the problematic default
  addition of virtio.scc to KERNEL_FEATURES done in the
  meta-virtualization layer, which currently is dependent on the
  file coming from the linux-yocto kernel metadata, which is not
  the case with linux-renesas.  Upstream have been engaged on this
  being a problem, so this may not be required in the future.
- Add lxc.scc to KERNEL_FEATURES in linux-renesas bbappend to
  leverage the .cfg from meta-virtualization.
- Borrow a couple of tweaks from the IC EG container-bsp github
  repo to disable firmware and disable the serial consoles in the
  container guest build.

Bug-AGL: SPEC-3953

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I30fe6a940c5c44ee2ad71410a97a4495829c0b45

2 years agoAdd meta-agl-lxc 19/26419/1
Scott Murray [Mon, 7 Jun 2021 22:26:50 +0000 (18:26 -0400)]
Add meta-agl-lxc

Add meta-agl-lxc layer with LXC container integration recipes, and
"agl-lxc" feature to enable its use.  The changes are based on the
previous prototypes by Tadao Tanikawa and the updates done for the
trial integration layers on the agl-ic-eg github by Naoto Yamaguchi,
Hiroyuki Ishii, and Jan-Simon Moeller.

The layer can be used by running aglsetup.sh with just the "agl-lxc"
feature, then building lxc-host-image-demo with bitbake.

Notes:
- The agl-lxc feature enables a "agl-container-guest" multiconfig
  configuration for building the guest image(s).  This suffices for
  demonstrating integrated builds with multiconfig, but may change
  in the future with extension of aglsetup.sh to add more
  flexibility.
- There are guest-image-minimal and guest-image-cluster-demo recipes
  that are intended as a base container template and a demo of its
  use.  The cluster-demo image contains the demo cluster reference
  UI application, and is roughly equivalent to what is named
  cluster-guest in the agl-ic-eg trial integration configuration.
- There are likewise lxc-host-image-minimal and lxc-host-image-demo
  images.  The host demo is configured to pull in the cluster-demo
  guest image, and configuration has been added such that it will
  automatically boot and start the cluster reference UI application.
- Unlike previous work where the guest container image is added to
  the host image via a recipe that packages up the guest image's
  contents, a more direct scheme is used where the guest image is
  unpacked inside the host image rootfs via the use of the
  ROOTFS_POSTPROCESS_COMMAND mechanism.  This avoids some hassles
  around potentially mismatched user and group id lists in the host
  and guest images, with the additional benefit of being faster.
  However, using this scheme is to some degree only necessary due to
  the use of LXC with unpacked guest image hierarchies.  With other
  container tooling that uses e.g. OCI images, a revert to using
  packages may be preferable.
- The reusable logic in the lxc-host-image-minimal recipe makes some
  assumptions wrt naming.  They are:
  - guest image names have the format guest-image-<name>
  - guest images have a corresponding LXC configuration file recipe
    with the name lxc-config-<name>
  The intent is to simplify reuse of the base minimal recipes, but
  this can be reworked if deemed too restrictive.
- packagegroups for e.g. pipewire and weston have purposefully not
  been defined at this time.  It seems better to wait until it is
  more obvious how useful they would be.

Limitations:
- The host image is currently rebuilt every time to work around an
  issue with multiconfig dependencies that is being investigated
  upstream.  This can hopefully be removed in the near future.
- The demo images are currently in meta-agl-lxc for convenience.
  It may make more sense for them to reside in another location to
  ease shifting some things into meta-agl.
- At the moment, only qemux86-64 has been tested.  The changes to
  enable host and guest configuration tweaks for the rcar3 BSP need
  further investigation and discussion on where they should be
  maintained.

Bug-AGL: SPEC-3953, SPEC-3955

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I69d41f1d1c736f05cf3b4997dbda147879e2e25d

2 years agometa-agl-drm-lease: Improve usability 18/26418/1 11.92.0 lamprey/11.92.0 lamprey_11.92.0
Scott Murray [Mon, 7 Jun 2021 20:54:19 +0000 (16:54 -0400)]
meta-agl-drm-lease: Improve usability

Changes:
- Switch to using AGL_FEATURES instead of just directly modifying
  IMAGE_INSTALL in the feature template.
- Move rcar3 kernel recipe bbappend to a dynamic-layer addition so
  the layer is usable on other platforms.

Bug-AGL: SPEC-3955

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie109cc3606d68d354aae9d902a60ef82272244bf

3 years agofix mis-spelling in markdown file 13/26313/1 11.91.0 lamprey/11.91.0 lamprey_11.91.0
seigot [Fri, 30 Apr 2021 09:08:17 +0000 (18:08 +0900)]
fix mis-spelling in markdown file

fix mis-spelling "mesauring" to "measuring".
Bug-AGL: SPEC-3507

Signed-off-by: seigot <s.takada.3o3@gmail.com>
Change-Id: I39fd6fe96715eb8e9c77e4d2ab9d0878c4379065

3 years agoDivide package drm-lease-manager and libdlmclient 85/26285/4
Naoto Yamaguchi [Sun, 18 Apr 2021 13:22:09 +0000 (22:22 +0900)]
Divide package drm-lease-manager and libdlmclient

In guest container, the dlm client (weston,kmscube) is only to use
client library, but all file is installing to guest.
This patch divide package drm-lease-manager and libdlmclient.

Bug-AGL: SPEC-3892

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Change-Id: I3fe15c28213f15455c9fb0ae441cc773c0ea5bd7

3 years agoRework for drm-lease-manager.service 84/26284/1
Naoto Yamaguchi [Sun, 18 Apr 2021 09:19:29 +0000 (18:19 +0900)]
Rework for drm-lease-manager.service

The drm-lease-manager.service is losing some discriptions such as 'After',
'Wants' and 'Type'.  When 'After' and 'Wants' is not having,
the drm-lease-manager service can't enable.

This patch add these configurations.

Bug-AGL: SPEC-3892

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Change-Id: Ic95b2df33a0be61cd318e900da58efa02c189dc7

3 years agodrm-lease: Update to latest version 52/26252/2
Damian Hobson-Garcia [Fri, 16 Apr 2021 02:13:40 +0000 (11:13 +0900)]
drm-lease: Update to latest version

Adds support for detecting when a lease client application
crashes and preventing the screen from blanking.

Bug-AGL: SPEC-3862

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: I7ae74087ccb2d847bc6fd1b0bfe4585459c98657

3 years agolibweston: Don't request repaint in output enable 22/26222/2
Damian Hobson-Garcia [Mon, 29 Mar 2021 08:43:49 +0000 (17:43 +0900)]
libweston: Don't request repaint in output enable

Allow for the compositor to start without first displaying
a blank screen when no startup transition is used.

This patch is under review in the mainline weston repository.
It should be useable for other use cases besides drm-lease,
but right now this patch causes the weston test suite to fail
by unconvering an unrelated problem with wayland event handling[1].

For now, keep this with the drm-lease support under agl-devel until
the weston test suite issue is resolved and the patch is merged upstream.

[1]: https://gitlab.freedesktop.org/wayland/wayland/-/issues/201

Bug-AGL: SPEC-3816

Change-Id: Ib5a2f0dde833d88a17bd4e659ff1acee81acd21f
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
3 years agodrm-lease: Add seamless-transition support 21/26221/2
Damian Hobson-Garcia [Mon, 29 Mar 2021 08:23:28 +0000 (17:23 +0900)]
drm-lease: Add seamless-transition support

Update DRM lease manager to add DRM lease transition support.

Bug-AGL: SPEC-3816

Change-Id: Ie8f003548db23b4d9f824c76e7927e4aebe67ceb
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
3 years agodrm-lease: Enable DRM render node on R-Car 82/26182/1
Damian Hobson-Garcia [Wed, 17 Mar 2021 09:32:18 +0000 (18:32 +0900)]
drm-lease: Enable DRM render node on R-Car

When using DRM lease, wayland clients applications must
be able to create an EGL context without DRM authentication.
The latest R-Car OpenGL driver, can do this when the R-Car
display driver must provides a render node.

Enable the rcar-du render node and allow it to allocate of
scanout buffers.

Bug-AGL: SPEC-3730

Change-Id: Iae4f74afb69de3a7f9ddf3ec5113938ade81fda4
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
3 years agodrm-lease: Disable weston TTY switch 81/26181/3
Damian Hobson-Garcia [Tue, 9 Mar 2021 08:22:26 +0000 (17:22 +0900)]
drm-lease: Disable weston TTY switch

When running multiple instances of weston using the drm-backend,
TTY switching should be disabled, so that both instances can
be displayed at the same time.

Backport patches from weston upstream that will disable TTY
switching when either:
  * Any seat other than seat0 is used (multi-seat)
  * There are no real TTY devices available (often true when
    running in a container)

Also, modify the layer priority and SRC_URI append style to make
these patches apply after the AGL appfw layer to avoid patch
fuzz warnings during build.

Bug-AGL: SPEC-3730

Change-Id: Ie9bed50b1c3f60129b1efae95aa77bfcea45f568
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
3 years agodrm-lease: Add weston DRM lease integration 12/26112/4
Damian Hobson-Garcia [Thu, 4 Feb 2021 07:13:41 +0000 (16:13 +0900)]
drm-lease: Add weston DRM lease integration

Allow option for weston to use a DRM lease instead of the primary DRM
device node when using the DRM backend.

EGL clients will require a wayland EGL driver than can does not
need DRM authentication. e.g. an implementation based on DRM render
nodes.

Bug-AGL: SPEC-3730

Change-Id: I12f6d5b5df62a90702431010ab685e3b0654912b
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
3 years agoAdd agl-drm-lease feature 84/26084/4
Damian Hobson-Garcia [Fri, 8 Jan 2021 08:03:00 +0000 (17:03 +0900)]
Add agl-drm-lease feature

The agl-drm-lease feature will add the DRM lease manager and client
library to the current image.  DRM lease support is also added
to the kmscube test utility if it is installed.

Bug-AGL: SPEC-3729

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: I75cfbc363724916202ec15bb71813f49d6b560eb

3 years agometa-speech-framework: Update Alexa Auto SDK wakeword support for v2.3 81/25981/1
Scott Murray [Mon, 1 Feb 2021 23:06:35 +0000 (18:06 -0500)]
meta-speech-framework: Update Alexa Auto SDK wakeword support for v2.3

Update the agl-voiceagent-alexa-wakeword feature template for v2.3:
- Added a scriptlet to handle installing and patching the amazonlite
  zip file contents.  The amazonlite-2.3.zip file is now expected to
  be in the directory set with the XDG_DOWNLOAD_DIR environment
  variable, and if that is not set, it will use $HOME/Downloads (i.e.
  the same behavior as the rcar3 graphics support files).
- Added a patch to tweak a couple of things in the amazonlite layer
  to fix building against Yocto dunfell.

Bug-AGL: SPEC-3783

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I75783860e4ce332ba89e8a7768fe4ff7367bcd93

3 years agometa-speech-framework: Update Alexa Auto SDK to v2.3 80/25980/1
Scott Murray [Tue, 8 Sep 2020 17:23:42 +0000 (13:23 -0400)]
meta-speech-framework: Update Alexa Auto SDK to v2.3

Changes:
- Mask out the duplicate libopus recipe, the same version is available
  from a recipe in meta-oe.
- Update BBFILES addition for the audio module in the feature template
  to work with yet another new audio output backend.
- Update the AlexaAutoCoreEngineConfig.json.in template based on the
  new sample JSON in 2.3.
- Update alexa-voiceagent-config recipe to add new configuration
  variables ALEXA_LOCALE, ALEXA_TIMEZONE, ALEXA_MFG_NAME, and
  ALEXA_DESCRIPTION to match requirements of the updated configuration
  JSON.
- Remove local alexa-voiceagent-service patches merged by Amazon, and
  update 0001-remove-library-dependency-copying.patch for 2.3.
- Update SDK module DEPENDS for alexa-voiceagent-service recipe to match
  what seems required now with 2.3.
- Remove avs-device-sdk patch for building with g++ 9.x, as it is no
  longer required.
- Add avs-device-sdk patch to workaround hang seen on first connection.
- Add bbappends for aac-module-car-control and aac-module-messaging
  recipes to fix their nlohmann-json DEPENDS to work with the recipe
  that is available in meta-oe.
- Rework aac-module-system-audio.bbappend to enable the PipeWire support
  that has been merged into the module.

Bug-AGL: SPEC-3783

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I18c910f9cbf874fef85d1d84508f6666d53629ed

3 years agooem-pr-bs: add services and managers API 54/25654/43 10.93.0 koi/10.93.0 koi_10.93.0
Riku Nomoto [Thu, 26 Nov 2020 14:15:17 +0000 (23:15 +0900)]
oem-pr-bs: add services and managers API

This is the ninth commit of agl-basesystem.
All Basesystem's services API

v13 (jsmoeller): fix build of multiple packages
v16 (tanikawa): fix include path to kernel header
v20 (jsmoeller): fix build of agl-service-vs-positioning
v21 (jsmoeller): remove RDEPENDS on elfio - it is only headers, thus not required on target
v25 (nomoto): change mail address and author
v35 (nomoto): remove OECORE_NATIVE_SYSROOT
v40 (nomoto): remove EXTRA_OEMAKE (RPATHLINK)
v43 (nomoto): readd a service file

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I206637abf8c070d7bf409377bef970023ddb2f69

3 years agooem-pr-bs: add positioning service 53/25653/35
Riku Nomoto [Thu, 26 Nov 2020 14:14:33 +0000 (23:14 +0900)]
oem-pr-bs: add positioning service

This is the eighth commit of agl-basesystem.
Sensor data (GPS, Gyro and etc.) handling

v12 (jsmoeller): fix build of multiple packages
v20 (nomoto): change mail address and author
v27 (nomoto): make hal recipes inherit bshalmake
v34 (nomoto): fix cid and FILES

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I3c7e8d7be16777018b09815577764d95a8a00849

3 years agometa-egvirt, templates: Remove virtio-aarch64 machine. 14/25914/2 10.92.0 koi/10.92.0 koi_10.92.0
Vasyl Vavrychuk [Thu, 14 Jan 2021 21:15:16 +0000 (22:15 +0100)]
meta-egvirt, templates: Remove virtio-aarch64 machine.

It is moved to meta-agl repository.

Bug-AGL: SPEC-3668
Change-Id: I7f02d5afe42f96a955ebd1ea7735a9b84fee9cc8
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
3 years agooem-pr-bs: add resource and task manager 52/25652/31
Riku Nomoto [Thu, 26 Nov 2020 14:13:44 +0000 (23:13 +0900)]
oem-pr-bs: add resource and task manager

This is the seventh commit of agl-basesystem.
Resource manager monitoring procfs and non-resident process manager

v12 (jsmoeller): fix build of multiple packages
v15 (tanikawa): fix build of ss-taskmanager
v20 (nomoto): change mail address and author
v23 (nomoto): add expat-native for build
v28 (nomoto): change SRCURI and inherit line
v29 (nomoto): remove OECORE_NATIVE_SYSROOT

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I5b65f62082f2ad0fd613c2ed56a2de1824387390

3 years agooem-pr-bs: add backup mng and mem access libs 51/25651/26
Riku Nomoto [Thu, 26 Nov 2020 14:12:55 +0000 (23:12 +0900)]
oem-pr-bs: add backup mng and mem access libs

This is the sixth commit of agl-basesystem.
Service backup manager and non-volatile memory access library

v12 (jsmoeller): fix build of multiple packages
v18 (nomoto): change mail address and author
v23 (nomoto): make hal recipes inherit bshalmake

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I64497d80424c136da75e13132bc192f70cba6fac

3 years agooem-pr-bs: add communication libraries 50/25650/27
Riku Nomoto [Thu, 26 Nov 2020 14:12:10 +0000 (23:12 +0900)]
oem-pr-bs: add communication libraries

This is the fifth commit of agl-basesystem.
Communication libraries

v13 (jsmoeller): fix build of multiple packages
v19 (nomoto): change mail address and author

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I18fdf9bd59c71a02de5a592d694fd06ffddbd997

3 years agooem-pr-bs: add various HAL libraries 49/25649/29
Riku Nomoto [Tue, 15 Dec 2020 12:52:16 +0000 (13:52 +0100)]
oem-pr-bs: add various HAL libraries

This is the fourth commit of agl-basesystem.
These Basesystem HAL implementation are sample.

v16 (jsmoeller): restored commit which was squashed in v15
v22 (nomoto): change mail address and author
v26 (nomoto): make hal recipes inherit bshalmake

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: Ib6ff58e667635725d962d1548bef03950e0a0d22

3 years agooem-pr-bs: add kernel-module-evklib 48/25648/39
Riku Nomoto [Thu, 26 Nov 2020 14:10:03 +0000 (23:10 +0900)]
oem-pr-bs: add kernel-module-evklib

This is the third commit of agl-basesystem.
Event library kernel module

v23 (nomoto): update subpath, branch and S to make recipes simple
v32 (nomoto): change mail address and author

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I278c23e7e625c7e8088b9766b6aa50f4bc0eb6cc

3 years agoagl-voiceagent-alexa: switch to AGL_FEATURES 95/25895/2
Scott Murray [Tue, 12 Jan 2021 22:30:37 +0000 (17:30 -0500)]
agl-voiceagent-alexa: switch to AGL_FEATURES

Change agl-voiceagent-alexa from using IMAGE_FEATURES to
AGL_FEATURES to work better with building the various demo
images with just the agl-demo feature.

Bug-AGL: SPEC-3749

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9847553a6a9e0ffb3ec2da5b9b91a0647619feae

3 years agooem-pr-bs: add core services and libraries 47/25647/30
Riku Nomoto [Thu, 26 Nov 2020 14:09:02 +0000 (23:09 +0900)]
oem-pr-bs: add core services and libraries

This is the second commit of agl-basesystem.
IPC/RPC library group binding each modules

v14 (jsmoeller): update BASESYSTEM_REVISION to fix libinput-hal build
v16 (jsmoeller): update BASESYSTEM_REVISION
v17 (taniakwa): fix os-rpclibrary-tool-native build
       - fix invalid path to LICENSE to use devtool
       - fix error when rebuild (clean generated files first)
v19 (nomoto): fix to set host only tool in class-native
v20 (nomoto): update subpath, branch and S to make recipes simple
v21 (nomoto): fix EXTRA_OEMAKE to set default value
v25 (nomoto): change mail address and author
v29 (nomoto): remove agl-basesystem-hal.bbclass

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I5da43003d8a976912d183474aea884ec1b81a708

3 years agometa-agl-basesystem: add libxml-xpath-perl 41/25841/2
Scott Murray [Sat, 19 Dec 2020 21:13:15 +0000 (16:13 -0500)]
meta-agl-basesystem: add libxml-xpath-perl

Add libxml-xpath-perl recipe and recipes for its required dependencies
libscalar-list-utils-perl and libpath-tiny-perl.  This should enable
using the xpath utility in the basesystem build by DEPENDing on
libxml-xpath-perl-native.

Note that the libscalar-list-utils-perl recipe has been adapted from
the one present in meta-cpan (https://github.com/meta-cpan/meta-cpan)
as of commit 2f6ecfa.  This was viewed as preferable to pulling in
meta-cpan as an AGL dependency.  Additionally, the recipe has been
updated to enable ptest support, and all tests have been confirmed to
pass.  The same is true of the libxml-xpath-perl and libpath-tiny-perl
ptests.

Bug-AGL: SPEC-3670

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Icd25cbb4498636c5a6a384818535e3c3372b5b29

3 years agoMove core speech service to meta-agl-demo 28/25828/1 10.91.0 koi/10.91.0 koi_10.91.0
Jan-Simon Moeller [Thu, 17 Dec 2020 16:16:48 +0000 (17:16 +0100)]
Move core speech service to meta-agl-demo

This moves the generic agl-speechframework to meta-agl-demo.
The alexa-voiceagent bits remain in meta-agl-devel for now.

This fixes a dependency of the settings app.

Bug-AGL: SPEC-3734
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I3b0c81bd598ef20c2cb6fcec054c399dc6c3d97b

3 years agooem-pr-bs: initial commit 46/25646/4
Riku Nomoto [Thu, 26 Nov 2020 14:07:08 +0000 (23:07 +0900)]
oem-pr-bs: initial commit

This is the initial commit of agl-basesystem.

- create new layer, meta-oem-production-readiness
- create sub-layer, meta-agl-basesystem
- add 1 feature to enable basesystem
- add 2 bbclass which support to build
- add packagegroups as place holder

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I457fb12086d913e8082843c87de9673df4d65710

3 years agometa-egvirt, templates: Add virtio-aarch64 machine 90/25490/4
Vasyl Vavrychuk [Mon, 5 Oct 2020 05:47:43 +0000 (08:47 +0300)]
meta-egvirt, 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

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

Bug-AGL: SPEC-3668
Change-Id: Iccfee8613de63770d371a57f0caab1c1eba8d912
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
3 years agoReturn meta-egvirt layer for AGL virtualization 89/25489/2
Vasyl Vavrychuk [Sat, 3 Oct 2020 18:43:54 +0000 (21:43 +0300)]
Return meta-egvirt layer for AGL virtualization

At the moment, this layer is planned to be used to implement
virtio-aarch64 machine intended to be used in virtualized environments.

This partially reverts commit:

  0abaf1d Cleanup of meta-agl-devel for HH

Bug-AGL: SPEC-3668
Change-Id: I73f140d7941edaad8e482f143bfcc296823d21b7
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
3 years agoAdd placeholder for IVI trial 59/25459/1
Jan-Simon Möller [Tue, 20 Oct 2020 15:21:11 +0000 (17:21 +0200)]
Add placeholder for IVI trial

This creates the layers used for the ongoing IVI work

Bug-AGL: SPEC-3657
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I25dc9f799c025d84eb2421218832ede3dadae9fe

3 years agoagl-service-voice-high-capabilities_git.bb: update license file md5 72/25172/2 9.99.4 jellyfish/9.99.4 jellyfish_9.99.4
Li, Xiaoming [Tue, 1 Sep 2020 03:30:03 +0000 (11:30 +0800)]
agl-service-voice-high-capabilities_git.bb: update license file md5

follow up the change of:
https://gerrit.automotivelinux.org/gerrit/c/apps/agl-service-voice-high-capabilities/+/25175

Change-Id: I3170d20d388caf6190efe8a91c2033494842149f
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
3 years agometa-agl-jailhouse: Added inmates for jailhouse on agl 62/25162/2
Parth Dode [Fri, 28 Aug 2020 18:10:18 +0000 (20:10 +0200)]
meta-agl-jailhouse: Added inmates for jailhouse on agl

w.r.t. the root cell qemu-agl

updated jailhouse_git.bb accordingly

Bug-AGL: SPEC-3507

Change-Id: I0548d9bbec02d8506205b0dccb4ef591b290bca6

Change-Id: I6d065032ef7fff40535929219ce067aab260f043
Signed-off-by: Parth Dode <dodecoder@gmail.com>
3 years agometa-agl-jailhouse: Enable jailhouse on qemu-x86_64 through runqemu 49/25149/10
Parth Dode [Wed, 26 Aug 2020 01:31:42 +0000 (03:31 +0200)]
meta-agl-jailhouse: Enable jailhouse on qemu-x86_64 through runqemu

jailhouse enable /usr/share/jailhouse/cells/qemu-agl.cell

added the appropriate QB variables required to use runqemu

v2: updated QB_SERIAL_OPT
v3: updated do_configure and do_install
v4: updated memmap
v5: resolved comments
v6: 2G to 1G

Bug-AGL: SPEC-3507

Change-Id: Iae8cf6a1f27bc285e4c0c5f2518cd1985ddf3b74
Signed-off-by: Parth Dode <dodecoder@gmail.com>
3 years agometa-agl-jailhouse: Add support for RPi4 with 2G/4G/8G of memory 08/25108/2 9.99.3 jellyfish/9.99.3 jellyfish_9.99.3
Jakub Luzny [Wed, 12 Aug 2020 10:57:57 +0000 (12:57 +0200)]
meta-agl-jailhouse: Add support for RPi4 with 2G/4G/8G of memory

The Jailhouse configuration files had to be modified to append the additional
memory regions present on the higher mem variants of the RPi4.

To avoid the use of mem= kernel parameter to fix the memory that can be used
by the root cell, a device tree overlay with reserved-memory nodes is used
instead.

To avoid conflict with the GPU memory, the memory region used for Jailhouse
and the non-root cells was moved from 0x30000000 to 0x20000000.

Bug-AGL: SPEC-3507

Signed-off-by: Jakub Luzny <jakub@luzny.cz>
Change-Id: Iabd67504c3df0349dd62e45f12d1019de14328f1

3 years agoAdd layer to support Jailhouse hypervisor 34/25034/6 9.99.2 jellyfish/9.99.2 jellyfish_9.99.2
Jakub Luzny [Sun, 19 Jul 2020 15:00:08 +0000 (17:00 +0200)]
Add layer to support Jailhouse hypervisor

Jailhouse is a partitioning hypervisor based on Linux. It is able to run
bare-metal applications or (adapted) operating systems besides Linux.
For this purpose, it configures CPU and device virtualization features
of the hardware platform in a way that none of these domains, called
"cells" here, can interfere with each other in an unacceptable way.

This layer adds the Jailhouse package into AGL and also appends the BSPs
to allow it to run. Currently, Raspberry Pi 4 and QEMU x86-64 targets
are supported.

To enable Jailhouse and include it in the image, the AGL feature
agl-jailhouse must be enabled.

Bug-AGL: SPEC-3507

Signed-off-by: Jakub Luzny <jakub@luzny.cz>
Change-Id: I0fbc0b5d931c85d6f22b0222da8c2b106c4115e1

3 years agoUpdate README and meta-agl-devel.md 44/25044/1
Jan-Simon Möller [Wed, 22 Jul 2020 13:20:49 +0000 (15:20 +0200)]
Update README and meta-agl-devel.md

Remove old and add new description.

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

3 years agoRemove leftover files 14/25014/4
Jan-Simon Möller [Tue, 14 Jul 2020 10:47:16 +0000 (12:47 +0200)]
Remove leftover files

These files have been moved and no longer belong in this repo.
Check meta-agl.

Bug-AGL: SPEC-3453

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

3 years agoFollow-up change to change of LICENSE file 33/25033/1
Li, Xiaoming [Fri, 17 Jul 2020 09:24:11 +0000 (17:24 +0800)]
Follow-up change to change of LICENSE file

The LICENSE file of these repos has rename modification.
Adapt the recipe to follow.

Change-Id: Idb77cf409c44fc94261989111fafe962eab32b68
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
3 years agoAdd placeholder for jailhouse support layer 65/24965/1
Jan-Simon Moeller [Fri, 10 Jul 2020 12:13:42 +0000 (14:13 +0200)]
Add placeholder for jailhouse support layer

In preparation of the jailhouse addition during GSoC.

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

3 years agoRemove pipewire feature after move 87/24887/1 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Jan-Simon Möller [Fri, 26 Jun 2020 15:11:57 +0000 (17:11 +0200)]
Remove pipewire feature after move

The feature needs to be removed as the pipewire components are moved.

Bug-AGL: SPEC-3453
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I61673e61a9c869baee8e8a313d7d595322dbf428

3 years agoMove meta-agl-profile-graphical-html5 and meta-pipewire into the main layer 74/24874/4
Jan-Simon Möller [Thu, 25 Jun 2020 17:47:50 +0000 (19:47 +0200)]
Move meta-agl-profile-graphical-html5 and meta-pipewire into the main layer

Reasoning:
- the profile-graphical-html5 belongs in the main layer
- meta-pipewire is enabled by default

For reference - the new location is:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=summary

Bug-AGL: SPEC-3453
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I0d60f37f1303be97b0eaf2274b217473d4a1ec5d

3 years ago[RCAR] Fix sound car for KF support 58/24758/5
Ronan Le Martret [Fri, 12 Jun 2020 07:45:34 +0000 (09:45 +0200)]
[RCAR] Fix sound car for KF support

Bug-AGL: SPEC-3380

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I221ca90b253843e4056e6818ee314b49786bac33

3 years agoAdapt meta-agl-devel.md to match the repository 68/24868/2
Jan-Simon Möller [Thu, 25 Jun 2020 15:29:43 +0000 (17:29 +0200)]
Adapt meta-agl-devel.md to match the repository

Update the documentation for meta-agl-devel in the file meta-agl-devel.md

Bug-AGL: SPEC-3451
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I50cad273756bb79f64cd15192dfc911dfc3650df

3 years agoMask pipewire recipe in meta-oe as we ship our own 67/24867/2
Jan-Simon Möller [Thu, 25 Jun 2020 15:27:17 +0000 (17:27 +0200)]
Mask pipewire recipe in meta-oe as we ship our own

This fixes the WARNING messages seen during the build.

Bug-AGL: SPEC-3450
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Iab28275030c8f4178fa812f8e2b08c01aceab501

3 years agoagl-image-graphical-html5: fix distro_check_features usage 72/24872/1
Scott Murray [Thu, 25 Jun 2020 16:48:30 +0000 (12:48 -0400)]
agl-image-graphical-html5: fix distro_check_features usage

Fix the warning about usage of the deprecated distro_check_features
class by switching to the new check_features class.  This slipped
through the cracks during the dunfell upgrade.

Bug-AGL: SPEC-3302

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifc2de2b1b7a82330134c8f645a8b415651ff3931

3 years agoRemove outdated layers - meta-oem-extra-libs 82/24782/2
Jan-Simon Möller [Wed, 17 Jun 2020 09:49:59 +0000 (11:49 +0200)]
Remove outdated layers - meta-oem-extra-libs

As announced in
https://lists.automotivelinux.org/g/agl-dev-community/topic/73194818#8265

the layer is outdated and will be removed.

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

3 years agoRemove outdated layers - meta-audio-soundmanager-framework 80/24780/1
Jan-Simon Möller [Wed, 17 Jun 2020 09:47:27 +0000 (11:47 +0200)]
Remove outdated layers - meta-audio-soundmanager-framework

As announced in
https://lists.automotivelinux.org/g/agl-dev-community/topic/73194818#8265

the layer is outdated and will be removed.

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

3 years agowam: Signal handling for SIGTERM to close webapps 75/24675/2
Lorenzo Tilve [Mon, 8 Jun 2020 21:49:53 +0000 (23:49 +0200)]
wam: Signal handling for SIGTERM to close webapps

Include fix for getting web manager notified on
the event in order to gracefully close webapps.

Bug-AGL: SPEC-2973

Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: Icc4edc13ee76fcdc7a58f26a302596d56178573e

3 years agoalexa-voiceagent-service: Add patch to add autobuild scripts 46/24746/1
Scott Murray [Wed, 10 Jun 2020 16:19:02 +0000 (12:19 -0400)]
alexa-voiceagent-service: Add patch to add autobuild scripts

Add autobuild scripts to alexa-voiceagent-service via a patch to
prepare for a switch to building all widgets via calls to autobuid.

Bug-AGL: SPEC-2049, SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia1a3ea814bca5429848055db8350ad37cae9517a

3 years agochromium-browser-service: switch to AGL hosted repo 11/24611/1
Scott Murray [Tue, 2 Jun 2020 18:41:01 +0000 (14:41 -0400)]
chromium-browser-service: switch to AGL hosted repo

The source for the chromium-browser-service widget has been copied to
the apps/chromium repository on AGL's Gerrit server, and a change has
been uploaded to remove its obsolete submodule usage, so update the
SRC_URI and SRCREV to switch over to using it.

Bug-AGL: SPEC-2049, SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7d89a560c516ed6e2c7621a81cd0113c533a411b

4 years agowireplumber: migrate board config for R-Car (BSP3.21/YP3.1) 73/24573/2
Stephane Desneux [Tue, 26 May 2020 18:23:24 +0000 (18:23 +0000)]
wireplumber: migrate board config for R-Car (BSP3.21/YP3.1)

With latest R-Car BSP 3.21 for YP3.1, the alsa sound card name
for internal audio has changed.

This change migrates from 'ak4613' to the new 'rcarsound' card name.

Bug-AGL: SPEC-3380

Change-Id: I4cb267cd83f7a8c69dea4230b22302ae235b6498
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
4 years agoRemove agl-gstrecorder / meta-gstrecorder-rcar-gen3 68/24568/1
Scott Murray [Mon, 25 May 2020 17:06:41 +0000 (17:06 +0000)]
Remove agl-gstrecorder / meta-gstrecorder-rcar-gen3

Remove the agl-gstrecorder feature and its meta-gstrecorder-rcar-gen3
layer. The feature itself is going to be replaced with a more generic
agl-weston-remoting feature in meta-agl. From the layer, the remoting
gbm fix is no longer required for rcar3 in Weston 8.0.0, and the
remoting initialization timing patch is generic, and is thus going to
be applied for all platforms in meta-agl-profile-graphical to make
cluster support generic.

Bug-AGL: SPEC-3395

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I69ea73cc14a30e084fb0443628956fdc2572060e

4 years agoUpdate widget packaging rework 15/24515/2
Scott Murray [Wed, 13 May 2020 23:46:59 +0000 (19:46 -0400)]
Update widget packaging rework

To match the update in meta-agl, rework to drop the agl-test-wgt and
agl-devel-wgt feature package additions and now unnecessary test/devel
packagegroups. They'll now be pulled in by the COMPLEMENTARY_GLOBS
definitions for those image features.

Bug-AGL: SPEC-3300, SPEC-3375

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I61c07efad927809a29990d76e52f8f6f24e4e26b

4 years agoAdd dependency to python2 native binary as stop-gap for chromium68 build 04/24504/2
Jan-Simon Möller [Tue, 12 May 2020 23:42:52 +0000 (01:42 +0200)]
Add dependency to python2 native binary as stop-gap for chromium68 build

Until we have a solution from upstream, we decided to add meta-python2 to allow chromium68 to build.

Bug-AGL: SPEC-3354
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ife440dc1db253ff316059f3b3a8e67765132d52e

4 years agoWidget packaging rework 85/24485/1
Scott Murray [Tue, 28 Apr 2020 21:12:10 +0000 (21:12 +0000)]
Widget packaging rework

Changes include:
- Created new packagegroup-agl-speech-services packagegroup and
  associated test and devel packagegroups to replace previous
  extending of packagegroup-agl-ivi-services via bbappend.
  This makes it simpler to create the test/devel packagegroups
  in packagegroup-agl-ivi-services, and is cleaner with respect to
  the packagefeed since it avoids modifying a packagegroup in another
  layer.
- Extend the agl-devel-wgt and agl-test-wgt FEATURE_PACKAGES
  variables as necessary to add the required corresponding widget
  packagegroups.

Bug-AGL: SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I17b61f3e4549a7baa8ac1a6f9c857e2f78bb6448

4 years agoMerge remote-tracking branch 'gerrit/next' 34/24434/1
Jan-Simon Möller [Mon, 27 Apr 2020 15:37:51 +0000 (17:37 +0200)]
Merge remote-tracking branch 'gerrit/next'

* gerrit/next:
  agl-voiceagent-alexa: update for dunfell
  meta-agl-profile-graphical-html5: remove vboxguestdrivers recipe
  Declare layer compatibility for dunfell

Change-Id: Ib438392406672d948bb47bfb062bfbdc62f3017d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoagl-voiceagent-alexa: update for dunfell
Scott Murray [Thu, 2 Apr 2020 16:49:50 +0000 (12:49 -0400)]
agl-voiceagent-alexa: update for dunfell

Update the local LAYERSERIES_COMPAT over-ride for meta-aac to work
with dunfell.

Bug-AGL: SPEC-3302

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I71f61f13363fb253cbd1d43352595d0c8ac61b60

4 years agometa-agl-profile-graphical-html5: remove vboxguestdrivers recipe
Scott Murray [Mon, 30 Mar 2020 19:02:08 +0000 (15:02 -0400)]
meta-agl-profile-graphical-html5: remove vboxguestdrivers recipe

Remove local vboxguestdrivers recipe as a newer version is available
in meta-oe in dunfell.

Bug-AGL: SPEC-3302

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iebf791b22d88f32dc5cdc2cc472e4aedff642cb6

4 years agoDeclare layer compatibility for dunfell
Scott Murray [Mon, 30 Mar 2020 18:54:26 +0000 (14:54 -0400)]
Declare layer compatibility for dunfell

For the upgrade to YP dunfell/3.1 we need to update the layer
compatibility.

Bug-AGL: SPEC-3302

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7495b9e75698411fe72effdb3b187ee4b0fc4da6

4 years agoUse top-level LICENSE files for each repo 91/24291/1
Jan-Simon Moeller [Wed, 1 Apr 2020 12:30:10 +0000 (14:30 +0200)]
Use top-level LICENSE files for each repo

We re-use the OpenEmbedded / Yocto Project style to
declare the licenses more prominently in the top level folders.

LICENSE is derived from poky's LICENSE file.

Bug-AGL: SPEC-3295
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7af49624b301a956f87191a07d39fcba6bbaa93c

4 years agoAdd vboxguestdrivers recipe for html5 image 80/24180/1
Jan-Simon Moeller [Thu, 5 Mar 2020 11:38:26 +0000 (12:38 +0100)]
Add vboxguestdrivers recipe for html5 image

This is needed to build the html5 image with 'agl-devel' enabled.
For now copy, then in a 2nd step we will (re)move.

Bug-AGL: SPEC-3256
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I68e4c842cd936c08f7693418f712f9ea028a8bf2

4 years agochromium68: Backport build fix with newer kernel 56/24156/2
Lorenzo Tilve [Tue, 3 Mar 2020 11:44:44 +0000 (12:44 +0100)]
chromium68: Backport build fix with newer kernel

The build of Chromium was failing on master due to a
in include that needed to be changed on WebRTC
https://webrtc-review.googlesource.com/c/src/+/138270

Bug-AGL: SPEC-3196

Change-Id: Ifd3c4f0631216a50d8bb14265249b208e5c93c0b
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
4 years agowam: fix build error after yocto/zeus update 55/24155/1
Lorenzo Tilve [Tue, 3 Mar 2020 11:55:08 +0000 (12:55 +0100)]
wam: fix build error after yocto/zeus update

Avoid pessimizing-move build error due to unneded std::move(reply)

Bug-AGL: SPEC-3202

Change-Id: I09a9975d90ca93422dd9cef845b5ff576faca9b8
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
4 years agowam: bump revision, delete tinyproxy 45/24045/2
Antia Puentes [Tue, 18 Feb 2020 11:48:03 +0000 (12:48 +0100)]
wam: bump revision, delete tinyproxy

Since the WAM revision this patch updates to, tinyproxy code is no
longer referenced by WAM, delete its recipe and references.

Bug-AGL: SPEC-3185

Change-Id: I6c3c241de2b7bc61be8a184c3c96397d478e04a5
Signed-off-by: Antia Puentes <apuentes@igalia.com>
4 years agoMerge remote-tracking branch 'agl/next' 10/24110/1
Jan-Simon Möller [Fri, 21 Feb 2020 15:32:33 +0000 (16:32 +0100)]
Merge remote-tracking branch 'agl/next'

* agl/next:
  meta-speech-framework: enable building Alexa voiceagent against zeus
  Declare layer compatibility with zeus

Change-Id: I9c717cde0b51635c14f683b8d1d66a563ec3d7ed

4 years agoAdd name= to SRC_URI entry for chromium 44/24044/1
Jan-Simon Möller [Tue, 18 Feb 2020 23:00:20 +0000 (00:00 +0100)]
Add name= to SRC_URI entry for chromium

This fixes an issue found when using the ARCHIVER.bbclass.

Bug-AGL: SPEC-3189

.

Change-Id: Ie2048236ed3baa3df0336711fa93758a4093caae
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoUse landscape layout by default on HTML5 image 60/23960/2
Lorenzo Tilve [Fri, 14 Feb 2020 11:12:08 +0000 (12:12 +0100)]
Use landscape layout by default on HTML5 image

This also workarounds an issue when starting the homescreen
in portrait mode by default.

Bug-AGL: SPEC-3181

Change-Id: Ia84baab19c13c8484f681c8218a406e836dd08b0
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
4 years agometa-speech-framework: enable building Alexa voiceagent against zeus 01/23901/1
Scott Murray [Tue, 11 Feb 2020 22:37:54 +0000 (17:37 -0500)]
meta-speech-framework: enable building Alexa voiceagent against zeus

Changes:
- Tweak LAYERSERIES_COMPAT variable for alexa-auto-sdk's meta-aac
  layer to append zeus, since it's unclear when Amazon will get around
  to a new release that adds zeus support and it's straightforward to
  get it to build against zeus.
- Add BBMASK for nghttp2 recipe in meta-aac to avoid overlaying the
  one for the same version now available in meta-networking. This
  avoids rebuilding a bunch of dependencies when reconfiguring to
  enable agl-voiceagent-alexa.
- Add bbappend for avs-device-sdk to add a patch to disable -Werror
  for new g++ 9 "deprecated-copy" warning in the packaged copy of
  googletest, which avoids a build failure.

Bug-AGL: SPEC-2932

Change-Id: I469d07bafd8a4faf625191eb553ab7f762efb480
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoAdd defaultbranch=master to gitreview file 02/23802/1
Jan-Simon Moeller [Tue, 11 Feb 2020 15:47:08 +0000 (16:47 +0100)]
Add defaultbranch=master to gitreview file

Update .gitreview to have the defaultbranch= tag.
This simplifies changing the branches.

.

Change-Id: I775d5d3496bfe34ecca81296fef674448fb4c4c3
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agowam: revision bump, fix WAM on icefish 51/23651/1 8.99.5 icefish/8.99.5 icefish_8.99.5
Lorenzo Tilve [Fri, 24 Jan 2020 16:39:56 +0000 (17:39 +0100)]
wam: revision bump, fix WAM on icefish

Included changes:
a9e0093 Disable tinyproxy integration
c0def20 [agl] Fix regex scanning
c7b5db7 [agl] Handle hostname of application
4a00711 [agl] Retrieve token from environmen
7d4c91e Hard-code windowmanager roles for certain app ids
* files/trunc-webapp-roles.patch workaround repeated roles

Bumps WAM version and includes workaround for SPEC-3127. To
prevent repeated roles as much as possible, I'm using the
appid as a basis instead of "Webapp-" + host + port, which has
many chances to be redundant in the first 12 chars.

Bug-AGL: SPEC-2550
Bug-AGL: SPEC-3127

Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: I59c37ce79fec61ecd6ef36ff3f74902714a6b575

4 years agoDeclare layer compatibility with zeus
Jan-Simon Möller [Tue, 5 Nov 2019 11:21:37 +0000 (12:21 +0100)]
Declare layer compatibility with zeus

For the uprev to YP 3.0 zeus we need to update the layer compatibility.

Change-Id: I60cd58c0bb2d4106958255d61a6f05e5bb950c76
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agometa-aac: Rework agl-voiceagent-alexa packaging 97/23597/1
Scott Murray [Mon, 20 Jan 2020 22:26:59 +0000 (17:26 -0500)]
meta-aac: Rework agl-voiceagent-alexa packaging

Rather than appending the agl-voiceagent-alexa packages onto the
existing packagegroup-agl-core-services, instead define a new specific
packagegroup-agl-voiceagent-alexa, and an associated image feature
that is used to include it into an image with IMAGE_FEATURES. This
seems better for the longer-term goal of a binary package feed, and
IMAGE_FEATURES can be used by other recipes in a similar manner as
DISTRO_FEATURES, but with a lot less build dependency impact if
changed. This will be used in a parallel change to meta-agl-demo to
pull in the new alexa-viewer application when using the Alexa
voiceagent.

Bug-AGL: SPEC-3110

Change-Id: I15fb07560fef703e3471bce9e50596cb4a6667b4
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agopipewire: add patch to fix random underruns 72/23572/1
George Kiagiadakis [Fri, 10 Jan 2020 10:27:14 +0000 (12:27 +0200)]
pipewire: add patch to fix random underruns

Bug-AGL: SPEC-3098

Change-Id: Id304bf6d1adcf7cd739b705a23772c25ce5258e8
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
4 years agoalexa-voiceagent-service: Add the hls gstreamer plugin 49/23549/1
Jan-Simon Moeller [Sun, 5 Jan 2020 06:19:39 +0000 (07:19 +0100)]
alexa-voiceagent-service: Add the hls gstreamer plugin

Streaming music needs this plugin. Add it to RDEPENDS.

Bug-AGL: SPEC-3088

.

Change-Id: Ica10a9ad106c73da98ca34c9c851f029eee04b2b
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoalexa-voiceagent-service: Add patch to fix event argument JSON 31/23531/1
Scott Murray [Thu, 2 Jan 2020 21:19:49 +0000 (16:19 -0500)]
alexa-voiceagent-service: Add patch to fix event argument JSON

In several places in the alexa-voiceagent-service code, strings
containing JSON document fragments are put whole into a json-c string
object which is added to the event argument json_object, rather than
being properly added as built up json-c object hierarchies. The result
is an embedded JSON document in a string with extra escaping, which is
not usable on the receiving side without knowing that part of the
event object effectively needs to be run through a JSON parser to be
usable. This is contrary to the voiceagent event documentation and
inconvenient for client implementors, so fix it by tokenizing the
internal JSON payload string into a json_object tree and passing that
as the event argument where necessary.

Note that it is ATM not clear if all affected event argument payloads
are correct, e.g. LocalMediaSource may need some more work.

Bug-AGL: SPEC-3084

Change-Id: I77c97d7eb241d6ccbd98fb379b88336494ce12e9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 3fdec9d7e81cff04fd2aa38e25872da7c431b769)

4 years agoalexa-voiceagent-service: support building in wakeword engine 96/23496/1
Scott Murray [Mon, 30 Dec 2019 00:01:24 +0000 (19:01 -0500)]
alexa-voiceagent-service: support building in wakeword engine

Add support for building the "amazonlite" wakeword engine into the Alexa
voiceagent.  A new feature template, agl-voiceagent-alexa-wakeword, is
added to pull in the extra layers/recipes from the additional wakeword
engine files for the SDK that Amazon provides.  The feature pulls in the
existing agl-voiceagent-alexa feature as a dependency to simplify
configuring a build.  The existing patch to work around the Alexa SDK
build's use of AAC_PREFIX as prefix for all packages has been updated to
handle the pryon-lite wakeword engine library.

Bug-AGL: SPEC-3077

Change-Id: I5549ea9000c6713e6becb191f4dcd957ebde18ac
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agobluez-alsa: update gst-helper to handle corking and use the Multimedia role on A2DP 34/23434/1 8.99.4 icefish/8.99.4 icefish_8.99.4
George Kiagiadakis [Thu, 19 Dec 2019 15:25:28 +0000 (17:25 +0200)]
bluez-alsa: update gst-helper to handle corking and use the Multimedia role on A2DP

Bug-AGL: SPEC-2792

Change-Id: I2247550d6059c31596651e84fdd617f849722422
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
4 years agowireplumber: update with bluetooth audio policy fixes 33/23433/1
George Kiagiadakis [Thu, 19 Dec 2019 15:20:41 +0000 (17:20 +0200)]
wireplumber: update with bluetooth audio policy fixes

George Kiagiadakis (5):
      config: add missing endpoint priority in hw:0,0 config
      config-policy: remove _can_link_stream() function
      config-policy: do not unlink other endpoints when linking one with keep=true
      config-policy: push endpoints with keep=true to the end of the list when sorting
      config-policy: debug handling of endpoints

Bug-AGL: SPEC-2792

Change-Id: I5645715948f0c596ce0dc6754aa045ed58ebed84
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
4 years agoAlso let the user specify the wakeword engine status 22/23422/2
Jan-Simon Möller [Wed, 18 Dec 2019 17:50:59 +0000 (18:50 +0100)]
Also let the user specify the wakeword engine status

To enable the wakeword engine you need to have the plugin available
and set ALEXA_WAKEWORD in your conf/local.conf to true.

Change-Id: If7266c8ac9f773ee29dffc7494d55f323e76b63e
Bug-AGL: SPEC-3054
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agowireplumber: update to master 13/23413/3
George Kiagiadakis [Tue, 17 Dec 2019 17:32:34 +0000 (19:32 +0200)]
wireplumber: update to master

* Fixes policy issues
* Implements a standard way of configuring the default device: the device
  that matches from the *.endpoint files that has the highest priority and
  is available on the system becomes the default. Afterwards, at runtime,
  the default can be changed with wireplumber-cli. Clients now also link
  to the default device, so it is possible to change devices at runtime
  without reconfiguring wireplumber.

George Kiagiadakis (9):
      session: select the default endpoint based on endpoint priority
      config: refactor wireplumber's configuration
      config: fix typo in config files
      module-session: debug default endpoint changes
      policy: track the exported session instead of the proxy
      config-policy: debug rescans
      cli: fail gracefully if connection to pipewire fails
      lib: debug loading of config files + endpoint priorities
      parser-endpoint: fix typo; initialize endpoint priority instead of reseting the match one

Julian Bouzas (13):
      config-policy: sort endpoints by creation time when finding target
      parser-endpoint-link: higher number means higher priority
      softdsp-endpoint: don't rename the endpoint on creation
      modules: remove alsa-udev and audio-client modules
      modules: add config endpoint module
      config-policy: remove parsing of streams file
      parser-endpoint-link: don't parse unused state value
      base-endpoint: add _get_priority API
      modules: only allow 'sink' and 'source' strings when parsing direction in config files
      base-endpoint: add _get_global_id API
      policy: add _get_session API for the policy manager
      config-policy: use the default session endpoint if target-endpoint is not defined
      config-policy: only handle the highest priority endpoint for a target, and the ones with keep=true

Bug-AGL: SPEC-2837

Change-Id: I87b3e8b9e159dfc472aa534e40e088ae758ad20c
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>