summaryrefslogtreecommitdiffstats
path: root/recipes-platform
AgeCommit message (Collapse)AuthorFilesLines
2024-05-29agl-ivi-demo-html5: remove duplicated includeScott Murray1-2/+0
Remove require of agl-demo-container-guest-integration.inc, as it is already pulled in by the base agl-ivi-image recipe. Bug-AGL: SPEC-5138 Change-Id: Iee8c6e16181f1b6529cb4456d3ac1cf59671d221 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29949 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-29Add preconfigured demo control panel imagesScott Murray3-0/+20
Changes: - Add kuksa-dbc-feeder configuration package for the gateway flavor of the control panel image. - Split out the agl-demo-control-panel configuration into a separate package, and add alternative versions for running against the regular and gateway versions of the full demo. - Add -preconfigured and -preconfigured-gateway flavors of the agl-ivi-demo-control-panel image that add the appropriate tweaks to support the full demo setups. Bug-AGL: SPEC-5107, SPEC-5138 Change-Id: I290d08c0f7234f951b822b161bce8166fb62d346 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29943 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-29Add gateway demoScott Murray4-0/+56
Changes: - Add recipe for AGL VSS to MQTT proxy daemon - Update agl-vcar.dbc CAN database definition to add signals useful for demoing the proxy (per V2C EG discussion). - Add a patch to kuksa-dbc-feeder to allow sensor signal updates to generate CAN messages in output mode. - Add VSS vspec variants to define the desired CAN input and output support for the various kuksa-dbc-feeder instances in the default and full gateway demos. - Add configurations for kuksa-dbc-feeder for the running the default gateway demo with CAN output from a demo control panel instance on a single CAN interface, as well as a fuller setup with a second kuksa-dbc-feeder running against a second CAN interface on the gateway to handle the demo steering wheel and HVAC support. - Add gateway demo specific configuration files for various KUKSA.val databroker clients to override the databroker location. - Add agl-gateway-demo and agl-gateway-demo-preconfigured images for the default and full demos. - Add *-preconfigured-gateway image flavors for the Flutter IVI, IC, and KVM demo images that support running with the databroker on the gateway. NOTES: - The *-preconfigured-gateway images assume the gateway has an IP address of 192.168.10.4. - Required changes to the agl-demo-control-panel application and the addition of a agl-ivi-demo-control-panel-preconfigured-gateway image will come in a subsequent change. Bug-AGL: SPEC-5107, SPEC-5138 Change-Id: I9797aa72737af7af3d791a5151198f80b6d90e0d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29906 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-29Rework KVM demo configurationScott Murray9-111/+40
Changes: - Move KVM demo configuration and image recipes to a new sub-layer, meta-agl-kvm-demo, to keep things that may not be buildable with just the agl-demo feature separate to avoid confusion. It will hopefully also avoid clutter in recipes-platform/images. This sub-layer is pulled in when the agl-kvm setup feature is given to aglsetup.sh. - Remove the agl-kvm-host-kuksa and agl-kvm-host-audio setup features. - Add new *-guest and *-guest-preconfigured flavors of the Flutter IVI and IC images under meta-agl-kvm-demo that that have the desired configuration changes baked in. - Add required qemu-config recipe variants for the new guest image flavors. At the moment there is more duplication of configuration for this than is desired, and some reworking of agl-qemu-runner configuration may come as a follow up to avoid this. - Remove qemu-config recipe variants for unused Qt guest images. If it becomes desirable to use the Qt demo images as guests this can be revisited. - Added agl-kvm-demo-flutter-preconfigured image variant that supports the full demo setup (i.e. "green machine" with steering wheel, equivalent to CES 2024 demos). NOTES: - The agl-kvm-demo image remains and builds roughly the same image as before, with the KUKSA.val databroker running in the IVI guest and cluster support enabled. Replacing this image with a bbclass abstraction and an e.g. agl-kvm-demo-flutter image is under consideration. Bug-AGL: SPEC-5138 Change-Id: I64936208fd032e5ba47366e3a7ff572dc18338e4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29905 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-29Replace agl-demo* features with preconfigured imagesScott Murray10-49/+78
Changes: - Remove the agl-demo-preload and agl-demo-cluster-support setup features. - Make the agl-weston-remoting setup feature a dependency of the agl-demo feature. To accommodate this with respect to avoiding putting the remote-output display configuration into generated weston.ini files when not required, the logic for that has been moved from meta-agl-core's weston-ini-conf recipe, and extra weston-ini-conf-* packages with the remote output support enabled are now generated to be used in images when required. - Add *-preconfigured versions of the images useful in a full demo setup (i.e. with "green machine" for tradeshows). These images have the configuration tweaks that the build setup features enabled with conditional logic baked in. - Remove now unnecessary connman-conf bbappend, we now assume that the IVI and cluster IP addresses are assigned as 192.168.10.2 and 192.168.10.3 via DHCP in a full demo setup. Notes: - The cluster support in the *-preconfigured images assumes that the IVI board is at IP address 192.168.10.2, and both boards are in the 192.168.10.x subnet. Bug-AGL: SPEC-5138 Change-Id: Icc472c6b602fa8fa5570af6cb0acaef853cbfa0f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29904 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-27Rework demo image namingScott Murray16-50/+35
Rename the demo images to align with the following scheme: agl-<ivi|cluster|etc>-<image|demo>-<qt|flutter|etc>(-<crosssdk|preconfigured>) The intent is to make the naming more consistent in preparation for switching to preconfigured images as a replacement for the existing agl-demo-preload, agl-demo-cluster-support, agl-kvm-host-* aglsetup.sh features. Additionally, the prototype LXC demo image support has been removed as it is unused and would need updating for these and upcoming changes. Bug-AGL: SPEC-5138 Change-Id: I8d907713b09eb47c3cb0ebd5326ab063b2684ea2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29903 Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26Fix crosssdk build on RISC-Vquillback_17.0.2quillback/17.0.217.0.2Scott Murray1-1/+4
Remove gcc-sanitizers from the crosssdk when building for RISC-V, as it is not currently supported on that platform. Bug-AGL: SPEC-5116 Change-Id: If4e273c85b322f65635e2e9fc4752227f19b065c Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29847 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account (cherry picked from commit 2d90ed672986778ed9826beeb395e688cd628156) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29858
2024-03-19agl-ivi-demo-platform-flutter: add camera-gstreamerScott Murray1-0/+1
Add camera-gstreamer application to the new default Flutter demo image. Bug-AGL: SPEC-5066 Change-Id: Idfb27610ddf75ff10bc3aea881a377ff70229217 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29704 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit f950cfabb008700cfa6bfe88286006a6cc20327e) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29763
2024-03-19Enable running audio services on host for KVM demoScott Murray7-18/+34
Changes: - Add agl-kvm-host-audio feature for configuring other changes. - Make installation of packagegroup-agl-ivi-service-platform in the KVM host versus IVI images dependent on the agl-kvm-host-audio feature. Some recipe dependencies are tweaked by the feature being specified to avoid accidentally pulling things into the IVI guest images. - Add KVM demo specific configuration for applications affected by running the databroker on the host versus in the IVI guest, and use it if the agl-kvm-host-kuksa feature is enabled. Bug-AGL: SPEC-5082 Change-Id: I3a6e6216a90e4d260c20f0b048e6332466aef4ff Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29702 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account (cherry picked from commit 49a85681e52d1f568a5bb6086d7e14af701ac6dc) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29762
2024-03-19agl-ivi-demo-platform-flutter: add ondemandnaviScott Murray1-0/+1
Add ondemandnavi application to new default Flutter demo image, and update both it and tbtnavi's runtime dependencies to make sure all the required Qt packages get pulled into the image. Bug-AGL: SPEC-5085 Change-Id: I521a7e3a1d161f2283023f8fa346092f961ac4ba Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29701 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account (cherry picked from commit 3a72cfd21cdd03401ea3208afd721d83c220d3e8) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29757
2024-03-19Add CAN test tools image featureScott Murray5-4/+10
Add can-test-tools image feature and use it to remove duplication of adding the tools to various images. Bug-AGL: SPEC-5083 Change-Id: I4f4eec87eb26825f69f056183829feab7d90caf5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29700 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account (cherry picked from commit 188db67d4205a7d37c374cc20d9d3bd90324cb41) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29761
2024-03-19Add KUKSA.val databroker image featuresScott Murray8-28/+39
Rework inclusion of KUKSA.val databroker server and client support into image features that can be specified via IMAGE_FEATURES, and use that in our demo image definitions. As well, add a new agl-kvm-host-kuksa feature that allows configuring the KVM demo build to run the databroker on the host instead of in the IVI guest. Some further application configuration changes are required for that to fully work, those will come in follow up commits. Bug-AGL: SPEC-5082 Change-Id: Ice931fe924c1bf49709999eeabcb998ee191fc80 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29699 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account (cherry picked from commit 0c14b48d5b0c1129e79f7a59daaedd3f55989c5c) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29760
2024-03-18Rework IVI image packagegroupsScott Murray6-34/+21
The all-in-one packagegroup-agl-image-ivi makes it difficult to use the dependencies it pulls into images in a piecemeal fashion. It has been removed and instead its dependencies are included in the base IVI image defintion. As well, the IVI services packagegroup has been split to have packagegroups for applaunchd versus platform-dependent services (audio, HVAC, etc.). These will enable doing using conditional logic in the IVI image defintion that will be more visible and not break binary packaging. Bug-AGL: SPEC-5082 Change-Id: Ia4e95656e2fbc6d8ed6ba98c19b33f6fe6ca5971 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29698 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account (cherry picked from commit e756238f831c825a02c0d27a01d85afdbfca4004) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29636
2024-02-18Remove virtual/webruntime RPROVIDESScott Murray1-1/+1
At this point it is not really the case that WAM can be switched out for another web runtime, so just remove the virtual/webruntime RPROVIDES rather than rework it. Bug-AGL: SPEC-5067 Change-Id: I0b55f483352c93e50e36d25d6237abe3598552b4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29624 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-01-05kuksa-vss-init: rework into agl-vss-helperScott Murray1-1/+1
Rework/replace the kuksa_vss_init script with a new agl-vss-helper script that uses a configuration file for the list of VSS signals and the values they should be set to. It also will run in daemon mode if the configuration includes a list of signals to perform mocking as an actuator, and push any target values back out as the current value. This avoids needing to perform hacks around directly feeding sensor values from applications for things where we do not have an existing actuator backend (e.g. HMI units values). Bug-AGL: SPEC-5042 Change-Id: I6d1e9d5fb72f7f23a3bb45fcda0a48e1a10c3863 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29583 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-01-05Use flutter-auto activation area supportScott Murray1-1/+0
With the geometry fix in place for flutter-auto's activation area support, update the Flutter homescreen JSON configuration files to use it, and drop the custom Flutter weston.ini that was being used. Bug-AGL: SPEC-5038 Change-Id: I2e5fe3b8e54f49a36c2286e1a78ffc081b90f6fa Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29582 ci-image-build: Jenkins Job builder account Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-24Explicitly add CA certificate package to cluster imagesScott Murray2-4/+6
Explicitly add kuksa-certificates-ca-agl to the cluster demo images so it will be included in both regular and agl-demo-preload builds. Also remove obsolete dependency on kuksa-certificates-client-agl from the cluster-dashboard recipe, and kuksa-databroker RRECOMMENDS from the libqtappfw recipe to fix the regular vs agl-demo-preload behavior for the agl-cluster-demo-platform build. Bug-AGL: SPEC-4986 Change-Id: I62b1d976c66824fde50a3effdcdd34b428e82d54 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29472 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2023-11-24Add agl-ivi-demo-platform-flutter-simpleScott Murray1-0/+20
Add agl-ivi-demo-platform-flutter-simple image recipe that is equivalent to the previous agl-ivi-demo-platform-flutter before switching to using flutter-ics-homescreen. This allows testing with the previous flutter-homescreen, flutter-hvac, and flutter-dashboard applications. Per the 11/23 developer call, this is desirable for Quillback since it will be a LTS release. Bug-AGL: SPEC-4982 Change-Id: If4ae33ef25e986fe32802a9e6ca299f941e5ef2f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29470 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-23Make CEF the default and deprecate chromiumJan-Simon Moeller1-0/+2
We complete the migration to CEF (Chromium Embedded Framework) by making CEF the default and deprecating the outdated chromium recipe. Bug-AGL: SPEC-4975 Change-Id: I59e3cdedda46ad74947a7b7e8d51dea70ecbd033 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29449 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-22KVM demo updatesScott Murray1-0/+2
Changes: - Fix native-shell-client systemd unit to work with the changes made for SPEC-4714 (separate agl-compositor systemd unit, running as agl-driver). - Update agl-qemu-runner.sh for the SPEC-4714 changes. - Tweak cluster guest configuration to use just 2 cores and 1 GB of memory to free up resources for the host. - Add inverted psplash configuration that is pulled in for the KVM demo image when building with agl-demo-preload. This matches the inverted screen in the demo hardware. Bug-AGL: SPEC-4974 Change-Id: Ie57a3550c8c8b12fd64ee14a9f1fbf4a4c40da32 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29460 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-16flutter-ics-homescreen: update recipe and make defaultScott Murray1-15/+1
Update SRCREV in flutter-ics-homescreen to pick up: 94b78fd Update Kuksa databroker configuration scheme ca2ba80 Re enable background animation. 4db7a1d Rename config directory to avoid collisions 17b4bf6 Fix hybrid animation. As well, the patch to change the databroker port has been removed, and the configuration yaml file updated to give the same effect. Lastly, the agl-ivi-demo-platform-flutter image recipe has been updated to use flutter-ics-homescreen. Bug-AGL: SPEC-4969 Change-Id: I8a2999d09e38a22df01a27ce6ed52cf4dc0b551f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29437 Reviewed-by: Justin Noel <justin@ics.com> ci-image-build: Jenkins Job builder account Reviewed-by: Lisandro Perez Meyer <lpmeyer@ics.com> Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account
2023-11-06agl-demo-control-panel: add recipe and imageScott Murray1-0/+27
Add recipe to build the agl-demo-control-panel application, and a corresponding new image recipe, agl-ivi-demo-control-panel, that yields an image that runs the control panel fullscreen on boot. Bug-AGL: SPEC-4952 Change-Id: I17d762230e48ab47de3f6214a2a9dc1f59f3a8ea Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29347 Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Reviewed-by: Lisandro Perez Meyer <lpmeyer@ics.com> ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-10-17Add base demo imagesScott Murray7-56/+63
Some rework to add agl-ivi-demo-base and agl-ivi-demo-base-flutter images that have all of the required demo services and configuration, but not our demo UI applications. As part of this, move some of the conditional package inclusion logic out of the demo platform packagegroups into the image recipes to make the packagegroup contents stable, and add applaunchd to the IVI services packagegroup so it'll always get pulled in. Some of this may still get redone in the future per SPEC-4813. Bug-AGL: SPEC-4933 Change-Id: Ief4b7ef3f0720315cbdc579f62b1196c66e237cd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29278 Reviewed-by: Lisandro P�rez Meyer <lpmeyer@ics.com> Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-10-06meta-agl-demo: Add camera-gstreamer appAshok Sidipotu1-0/+1
Bug-AGL: SPEC-4881 Change-Id: Iaeffadaba88ad01da96312af7c0dc8cfcf99d0d1 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29123 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-09-27agl-cluster-demo-platform: Add databroker by defaultScott Murray1-0/+9
Pull the KUKSA.val databroker into the agl-cluster-demo-platform when building without the agl-demo-preload feature. This matches the behavior of the Flutter cluster demo image, and enables using the image for standalone testing. Bug-AGL: SPEC-4845 Change-Id: I8bc295858a28ea5cb842b01c5d58b59e3dc1e826 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29246 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-09-27Remove KUKSA.val server from Flutter imagesScott Murray2-11/+4
Remove KUKSA.val server packagegroup from Flutter demo images now that all the applications have been converted to using the databroker. Bug-AGL: SPEC-4762 Change-Id: I50237b668bd7b6aac61bf6d893b14e7f5591760f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29245 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-28Switch Qt demo to KUKSA.val databrokerScott Murray9-16/+56
Changes to switch the Qt-based agl-demo-platform demo from using the older KUKSA.val server to the new gRPC based databroker. The Flutter demo's vehicle signalling behavior ends up a bit broken by these, but the image still boots and basic things still work. A follow on set of changes will convert the Flutter apps to the new gRPC API and remove the KUKSA.val server completely. Notable changes: - Updated libqtappfw, homescreen, ondemandnavi, and tbtnavi recipes to pick up changes to switch to using the databroker. - Updated agl-service-audiomixer and agl-service-hvac recipes to pick up their rework for using the databroker. - All the Qt demo applications that use the VehicleSignals class from libqtappfw have had their .conf and .token files updated to work with the databroker. As well, the JSON files used to create the new app-specific authorization tokens have been checked in to provide a reference of how things are configured. - The DBC feeder configuration has been changed to push into the databroker. Having a duplicate instance to also push into the older server has not been set up, as hopefully the Flutter demo conversion will follow on quickly enough to not require it. - Packagegroups for the KUKSA.val server and databroker have been factored out and are used instead of using the agl-ivi-services packagegroup. - kuksa-databroker-cli and the simple CAN simulator script are now included into the demo images when building with agl-devel. Bug-AGL: SPEC-4762 Change-Id: I416bcfbf961535062043ef54acdea6c353f84af1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29171 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray34-353/+94
Remove the use of systemd user session to align with how upstream runs Weston, and to allow using all systemd sandboxing features with the compositor and homescreen, launcher, etc. applications. The changes for this touched enough packagegroups and images that further rework was done to address some of the cleanup described in SPEC-4813, see below for details. Changes: - Rework systemd units and recipes of affected applications. - Rework images to pull in image .bb files instead of .inc files. - Pull in the new agl-image-compositor as a base image where appropriate. - Update weston-terminal-conf recipe to use new split out weston-terminal package. - Use new agl-crosssdk bbclass where appropriate. - Pull some local common cross-SDK additions into a new agl-ivi-crosssdk.inc include file and use as appropriate. Note that this does have a side effect of likely correcting the contents of agl-image-ivi-crosssdk for some recent additions. - Remove flutter-gallery bbappend that turned it into an app, as we are not using it in images, have other examples now, and it seems better to not affect the contents of agl-image-flutter. - Remove unused agl-image-graphical-html5. If a downstream user does desire an image with Chromium+WAM without applications, restoring it can be considered. - Remove unused agl-image-graphical-qt5-crosssdk. - Remove all packagegroup-agl-profile-* packagegroups, as they were either empty or not providing value at this point. Any future plans for defining profiles can start from a clean sheet. - Added new packagegroup-agl-ivi-multimedia-hardware to hold some rcar3 specific additions (via override) that were previously being appended onto packagegroup-agl-graphical-multimedia even though they are machine-specific and that packagegroup is not. This may be a stopgap solution if the agl-ivi-* packagegroups are reworked further. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I544b1495bed1e2e2412a8e46b7d20d7622ec28c9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske2-7/+5
-Removes use of flutter bbclass runtime modes Installed modes are determined by flutter-engine package config flags. Default modes are debug, profile, and release. -Single json file based on runtime=release. If additional parameters are needed this happens as part of workspace automation. Scott Murray: - update packagegroup-agl-demo-platform-flutter Bug-AGL: SPEC-4819 Change-Id: I58fc1b30ea3367ec5f47f52b60951cf0be31dcbc Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31Add KUKSA.val databrokerScott Murray3-0/+11
Add a recipe for the KUKSA.val databroker, a Rust implementation of a VSS server with gRPC APIs, and add it to the images that currently have the C++ kuksa-val server to ease further integration development. Since the databroker listens for gRPC API requests on a different port than the C++ server, there is no conflict during this period. Users wanting to drive CAN data into the databroker for testing will have to manually update the kuksa-dbc-feeder configuration during this interim period. Changes: - Bump common KUKSA.val SRCREV to pick up some improvements. - Add kuksa-databroker recipe to build the databroker. - Add kuksa-databroker-agl recipe to install AGL-specific configuration for the databroker, similar to what has previously been done with kuksa-val-agl for the C++ server. - Add missing branch node declarations in the AGL VSS overlay, as the databroker VSS parser is stricter and treats their absence as an error. - Add the kuksa-databroker, kuksa-databroker-agl, and the kuksa-databroker-cli packages to the appropriate packagegroups and images. Some follow up work will factor out a packagegroup for the KUKSA.val packages to make future changes easier. Bug-AGL: SPEC-4762 Change-Id: Ie7837b7e42a2283914adc913b75639fcb83029a6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31agl-cluster-demo-platform-flutter: always install receiver configurationScott Murray1-1/+1
Always install cluster-demo-config-flutter instead of tying it to the agl-demo-preload feature, so that the receiver gets the desired display geometry all the time. Bug-AGL: SPEC-4815 Change-Id: I9bcdaced479781a018c0d7155aef6a06ac26b9dd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31kuksa-val: fix vss-agl dependency for cluster imagesScott Murray1-1/+0
Make vss-agl a runtime dependency of the kuksa-val-agl package as the configuration in that package is what actually requires it, and remove the previous addition to packagegroup-agl-ivi-services as it will no longer be necessary. This fixes the desired KUKSA.val configuration for e.g. the Flutter cluster image. Bug-AGL: SPEC-4761 Change-Id: I9ec93acf8e7a542acdb3e50a9cbace50e4928344 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-29A fstab replacement method change to build container guestNaoto Yamaguchi4-0/+22
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28690 review, I got a request for method change request. Existing method use bbappend for base files. New method use ROOTFS_POSTPROCESS_COMMAND. Bug-AGL: SPEC-4803 Change-Id: Ie058ef55f7dfeae5d651b46d5ff731d1a2bebc19 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-16kuksa-val: Update to 0.3.1Scott Murray1-0/+1
Changes: - Update kuksa-val to a commit that includes the 0.3.1 release and some other fixes past that. Our local patches have been updated. - Rework and rename the kuksa-viss-client recipe for the upstream switch to kuksa-client as the name. Our local patches have been updated. - Update kuksa-dbc-feeder to a commit that supports the kuksa-client library changes that come with 0.3.1. Our local patches have been updated, and a new local patch has been added to fix the token file configuration option behavior, this will be worked with upstream. Upstream changed the configuration file format, so our local one has also been updated to match. - Update the parsing of the DBC feeder configuration file in the can-dev-helper.sh script to work with the new format. - Update kuksa-val-agl recipe to not install AGL signals overlay for VSS, as that has been replaced with the use of the vss-agl package. - Add installation of vss-agl to packagegroup-agl-ivi-services so the AGL specific signals and DBC configuration will be available. Bug-AGL: SPEC-4761 Change-Id: I5933017a30f040a746f0a6a6eb2a3b68d1fc4bc1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-08recipes-platform/images/agl-ivi-demo-platform-crosssdk: Remove waltham-devMarius Vlad1-2/+0
We'd need this as meta-agl has dropped Waltham support. Bug-AGL: SPEC-4669 Change-Id: I09762ca5b60295b19c71d91ffa1375af7d9f6513 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-04-27kuksa-val: Rework to support updated SSL certificatesScott Murray2-0/+2
Changes: - Tweak the kuksa-val recipe to remove installing a newer server certificate (since it will be done elsewhere), and to split the certificates up into finer grained packages to ease installing them piecemeal and replacing them with other packages. - Remove the unused genCerts.sh certificate script patch form the kuksa-val recipe, an updated patch will be added in the near future. - Added a patch in the kuksa-viss-client recipe that enables the library to use certificates installed in /etc/kuksa-certificates or /etc/kuksa-val instead of the default ones that are shipped. - Add kuksa-certificates-agl recipe that installs AGL specific CA, server, and client certificates plus the required server and client keys to act as a replacement for the default ones shipped with KUKSA.val. The kuksa-certificates-agl name is used to avoid needing a rename with a future switch to kuksa-databroker. Note that the RPROVIDES variable is used for the various certificate packages to make them installable alternatives to the kuksa-val-certificates-* ones. The certificates installed are valid for 1 year and have AGL as the providing organization, longer validity ones will be added in follow up commits for Octopus and Pike. - Update the existing users of kuksa-val-*-certificates with the new kuksa-val-certificates-* package names. - Add PREFERRED_RPROVIDER definitions for the kuksa-val-certificates-* packages to quiet the BitBake warnings coming from having multiple providers. Bug-AGL: SPEC-4763 Change-Id: Ic6f1ca8b54f637674cd5ae42df0bed6ca4e729aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-27Add cluster-receiver to Flutter cluster demoScott Murray1-0/+1
Add cluster receiver to Flutter cluster demo image to match the CES demo. This change was missed in the forward port from Needlefish branch after CES. Bug-AGL: SPEC-4769 Change-Id: Id22a5d3e761ac0169942a04fdcac7148f3789d42 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-20Add helper to enable both displays in qemuJan-Simon Moeller1-0/+1
This supports testing the drm-leasemanager in qemu. We can bring up two outputs, but the 2nd output is disabled until it is connected. See https://jira.automotivelinux.org/browse/SPEC-4464 and https://gitlab.com/qemu-project/qemu/-/issues/1107 This adds a helper tool that will bring up the 2nd screen. Bug-AGL: SPEC-4464 Change-Id: I145a1b947916337daa9c8e7aed38e64919b35df8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-20Cleanup of packagegroup-hmi-frameworkJan-Simon Moeller1-8/+0
Remove unused parts. Change-Id: Ibb89fd650d8c395208a15a52e1a1e62bf79fed0f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-18Fix building agl-kvm-demo-platform for h3ulcb-kfScott Murray1-4/+1
Changes: - Add masking the meta-rcar-gen3-adas layer to the KVM guest multiconfig to avoid picking up the dangling bbappends in meta-agl-bsp when building the guests. - Remove the MACHINE_SUFFIX logic from the guest image copying in the agl-kvm-demo-platform recipe; it is a leftover from the original logic used in the IC EG container host images, and is unneeded here since the host and guests will be different MACHINEs (and the guest realistically cannot use the -kf machines). Bug-AGL: SPEC-4760 Change-Id: If3237ca4d9fc86fc9d289a95bda24a4afcc7a991 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-03-31Rework nss-agl-driver-db to be a systemd unit at runtimeJan-Simon Moeller1-0/+4
This avoids the issues seen with access rights changes on /home/agl-driver and will replace https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28587 Bug-AGL: SPEC-4599 Change-Id: If01ffc9623208edd7a7705739465fa8fca764b74 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-20Add window-management-client-grpcMarius Vlad1-0/+1
This adds a recipe for window-management-client-grpc for testing out the gRPC interface. This client will talk with the compositor indirectly, using the gRPC interface exposed by the grpc-proxy helper client. Bug-AGL: SPEC-4673 Change-Id: Ib1a9d14a3bd41ea64180494962f97f0d5b557c09 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-03-15agl-ivi-demo-platform-crosssdk: Add grpc-dev for crossdkMarius Vlad1-1/+2
This enables the SDK to build off applications, or services that make use of gRPC. Bug-AGL: SPEC-4721 Change-Id: I8f770580efd09dc1a50de839a8cc5126887303c3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-02-28packagegroup-qt5-toolchain-target: make bbappend changes conditionalDenys Dmytriyenko2-18/+19
Make bbappend changing RDEPENDS variables conditional on "agldemo" AGL_FEATURES flag. This resolved yocto-check-layer errors: INFO: test_signatures (common.CommonCheckLayer) INFO: ... FAIL AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed Bug-AGL: SPEC-4685 Change-Id: If4953d684455b6f2ab5edbb3a33b5cf7775d1587 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-13packagegroup-agl-demo: remove sllin driverScott Murray1-4/+0
Remove the sllin driver from the default demo packagegroup as we no longer use it, and it fails to compile against linux-dummy when building for IC EG guest containers. A separate follow up change will finally remove the sllin driver and lin-config recipes. Bug-AGL: SPEC-4703 Change-Id: I77b4508975993e32f3dd245b1c133aa703e0b349 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Restore agl-service-radio recipeScott Murray1-0/+1
Add an update recipe for agl-service-radio to build the reworked gRPC service daemon, and add it back as a dependency in packagegroup-agl-ivi-services so it will be installed into the demo IVI images. Bug-AGL: SPEC-4665 Change-Id: I9239a1e1476687e4c41367dbdfc6051c56b88c48 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29agl-kvm-demo-platform: update guestsScott Murray1-2/+3
Switch default guest images to Flutter based demo platform images. As well, the simple-can-simulator is added to the host to allow testing or demos. Bug-AGL: SPEC-4618 Change-Id: I2c57ca0ade168c2c3dfae8718e891f9af40e4d88 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 8b0fed47d196a938b44784d1fc8eaa25c36f84ca)
2023-01-20chromium: Do the activation explicitlyRoger Zanoni1-1/+1
Now chromium should use changes from the agl-shell v3 protocol to track app state changes and activate the applications instead of letting the compositor handle it. This change disables default activation by the compositor and lets chromium handle application activation. Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371 that adds the new config file with landscape orientation and disabled default activation. Bug-AGL: SPEC-4647, SPEC-4528 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ifbcb447b153408db01f592818288efbd5c940f67
2022-12-29Rework cluster demo configurationScott Murray2-1/+2
Changes: - Rename cluster-dashboard-demo-config to cluster-demo-config since the installed AGL.conf will also be used for receiver configuration now. - Add a Flutter cluster version of AGL.conf that configures the receiver window geometry as required. The alternative mechanism is used to generate separate packages with the different AGL.conf files. - Update the package names installed by agl-demo-preload in the Qt and Flutter cluster demo images. It may make sense to do further rework in the dashboard and receiver apps post-CES to split things into separate configuration files, but this seems the most straightforward way to do things for now. Bug-AGL: SPEC-4640 Change-Id: If8a65228c75f28a53ef32a49be90f75a85d60a16 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12packagegroup-agl-demo-platform-flutter: fix whitespaceScott Murray1-2/+2
To fix building, remove extraneous "\ "s that were accidentally added into IMAGE_INSTALL:append in packagegroup-agl-demo-platform-flutter in the previous update. Bug-AGL: SPEC-4637 Change-Id: Idf7600450834b3ea0bd6f4cd5858aadeda6ce6f2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>