summaryrefslogtreecommitdiffstats
path: root/recipes-demo/flutter-cluster-dashboard
AgeCommit message (Collapse)AuthorFilesLines
2024-08-03Enable network during compile for Flutter app recipesScott Murray1-0/+2
Explicitly enable network access during compilation in the Flutter app recipes for now to avoid hangs when building on systems where BitBake's network sandboxing is working. The underlying issue has been raised with upstream, but may take a while to resolve, so we need to work around it in the meantime. Bug-AGL: SPEC-5215 Change-Id: I8cd9cad626addd85ff77a22e221a817b09f0e73f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30152 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit b8aa98a7f1abdef60391bab932eeff57690c62b7) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30128
2024-05-31flutter-cluster-dashboard: fix KVM demo configurationsricefish_17.91.0ricefish/17.91.017.91.0Scott Murray3-1/+14
While reviewing things to document them, I realized thath the flutter-cluster-dashboard configuration for the plain KVM demo image was incorrect, and that a separate configuration was required for the preconfigured demo image where the databroker runs on the KVM host. This fixes the existing configuration file, adds a new one, and updates the corresponding preconfigured guest image. Bug-AGL: SPEC-5138 Change-Id: Ib24d3e1e5018efffce1bc820a7fd4f26ac38ddd6 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29926 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-05-27Add gateway demoScott Murray2-13/+24
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/+/29921 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-05-27Rework KVM demo configurationScott Murray2-5/+17
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/+/29918 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-03-26Update meta-flutterJoel Winarske1-2/+0
- change reference from meta-flutter to flutter-layer - add meta-flutter-apps to check - remove BBMASK for ivi-homescreen recipe - update the flutter apps (remove FLUTTER_APPLICATION_INSTALL_PREFIX) Change-Id: I4929dca34e380e7aacc1b0cc037a7a812fa7b313 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29778
2024-03-08Cluster support fixesScott Murray1-2/+2
Changes: - Rename CLUSTER_DEMO_VISS_HOSTNAME to CLUSTER_DEMO_VSS_HOSTNAME since we're not using VISS at this point. - Change TRANSMITTER_OUTPUT_HOST to REMOTING_OUTPUT_HOST in KVM demo configuration to match change previously made in the weston-ini-conf recipe in meta-agl. Bug-AGL: SPEC-5086 Change-Id: Id5a7ab5fab9b19786b4eeb743a06c71693e0a0da Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29703 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-03-08Enable running audio services on host for KVM demoScott Murray3-1/+11
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
2024-02-18flutter-cluster-dashboard: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 5bd594a Add gitlab issue/merge request templates dbb971a Fix unit handling da47b06 Fix TLS configuration parsing Bug-AGL: SPEC-4474, SPEC-5045, SPEC-5046 Change-Id: I58144e22ee8a65737bf0d11c7576dfa3c29ce6eb Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29684 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-24Update applications for VSS 4.0Scott Murray1-1/+1
Update SRCREVs in affected applications to pick up the changes to work with VSS 4.0. Bug-AGL: SPEC-4970 Change-Id: I09a2459c3ff3d09d52032959f8fecb157df4f6b2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29471 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-09-27flutter-cluster-dashboard: update SRCREVScott Murray4-22/+25
Update flutter-clutter-dashboard SRCREV to pick up KUKSA.val databroker gRPC API changes, update its YAML configuration files to match, and add the JWT authorization token the configuration requires. Bug-AGL: SPEC-4762 Change-Id: I294b1b26e596fe650d194dca78adde7394d30d75 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29244 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-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray2-7/+10
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-02Do not hard-code Flutter version and runtime typeScott Murray3-18/+19
Rework the flutter-homescreen and flutter-cluster-dashboard systemd units to get the Flutter version and runtime type from the environment file installed by the new agl-flutter-env recipe, and update their JSON configuration files to remove the hardcoding of their bundle paths. Bug-AGL: SPEC-4819 Change-Id: I841db2cbb3acfe4aad173e9b8aa25ff2e201c2e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske4-43/+4
-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-17Update applications for VSS 3.1.1Scott Murray1-1/+1
Update SRCREVs in flutter-cluster-dashboard, libqtappfw, ondemandnavi, and tbtnavi recipes to pick up vehicle signal changes for VSS 3.1.1. This is required for working with KUKSA.val 0.3.1 and the upcoming switch to the databroker. Bug-AGL: SPEC-4761 Change-Id: Ic13cf7ef702bb88bfa5ca2fef496b06e135133ba Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Make cluster dashboard KUKSA.val server configurableScott Murray1-0/+3
Add CLUSTER_DEMO_VISS_HOSTNAME variables to the cluster-dashboard and flutter-cluster-dashboard recipes and tweak the installed configuration files to use the address it specifies. This provides a hook for tweaking the configuration for e.g. running in the guest VMs in the QEMU+KVM demo. This may need to be tweaked down the road to use something like multiple packages + the alternatives mechanism instead. Bug-AGL: SPEC-4618 Change-Id: I3798987566d681eac59e8c4b9c1f2423d950b2ba Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 5109016c566a4a46e4a85f2c7b9dfcd6b8540233)
2023-01-29flutter-cluster-dashboard: Update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: be4da31 VSS signal fixes a0da726 UI tweaks Bug-AGL: SPEC-4653 Change-Id: Ie93d9a5121f83091be6f829b21953de1946c5203 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-30flutter-cluster-dashboard: remove warningScott Murray1-6/+0
Since the navigation support in the Flutter cluster dashboard is somewhat optional if we're using the navigation streaming, and it likely needs further development to be usable, remove the warning about supplying a MapBox API key to avoid unnecessary confusion. Bug-AGL: SPEC-4640 Change-Id: I0b34cb3b52c06cad09a447fd8b86b8f5eb4f846b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12flutter-cluster-dashboard: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: e440ec3 Update signal names and types for KUKSA.val 0.2.5 Bug-AGL: SPEC-4641 Change-Id: Iac91128ed43083629aebd2f573164240a043ed04 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10flutter-cluster-dashboard: Add demo configurationScott Murray2-4/+29
Add a demo configuration yaml file to point at the KUKSA.val server on the IVI board that can be installed as an alternative to the default. Bug-AGL: SPEC-4636 Change-Id: I75f91ad620e33ef7cbd7c6de4ef7ccae9b17cdf4 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-09-22Change SRC_URI and SRCREV for flutter-cluster-dashboardAakash Solanki1-3/+3
- Change SRC_URI to use the app repository on gerrit. - Change SRCREV to use latest commit of apps/flutter-instrument-cluster on gerrit Bug-AGL: SPEC-4508 Change-Id: I7f4cc443beaa1fe8991f6f913da1b59a76321e0b Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-09-15Add config file for flutter-cluster-dashboardAakash Solanki2-2/+23
- Add 'flutter-cluster-dashboard.yaml' file, which contains KUKSA.VAL auth token and few other paramenters. - Set openrouteservice API Key in local.conf to the variable `OPENROUTE_API_KEY`. - Change SRCREV Bug-AGL: SPEC-4508 Change-Id: I9a225013e18b65626b391258445ec0f6acf1a970 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-09-03Change SRCREV for flutter instrument cluster recipeAakash Solanki7-41/+55
- Change SRCREV to use latest commit - Change packagename from `ic` to `flutter_cluster_dashboard` - Change kuksa_vss_init.py to add signals for navigation Latest commit of the flutter app includes the new navigation in the instrument cluster, more indicators and unnecessary files and folders are also removed. Bug-AGL: SPEC-4508 Change-Id: I766b410cd66774bfb84eeb0ce9654ed85e8d2af3 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-08-08Update agl-cluster-demo-platform-flutter imageAakash Solanki1-16/+1
- 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 Solanki5-0/+100
- 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>