summaryrefslogtreecommitdiffstats
path: root/recipes-platform/images
AgeCommit message (Collapse)AuthorFilesLines
2024-03-19Add KUKSA.val databroker image featuresScott Murray6-26/+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 Murray1-2/+8
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-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 Murray4-25/+59
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-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 Murray1-10/+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 Murray3-3/+16
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 Murray14-150/+54
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 Winarske1-1/+1
-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 Murray2-0/+4
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-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-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 Murray1-0/+1
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-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-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-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)
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-10Update Flutter demo imagesScott Murray4-14/+28
Changes: - Split demo image feature definitions into an include file to allow reusing them, and pull into both the Qt and Flutter demo platform images. - Remove packagegroup-agl-demo-platform dependencies from feature packagegroups so they will not break the Flutter images. - Tweak Flutter cluster demo image to have KUKSA.val related package omission be controlled by the "agl-demo-preload" feature. - Add the kuksa-vss-init package to the IVI services packagegroup so that the signal initialization expected by the Flutter cluster dashboard will always be done. This covers the usecase of using the Flutter cluster with KUKSA.val on the IVI board. - Add missing "agl-demo-preload" tweaks from the Qt demo platform image to the Flutter one. - Tweak things to leave out the Weston terminal app from images build with the "agl-demo-preload" feature. - Remove flutter-navigation and flutter-mediaplayer from the Flutter demo image for now, and add the messaging, phone, and radio Qt apps to fill out the list of apps for the demo. Bug-AGL: SPEC-4636, SPEC-4637, SPEC-4639 Change-Id: I9cde89278f0191886152f765d4fb1a893c0ea2c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-23agl-kvm-demo-platform: Add recipeScott Murray1-0/+68
Add agl-kvm-demo-platform image recipe. If "agl-kvm" has been given to aglsetup.sh, it can be built to generate a minimal host image that runs IVI and cluster images with QEMU+KVM. The guest images are built with the "agl-guest-kvm" that the "agl-kvm" feature enables, and are built against the virtio-aarch64 target. The guest images to build can be overriden with the variables GUEST_VM1_IMAGE and GUEST_VM2_IMAGE (from e.g. site.conf). At present this image has only been tested on the AGL reference platform, and development is likely required to get it working on other platforms. COMPATIBLE_MACHINE has not been set in the recipe to ease experimenting, that may change. Known issues: - Currently graphics output from the guests is corrupted when they first boot, and a manual reboot is required of each guest. - Peripheral support is still a WIP. Audio has been configured, but needs further debugging. CAN, USB, etc., are to follow. Bug-AGL: SPEC-4618 Change-Id: Id7113576453621702547ee6e0b8734a6e9117bb6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-22Update Flutter demo image to use Flutter homescreenScott Murray1-0/+1
Changes: - Update Flutter demo image packagegroup to replace the Qt demo homescreen and launcher with the new Flutter homescreen. The list of apps to install has been tweaked to drop the Qt HVAC and dashboard applications and add the Qt settings, mediaplayer, and navigation apps, to better reflect what is likely to be usable for ALS and CES. - A AGL_FLUTTER_RUNTIME variable has been used in the Flutter demo image packagegroup to allow potentially switching the Flutter packages from release to debug or profile versions. - Add Flutter homescreen specific weston-ini-conf-flutter package to the Flutter demo image. - Tweak the application display names for the Flutter dashboard and HVAC applications to drop the Flutter prefix since they will be the only versions present in the Flutter demo image. Bug-AGL: SPEC-4615 Change-Id: Iec1c139b72cbd953420f23484942ad255080f4f7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-08-08Update agl-cluster-demo-platform-flutter imageAakash Solanki1-2/+7
- Remove packagegroup and add packages to image - Add a script to set some value in Kuksa data model - Add Simple-CAN-simulator Bug-AGL: SPEC-4508 Change-Id: Ibf4f4c2b02f7860e2f93c08a5c0e064272652657 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-08-06Add a new image for Flutter instrument cluster appAakash Solanki1-0/+25
- Add a new image: agl-cluster-demo-platform-flutter - Add recipe for instrument cluster app - Pin instrument cluster app with kuksa-val-server. Bug-AGL: SPEC-4508 Change-Id: I04dc536e5700fb6b92e8c9a672ebb107c73e6724 Signed-off-by: aakashs45 <tech2aks@gmail.com>
2022-07-27Add agl-ivi-demo-platform-flutter imageScott Murray1-0/+9
Add an image for testing Flutter applications. At present it uses the Qt demo homescreen and launcher until they can be replaced with a Flutter homescreen with equivalent functionality. To allow testing agl-compositor behavior, the packagegroup for the image includes the demo Qt HVAC and dashboard apps in addition to the Flutter "gallery" demo application packaged for launching with applaunchd. The "agl-flutter" build feature has been added as a dependency of "agl-demo" in order for the above to be buildable by default. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idf2daa189a15e9cc4bfe2030ac6aa3f5b0331c0c
2022-07-06Rework demo packagegroup and imagesScott Murray3-24/+13
Rework the agl-ivi-demo-platform* images to reduce duplication, and move the additions for the agl-demo-cluster-support and agl-demo-preload features. Changes: - Pull in agl-image-ivi.bb in the crosssdk image rather than duplicating its contents. This means the package additions from the demo features will be reflected in the SDK, which seems more in line with general expectations of how Yocto SDKs work. - New packagegroups are created for the agl-demo-cluster-support and agl-demo-preload features, and they are pulled into the agl-ivi-demo-platform / agl-demo-platform image using features in IMAGE_FEATURES. This avoids changing the contents of various packagegroups based on AGL_FEATURES and seems more futureproof with respect to binary packaging. - ALLOW_EMPTY has been removed in a few packagegroup recipes, as it does not seem to make sense if the packagegroup will never be empty. - The cluster-dashboard-demo-config recipe pulled into the agl-demo-cluster-support packagegroup has been added back, it was accidentally removed in the application framework cleanup. Bug-AGL: SPEC-4424 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Icaa38651a1d29de09bb40576c773e3f93ee87098
2022-05-11Add wireplumber recipes to agl explicitly.Ashok Sidipotu1-0/+1
Add wireplumber recipes explicitly as they are removed from packagegroup-pipewire. Bug-AGL: SPEC-4100 Change-Id: I1081d04c13de7d38d0f42ac0c10eedfc20acc655 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
2022-03-21Restore Qt compositor cluster demo imageScott Murray1-0/+23
Changes: - Added the required backend plugin options for running with Qt's compositor to the PACKAGECONFIG variable in the qtbase recipe bbappend. - Restore an updated recipe for the agl-cluster-demo-qtcompositor image, with updates to the associated packagegroups for the app framework removal. - As part of the above, the duplication of the profile-cluster-qt5 package naming has been clarified in the qt5 versus qtcompositor packagegroups with new -wayland and -egl suffixes, with the previous plain -qt5 name aliasing the wayland option to maintain expected behavior. This avoids packaging conflict errors if building both types of cluster demo image in the same tree. - Restore updated cluster-gauges-qtcompositor recipe required for the image. - A simple systemd unit file has been added for the cluster-gauges application and is currently installed as a system session unit. Some rework of the agl-session scheme is required to run as a user unit, the intent is to address that in one of the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id79484c025fef067d7d47eaf783768e700a9dc8d
2022-03-08Restore cluster and telematics demo imagesScott Murray2-0/+31
Changes: - Restore the image recipes for the agl-cluster-demo-platform and agl-telematics-demo-platform images, with updates to them and their associated packagegroups for the app framework removal. - Restore updated recipes required for the above, including: * cluster-dashboard * cluster-receiver * qt-cluster-receiver * tbtnavi - Simple systemd unit files have been added for the cluster applications and are installed as user session units. Starting of cluster-dashboard (the XDG version) and cluster-receiver in the AGL user session is enabled by default. - The recipes to install the dedicated network configuration for the cluster demo have been restored so that the agl-cluster-demo-support and agl-demo-preload features will do what is expected again. Known outstanding issues: - The previous signal-composer binding support has been removed from cluster-dashboard, so related functionality (i.e. driving it from CAN) is disabled until replacement is worked out. - While tbtnavi builds, the previous use of the navigation binding is stubbed out in libqtappfw, so it will not receive location and route information from ondemandnavi. - Nothing has been added yet to start tbtnavi in the AGL user session, the plan is to do so with a systemd user unit once a new mechanism for controlling it from ondemandnavi has been implemented. - The telematics-recorder application has not yet been updated to replace its signal-composer, gps, and network binding use. The intent is to address these issues in the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I520c23775b21504cb7dd92538319cc5bf826ff64
2022-02-07Update inclusion in agl-demo-platform-crosssdk for openssh changemarlin_12.92.0marlin/12.92.012.92.0Jan-Simon Moeller2-4/+4
The sdk build did not catch the change to openssh as it used the wrong include file. Fix it by icluding the right file. Bug-AGL: SPEC-4243 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ief802f0212f2a464157f9dfc962686a479170715
2022-01-26Restore openssh as default in the IVI demoJan-Simon Möller2-2/+2
To support user sessions we need to use ssh-server-openssh. Bug-AGL: SPEC-4195 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I14dca131d5c3f6c64a9623f9a1755c05e3f6dd27
2021-11-04agl-image-ivi: define SYSTEMD_DEFAULT_TARGETScott Murray1-1/+5
Add SYSTEMD_DEFAULT_TARGET definition to agl-image-ivi to result in agl-compositor starting automatically in it and derivative images. This is required with the new weston-init behavior until we upgrade past 3.3/Hardknott, when "weston" in IMAGE_FEATURES can be used instead. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I282953edce89220bca6b2a1b217dada9b685f023
2021-11-03Prepare master for new framework integrationJan-Simon Möller32-333/+139
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: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-08-20Convert to new override syntaxScott Murray15-28/+28
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. 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: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-03-15agl-image-ivi: depend on packagegroup-pipewire instead of pipewire directlyGeorge Kiagiadakis1-1/+1
It looks wrong to depend on pipewire, as that does not guarantee that all the modules, tools, etc are present in the image Bug-AGL: SPEC-3844 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: Id361ec1eb8e1c715f97c05b21e52db394f14384b
2021-02-05Update cluster demo weston configurationScott Murray1-0/+1
Tweak the cluster demo to move the weston-ini-conf-landscape dependency to the image recipe, where the use of the regular or inverted configuration is now based on whether the "agl-demo-preload" feature is set. This means the cluster demo images will now by default have no rotation, but still allows building images for the AGL demo setup with its inverted cluster display. Bug-AGL: SPEC-3791 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4f82cc84d27687f228ed3b9587103edef9c150c0
2021-01-13Remove separate agl-{cluster,telematics}-demo featuresScott Murray3-3/+8
Changes: - Remove feature templates and associated include files for the agl-cluster-demo and agl-telematics-demo features. All of the demo images can now be built by just configuring with the agl-demo feature. - Remove feature template for agl-cluster-demo-preload, the cluster demo configuration it was pulling into the cluster image is now driven by the agl-demo-preload feature instead. - Moved speech framework and Alexa voiceagent feature inclusion to agl-demo-platform.inc to avoid them accidentally being pulled into the cluster or telematics demo images. Part of this change is moving agl-voiceagent-alexa from using IMAGE_FEATURES to AGL_FEATURES, which needs a corresponding change to meta-agl-devel. - Remove leftover use of agl-core-image-profile DISTRO_FEATURE, which no longer exists. - Remove unneeded explicit dependency on the PREFERRED_RPROVIDER_virtual/voice-high-config, things seem to be working fine with the dependency from agl-service-voice-high, so it is not required. Bug-AGL: SPEC-3749 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibcfbce28231a91aa56269db9196c471458d0e928
2021-01-07SPEC-3723: add appfw dependencies back to SDK imageJan-Simon Moeller1-0/+14
This is required in the SDK for some apps. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I5169e3e15fe8221583b3510ff3b94aa4a27c597a
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller21-1/+202
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
2020-12-04Add waltham-dev dependency to agl-demo-platform-crosssdkJan-Simon Moeller1-0/+1
This fixes: Missing or unbuildable dependency chain was: ['agl-image-minimal-crosssdk', 'waltham-dev'] Bug-AGL: SPEC-3605, SPEC-3604 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I89bfe1e7b044ec471c7688459ca9cf7a4ce4977d
2020-10-14Adapt packages of agl-image-ivi-crosssdkJan-Simon Moeller3-7/+22
The agl-image-ivi-crosssdk image was missing multiple services required for CI use. Bug-AGL: SPEC-3598 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ide6a367955b9a019863d7b29e04157c94dd33f60
2020-08-19agl-image-ivi: remove agl-desktop-configScott Murray1-4/+0
The agl-desktop-config recipe has been removed from meta-agl, remove usage. Bug-AGL: SPEC-3539 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1497082cf42edd51635831036ddeef2734914e51
2020-07-23Add aws-iot-device-embedded-c support to crosssdkAndrey Shamanin1-2/+12
AWS SDK is included to AGL cross SDK, it allows users to use AWS SDK during appropriate (working with cloud) AGL application development. v2: resubmit Library mbedTLS has been added to AGL SDK, because it is required for AWS SDK. Bug-AGL: SPEC-3480 Signed-off-by: Andrey Shamanin <andrei.shamanin@orioninc.com> Change-Id: I015ecad01970bebad8f25b8c5024cbe74c7fd78c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>