summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-22Change cluster display from HDMI-A-1 to HDMI-A-2 in r-car gen3 with kfNaoto Yamaguchi1-0/+2
AGL IC integration use two display, one of the ivi, one of the cluster in R-Car H3/M3 with Kingfisher environment. This patch change cluster display from HDMI-A-1 to HDMI-A-2 only a R-Car H3/M3 with Kingfisher environment. Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Idf1db5daba668e62a05bc7795da2e9d4a3e7e7cf
2021-11-22Fix recipe style error at momiplay recipeNaoto Yamaguchi1-12/+24
The bitbake recipe has style guide at https://www.openembedded.org/wiki/Styleguide Existing momiplay recipe does not fit this style guide. This patch fix this issue. Bug-AGL: SPEC-4094 Change-Id: Icb28faa991c8dd66807fcaadac77318c66dd77aa Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2021-11-22Fix recipe style error at mominavi recipeNaoto Yamaguchi1-20/+31
The bitbake recipe has style guide at https://www.openembedded.org/wiki/Styleguide Existing mominavi recipe does not fit this style guide. This patch fix this issue. Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I150ab671248be800c1d955c5e47a1792510ea4c7
2021-11-22Add automatically App Key setting methodNaoto Yamaguchi1-0/+9
When we want to use mapbox map drawing that use in mominavi, we have to set App Key. This App Key need to get oneself from mapbox developer site. This patch add automatically App Key setting method. How to do. at local.conf/site.conf MOMIMAP_MAPBOX_ACCESS_TOKEN = "mapbox App Key" Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Iaa87798b8794dd5bf409df2f3bf3a585fec506d8
2021-11-22Fix boot up issue for guest appsNaoto Yamaguchi4-4/+6
The mominavi and momiplay have boot up issue such as service dependency and environment variable. This patch fix this issue. Bug-AGL: SPEC-4099 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia276c40e47a010bc2f93482aa0be5ce7416642d8
2021-11-22Importing the mediaplayer demo appNaoto Yamaguchi3-0/+54
The momiplay is a mediaplayer example based on AGL sample app at CC release. Existing agl-appfw is difficult to integrate into linux container guest, because agl-appfw strongly depend SMACK label in host. The mominavi is not require agl-appfw. It's temporally solution for MM release. This patch import momiplay to create ivi guest for demo. Bug-AGL: SPEC-4094 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ic0213f50ba570db56282d07b3f4f775664f05f78
2021-11-22Importing the navigation demo appNaoto Yamaguchi3-0/+54
The mominavi is a navigation example based on mapbox. It's based on aglqtnavigation, that initial version of existing AGL demo navigation app. Existing agl-appfw is difficult to integrate into linux container guest, because agl-appfw strongly depend SMACK label in host. The mominavi is not require agl-appfw. It's temporally solution for MM release. This patch import mominavi to create ivi guest for demo. Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia84a291b6f9f50075a3dfe5e5dc2c6ff5bca4672
2021-11-22Create simple layout manager recipeNaoto Yamaguchi3-0/+103
The ivi guest for demo use wayland-ivi-extension. That need to window manager. This patch add tiny window manager for demo. Bug-AGL: SPEC-4097 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I8392db39a7e2de5d8c61d511421afea9586d7922
2021-11-22Fix url and recipe style error in wayland-ivi-extension recipeNaoto Yamaguchi1-18/+16
The recipe of wayland-ivi-extension has some issue. 1. GENIVI was rebrands as COVESA. As a resule, Github organization name change to COVESA from GENIVI. 2. Original recipe has some error for recipe style. 3. Using http protocol at downloading. This patch fix these issue. Bug-AGL: SPEC-4096 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ic961ddecf7f2f30a024a4caef0c444391e493224
2021-11-22Add patch to fix weston crash in no input device sceneNaoto Yamaguchi2-1/+57
The weston with ivi-extention crash in no input device scene. This patch add staging patch to wayland-ivi-extention to fix this issue. Bug-AGL: SPEC-4096 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I8d3e6627c073213b2fe20df634889a19a730a4d5
2021-11-22Import wayland-ivi-extensionNaoto Yamaguchi4-0/+120
The ivi guest for demo require wayland-ivi-extension on weston. Current AGL is already removed it. This patch import wayland-ivi-extension for weston-8 from meta-arago. git://arago-project.org/git/meta-arago.git Bug-AGL: SPEC-4096 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ib2c47e603334ae4ab590fdf48b8723956f73022b
2021-11-22Fix: weston is not running after BSP 5.5 merged in cluster-demoNaoto Yamaguchi6-4/+79
weston is not running after BSP 5.5 merged. This patch create new weston-init for gest usage. Bug-AGL: SPEC-4131 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I9b6edc1c45aad0f985a307f3ffb0fe6a47195dd5
2021-11-22Divide firmware from gles-user-moduleNaoto Yamaguchi2-0/+22
The powervr firmware is including in gles-user-module in R-Car Gen3. Typical container integration, gles-user-module only to installing in guest, powervr kernel module only to installing in host. In this case, powerver firemware is only to installing in guest, but it is required by powervr kernel module. This patch divide powervr firmware from gles-user-module, creating new package gles-user-module-firmware. In addition, this patch add runtime dependency of that firmware package to powervr kernel module. Bug-AGL: SPEC-4130 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ie8751bd618d076c9617870c367dacb3a9fdf1e7b
2021-11-22Fix the lxc-host-image-demo build error with R-Car BSP 5.5Naoto Yamaguchi1-0/+4
The lxc-host-image-demo can't build after BSP 5.5 merged. Error message as a follow: ERROR: Nothing PROVIDES 'linux-renesas' (but mc:agl-container-guest: /../gstreamer1.0-plugins-bad_1.16.3.bb DEPENDS on or otherwise requires it) linux-renesas was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-renesas to enable it Missing or unbuildable dependency chain was: ['cluster-refgui', 'qtmultimedia', 'gstreamer1.0-plugins-bad', 'linux-renesas'] ERROR: Required build target 'guest-image-cluster-demo' has no buildable providers. Missing or unbuildable dependency chain was: ['guest-image-cluster-demo', 'cluster-refgui', 'qtmultimedia', 'gstreamer1.0-plugins-bad', 'linux-renesas'] This patch fix this build error. Bug-AGL: SPEC-4129 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I0284a70aa38f855eb21e83e8c91e2df5a36cd7ef
2021-11-22Fix cmake issue for libclusterapi and libclusteripc.Naoto Yamaguchi2-10/+2
Previously, libclusterapi and libclusteripc require to HACK in cross building time. This issue was fixed by Hiroyuki Ishii at https://gerrit.automotivelinux.org/gerrit/c/src/libcluster-ipc/+/26744 https://gerrit.automotivelinux.org/gerrit/c/src/libcluster-api/+/26745 This patch update revision to fixing point. Bug-AGL: SPEC-4092 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I317db0612243c87530388eabf54e4fdd9c6abca0
2021-11-22Fix multiple container installation failingNaoto Yamaguchi1-1/+1
When new container image add into lxc-host-image-demo, existing image will not build. In case of: CONTAINER_IMAGES ?= "agl-container-cluster:guest-image-cluster-demo \ agl-container-ivi:guest-image-ivi-demo \ " agl-container-ivi:guest-image-ivi-demo will be building, but agl-container-cluster:guest-image-cluster-demo will not be building. This patch fix issue for the build dependency creation to guests. Bug-AGL: SPEC-4109 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I2ed6f91f0d4db90f337a6148d6630f85c1b5c97d
2021-11-22Fix multiple container installation issueNaoto Yamaguchi1-1/+1
When I build lxc-host-image-demo, that out error message; Nothing RPROVIDES 'lxc-config-cluster-demolxc-config-ivi-demo' (but ~/meta-agl-devel/meta-agl-lxc/recipes-platform/images/ lxc-host-image-demo.bb RDEPENDS on or otherwise requires it) The 'lxc-config-cluster-demolxc-config-ivi-demo' is must describe to 'lxc-config-cluster-demo lxc-config-ivi-demo', that need space between image name and image name. This patch fix this issue. Bug-AGL: SPEC-4109 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I3e3f057264c0e05872a1f04f9bf5c72af54115e1
2021-11-22Create AGL Instrument Cluster core package groupNaoto Yamaguchi2-0/+20
AGL Instrument Cluster has common api library and framework. This patch create package group for instrument cluster core packages. Bug-AGL: SPEC-4092 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Id9ec55dfc22cc7135f0973ef8a3421f8a614383d
2021-11-22Import cluster api and ipc library recipe from EG repoNaoto Yamaguchi2-0/+38
The cluster api and ipc library was contributed by Nippon Seiki at SPEC-3952. Original recipe of these was created by Tetsuro Komatsu from Panasonic. https://github.com/agl-ic-eg/meta-agl/commit/476497689794ec37d5cbfd1f1797dfa060b0bd9b This patch import these recipe from experimental repository. Bug-AGL: SPEC-4092 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I25cb9773753e18621d2ee0e44f54ab9e9f1b4aaf
2021-11-22Fix fuzz for 0004-launcher-direct-handle-seat0-without-VTs.patchNaoto Yamaguchi1-6/+6
The drm-lease patch cause fuzz in weston building. Applying patch 0004-launcher-direct-handle-seat0-without-VTs.patch patching file libweston/launcher-direct.c Hunk #1 succeeded at 290 with fuzz 2. Hunk #2 succeeded at 302 (offset -2 lines). This patch update that patch. Bug-AGL: SPEC-4106 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I9bac494e712f3cb8d13576c57d81bac7631b8615
2021-11-22Fix some issue for the cluster-refgui recipeNaoto Yamaguchi3-6/+6
Cluster refgui upstreamd at SPEC-3942. But recipe was not changed. Current refgui recipe has some issue. * Referring to github repository now. * Not changed recipe name from refgui to cluster-refgui. * License description is old, that is already changed from MIT to Apach-2.0. This patch fix these issue. Bug-AGL: SPEC-4090 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I2742caf36ed50a2dbf41274d172a11be33708841
2021-11-17Convert to new override syntaxScott Murray77-136/+136
This is effectively a manual cherry-pick of commit: 37d3b1b316470fdcfebc59d5522bfbfefc025ff6 from the master branch with additional review and fixups. The intent of these changes is to minimize the effort to backport fixes from the master branch, which has been updated in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4144 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic649d942ac043edc52976a3d4190590bb1c125e7
2021-11-09[RCAR] Dynamic-layer update rcar-du support for BSP v5.5.0Ronan Le Martret1-3/+3
Bug-AGL: SPEC-4081 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I3b7b9611d426774b93e49690a71d15090b8ea9ed
2021-11-03Update github.com git:// SRC_URIsScott Murray2-2/+2
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8e54e0ad79cdf3e88fb4d029e3f6b932e7e7f36c
2021-10-26meta-agl-lxc: Support rcar3 kernel module headers in guestsScott Murray7-0/+63
Add a bbclass that can be used to disable compilation in module.bbclass based recipes, and dynamically activated bbappends for the rcar3 kernel module recipes that use it and guest-build-specific do_install overrides to get the userspace API headers installed transparently to the userspace recipes. This avoids the complications that would arise from using a full linux-renesas kernel build for guest container images. Bug-AGL: SPEC-4089 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I917e66ca024a2a507e615ba3a2a58c603a691142 (cherry picked from commit ed47409f52b66ef02de34916563de197955259b3)
2021-08-26aac-module-system-audio: Update PipeWire gstreamer pluginslamprey_12.0.1lamprey/12.0.112.0.1Scott Murray2-0/+48
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: I5f0ebbe80bbafa656dd8e6c542bab666cb481395
2021-08-04lxc-host-image-minimal: Handle Kingfisher image namesScott Murray1-1/+4
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 (cherry picked from commit aac67cb520cd945f960189d12ea9bbe1815891de)
2021-07-07meta-agl-jailhouse: Fix memmap command line parameterlamprey_12.0.0lamprey/12.0.012.0.0Anmol1-2/+2
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 (cherry picked from commit 8be4ced7dd842564c9deaabaa90da75397a22c56)
2021-06-30Add gitreview file for Lucky Lamprey branchlamprey_11.93.0lamprey/11.93.011.93.0Jan-Simon Möller1-1/+1
Update the .gitreview file. Bug-AGL: SPEC-4006 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: If184fb0bf3ca32bd1ba3599b2c1a13f8d192f7ed
2021-06-29meta-agl-lxc: Update host kernel configurationmarlin_12.90.0marlin/12.90.012.90.0Scott Murray5-8/+42
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
2021-06-29meta-agl-lxc: Fix lack of gles modules in demo imageHiroyuki Ishii1-0/+2
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
2021-06-24meta-agl-lxc: add packagegroup-core-tools-profile bbappendScott Murray1-0/+8
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
2021-06-14meta-agl-lxc: add initial rcar3 supportScott Murray5-1/+27
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
2021-06-07Add meta-agl-lxcScott Murray25-0/+378
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
2021-06-07meta-agl-drm-lease: Improve usabilitylamprey_11.92.0lamprey/11.92.011.92.0Scott Murray5-1/+6
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
2021-04-30fix mis-spelling in markdown filelamprey_11.91.0lamprey/11.91.011.91.0seigot1-1/+1
fix mis-spelling "mesauring" to "measuring". Bug-AGL: SPEC-3507 Signed-off-by: seigot <s.takada.3o3@gmail.com> Change-Id: I39fd6fe96715eb8e9c77e4d2ab9d0878c4379065
2021-04-28Divide package drm-lease-manager and libdlmclientNaoto Yamaguchi1-0/+3
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
2021-04-22Rework for drm-lease-manager.serviceNaoto Yamaguchi1-0/+5
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
2021-04-16drm-lease: Update to latest versionDamian Hobson-Garcia1-1/+1
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
2021-04-06libweston: Don't request repaint in output enableDamian Hobson-Garcia2-0/+37
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>
2021-04-06drm-lease: Add seamless-transition supportDamian Hobson-Garcia1-1/+1
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>
2021-03-17drm-lease: Enable DRM render node on R-CarDamian Hobson-Garcia3-0/+71
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>
2021-03-17drm-lease: Disable weston TTY switchDamian Hobson-Garcia4-2/+109
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>
2021-03-09drm-lease: Add weston DRM lease integrationDamian Hobson-Garcia4-2/+454
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>
2021-03-05Add agl-drm-lease featureDamian Hobson-Garcia12-0/+416
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
2021-02-01meta-speech-framework: Update Alexa Auto SDK wakeword support for v2.3Scott Murray3-1/+82
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
2021-02-01meta-speech-framework: Update Alexa Auto SDK to v2.3Scott Murray19-873/+111
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
2021-01-26oem-pr-bs: add services and managers APIkoi_10.93.0koi/10.93.010.93.0Riku Nomoto13-2/+403
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
2021-01-24oem-pr-bs: add positioning serviceRiku Nomoto43-69/+150
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
2021-01-15meta-egvirt, templates: Remove virtio-aarch64 machine.koi_10.92.0koi/10.92.010.92.0Vasyl Vavrychuk12-158/+0
It is moved to meta-agl repository. Bug-AGL: SPEC-3668 Change-Id: I7f02d5afe42f96a955ebd1ea7735a9b84fee9cc8 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>