summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-10-08Change SRC_URI and SRCREV for ivi-demo-flutter-appsHritik Chouhan6-18/+18
- Change SRC_URI to use the app repository on gerrit. - Renamed recipes file name. Bug-AGL: SPEC-4560 Change-Id: I2887e568e6a466836d68866ace0766c7ed7949d9 Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
2022-10-03html5-aquarium: fix the incorrect licenseDenys Dmytriyenko1-1/+1
As "BSD-3" is incorrect and "BSD-3-Clause" should be used instead. Causes: WARNING: agl-demo-platform-html5-1.0-r0 do_rootfs: QA Issue: The license listed BSD-3 was not in the licenses collected for recipe html5-aquarium [license-file-missing] Bug-AGL: SPEC-4580 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Change-Id: I06b3865bad8667c4f7514c70fed89730cf15e713
2022-09-23homescreen_git.bb: Bump SRCREV to get protocol updatesMarius Vlad1-1/+1
This bumps homescreen's SRCREV to include agl-shell protocol update v2 and v3. Bug-AGL: SPEC-4528 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I39d9fd520e398c71eb00ada376f24faaabeab85a
2022-09-22agl-demo-platform: Do not activate by defaultMarius Vlad1-0/+1
With the recent protocol changes and Qt shell client updates, we can now switch off activate by default for the agl-demo-platform. This allows a smooth transtion and allows running code side-by-side until all shell clients will transition to it. For now we'll do it for just Qt homescreen (agl-demo-platform). Bug-AGL: SPEC-4528 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I22ee07544ba664452e24adc2d83187e013e77226
2022-09-22recipes-demo: camera-gstreamer: Updates for application enumeration via ↵Vasyl Vavrychuk1-1/+3
systemd units Update camera-gstreamer recipe to use the new agl-app.bbclass to install the now required by applaunchd systemd template unit instances. For application display name use it from camera-gstreamer.desktop available via application sources repository. Bug-AGL: SPEC-4466 Change-Id: I0890951d4ecac95e9d4a44ed5a83e704cd41673f Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-09-22recipes-demo: Add videoplayer recipe.Vasyl Vavrychuk1-0/+31
videoplayer BitBake recipe imported from attachment to AGL JIRA ticket [1] with adaptation for AGL NN. videoplayer suggested as an application to play video in [2]. Out from the box mediaplayer does not support video (only audio is supported). [1]: https://jira.automotivelinux.org/browse/SPEC-2389 [2]: https://jira.automotivelinux.org/browse/SPEC-4028 Bug-AGL: SPEC-4148 Change-Id: Ifd20f3e00ad1a99d0d05b8fb361ff7a8eb7a78f2 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-09-22Add recipes for flutter appsHritik Chouhan8-4/+124
- This add the flutter dashboard,hvac,navigation, mediaplayer apps in the AGL. - Pin all the flutter apps in IVI flutter demo homescreen. - Add config file for each app for kuksaAuthToken and mapboxAccessToken. Bug-AGL: SPEC-4560 Change-Id: If5f58e6ccc402f56fef66cc29d3959b834c4e27c Signed-off-by: Hritik Chouhan <hritikc3961@gmail.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-21kuksa-viss-client: add patch to fix command-line toolScott Murray2-1/+107
Add a patch for kuksa-viss-client to fix the cmd2 Python module usage to work with newer versions of cmd2. Bug-AGL: SPEC-4552 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7599f2e07b4ad3d57796a06677d5fda170240229
2022-09-21Switch Qt demo apps to gRPC launcher APIScott Murray3-11/+16
Changes: - Update SRCREV in libqtappfw, launcher, and homescreen recipes to pick up gRPC API changes. - Update libqtappfw recipe for switch to meson instead of CMake, and add new protobuf and gRPC dependencies. - Update launcher recipe to pull in new libqtappfw dependency, and update some formatting for consistency with the other recipes. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6ec0f53a0cc68bcf9b434086d99e8849c11198f3
2022-09-20kuksa-viss-client: add Python 3.10 support patchScott Murray3-37/+58
Add backported patch from upstream to support latest Python 3.10.x in the kuksa-viss-client recipe, replacing my previous local change which no longer seems sufficient with 3.10.4. Bug-AGL: SPEC-4566 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibeddb507b620d6700f807c92f77d7ee392e6014a
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-07Add Flutter HVAC appHritik Chouhan1-1/+1
- This add the Flutter HVAC app in the AGL - Pin the flutter HVAC app in IVI flutter demo homescreen. - Integrate with kuksa-val server. Bug-AGL: SPEC-4531 Change-Id: Idebb430360cd439d1403da86b220c9e9b5c48f22 Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
2022-09-07Add flutter dashboard appHritik Chouhan3-1/+62
- This adds the Flutter dashboard app in the AGL. - Pin the flutter dashboard app in IVI flutter demo homescreen. - Integrate with kuksa-val server. - change the homepage same as SRC_URI. - change the AGL_APP_NAME. Bug-AGL: SPEC-4524 Change-Id: I37dbcac2aa7a26b64250dd8fbec4de6051f16198 Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
2022-09-06wam: fix surface type name in application manifestJose Dapena Paz3-3/+3
Renamed appinfo.json field surface_role to be surface_type to be consistent with other parts of the code base. Took the chance to remove types that were not meaningful, and renamed default type (the one used when it is not set) to be default instead of none. Then updated the only applications setting the value to use the new propery. Those are html5-background and html5-homescreen. wam: 8ea41f7..4fbd6e6 4fbd6e6 [op][agl][wayland] Provide only supported AGL shell types html5-background: e91be22..aa7e2a8 aa7e2a8 Rename surface/role in appinfo.json to surface/type. bb4f497 autobuild: Remove autobuild scripts html-homescreen: fc0ffa4..f3cecb6 f3cecb6 Rename surface/role in appinfo.json to surface/type. Bug-AGL: SPEC-4505 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I404717dd5d848220bd5f070b98de56df38a78e20
2022-09-05chromium: fix wayland protocol version checks.Jose Dapena Paz1-1/+1
chromium: 16915e06c4..6296f0af4c 6296f0af4c [op][wayland] Add Wayland protocol version checking Bug-AGL: SPEC-4540 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Ica15034d397bddcef20ff4377c6bd551d7f03b1a
2022-09-03Change SRCREV for flutter instrument cluster recipeAakash Solanki8-41/+68
- 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 Solanki4-18/+121
- 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 Solanki6-0/+125
- 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-08-04Handle meta-flutter updateScott Murray3-3/+3
Changes: - Rename flutter-gallery bbappend to handle switch to BBCLASSEXTEND scheme in the upstream recipe. - Update the Flutter embedder package name in the Flutter demo image package group to handle upstream change. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3d5cf4e6f38b766c5dc65979cb53b6674af2b03a
2022-08-03mediaplayer: bump SRCREVScott Murray1-1/+1
Bump mediaplayer SRCREV to pick up the previously forward-ported change: 0aefba2 Fix layout issues This gets it back in parity with what's being used in Marlin. Bug-AGL: SPEC-4444 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I919a59ad2cbea6e39527b39fd1c477e9c6b489a0
2022-07-31wam: use gRPC for internal IPC.needlefish_13.92.0needlefish/13.92.013.92.0Jose Dapena Paz2-3/+3
Update WAM to use GRPC for internal IPC instead of Unix domain sockets, dropping previous implementation. Update dependencies to use grpc and protobuf. chromium: 9d9fbef68a..9fe715038f 9fe715038f [op][agl][wayland] Drop window surface ID wam: 491dcd1..3cc744f 3cc744f [wam][agl][wayland] Remove surface ID. 12d9778 [wam][agl][ipc] Rename WamSocketLockFile to WamIPCLockFile fc5f7ff [wam][agl][ipc] Remove Unix Domain socket based IPC implementation 92a3356 [wam][agl][ipc] Introduce LaunchParams struct replacing LaunchData 61ce1d0 [wam][agl][ipc] Add gRPC implementation of internal IPC ae51589 [wam][agl] Make IPC pass its parameters instead of storing them Bug-AGL: SPEC-4252 Change-Id: I8edbe1d47a684f73feadfed6cbd944c01b6d2ceb Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-07-27Add agl-ivi-demo-platform-flutter imageScott Murray5-1/+50
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-27Updates for application enumeration via systemd unitsScott Murray24-234/+81
Update application recipes to use the new agl-app.bbclass to install the now required by applaunchd systemd template unit instances. The previously used .desktop files have been removed, and it is believed that the required configuration with respect to application display names has been captured in the new agl-app configuration variables. Bug-AGL: SPEC-4466 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2925a68f911646c287bc7128bb0e5f43d55ce7bf
2022-07-27agl-demo: add agl-selinux as a dependencyScott Murray1-1/+1
Add the agl-selinux feature as a dependency of agl-demo to pull in the SELinux support for demo image builds. Bug-AGL: SPEC-4332 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I12ff244a47c2ca6f039972ca5263f9e78dc1d107
2022-07-26Add html-examplesJose Dapena Paz3-0/+23
Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Iee0e068aa5fd6f3bf5cb4cab8c5003e109408a8f
2022-07-26html5-jitsi addedJose Dapena Paz3-0/+23
Added Jitsi Meetings demo. Bug-AGL: SPEC-4393 Change-Id: Ide2363c9887aefa4370c7c7ce0007313cca03081 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-07-19html5-aquarium, html5-youtube addedJose Dapena Paz6-0/+72
Added two web demos (WebGL aquarium and Youtube launcher). Bug-AGL: SPEC-4392, SPEC-4248 Change-Id: I3e1e7a098d432d5d1c8de4640780ef05abf0e9f2 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-07-13kuksa-val: add regenerated server certificateneedlefish_13.91.0needlefish/13.91.013.91.0Scott Murray4-0/+128
After fixing the issue with the SSL context purpose in the Python client library, client connections were still failing with the error: certificate verify failed: IP address mismatch, certificate is not valid for localhost To fix this, the certificate generation script has been patched to create the now required Subject Alt Name extension field, as that has effectively replaced using the CN field in most SSL implementations. Replacement Server.key and Server.pem files generated with the updated script have been added to give us a working configuration while this is worked with upstream so their default configuration is usable with newer Python + OpenSSL versions. Bug-AGL: SPEC-4467 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9e8374fbbef6e8570b16d87f4e1800ceba8aacad
2022-07-13kuksa-viss-client: add patch to fix SSL context creationScott Murray2-0/+38
Add a patch that fixes the context purpose in the SSL context creation done for the client connection. On a client, the purpose needs to be set to server authentication to make newer versions of Python happy. Bug-AGL: SPEC-4467 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ide640a79f450fd2c1b5c2cda847932b2fd4e35c7
2022-07-11recipes-demo: update application's .desktop files for systemd executionDenys Dmytriyenko8-0/+48
Initial version of applaunchd with systemd_manager still uses .desktop files for enumeration purposes and requires DBusActivatable=true to indicate apps that should be launched as systemd services. This will be addressed in the new revision of applaunchd and hopefully .desktop files dropped completely. Bug-AGL: SPEC-4466 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Change-Id: I3bcea79ec653fc834a39be4135ed4c008d5979db
2022-07-11weston-terminal-conf: add systemd-sandboxed demo configurationDenys Dmytriyenko2-1/+24
Add a secondary .desktop file for weston-terminal to demonstrate new applaunchd systemd_manager with sandboxing capabilities. The sandboxing example enables PrivateNetwork - only loopback interface is available with localhost access only, easy to verify in the terminal Bug-AGL: SPEC-4466 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Change-Id: Ib17880050056a2801f03bcc54caef921e8bdb516
2022-07-11dbus: Delete patch dbus-c++-threading.patch not used any longerZhou Mingying1-45/+0
The patch dbus-c++-threading.patch is no longer used in dbus. So delete this unused patch. Bug-AGL: SPEC-4434 Signed-off-by: Zhou Mingying <zhoumy@fujitsu.com> Change-Id: I09f0743496d657d474191365639adc72d33b4a0f
2022-07-06demo-i2c-udev-conf: update for reworked agl-service-hvacScott Murray7-27/+26
Update demo-i2c-udev-conf recipe and the script and systemd unit it installs to generate the configuration that the reworked agl-service-hvac daemon expects for LED configuration for the demo platform. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8a746681a5f0acab9aa834796abd3607570e54b4
2022-07-06psplash-portrait-config: add recipeScott Murray3-0/+24
Add psplash-portrait-config recipe to install a systemd unit override for psplash-start.service that forces a 90 degree rotation for portrait mode, add add it to packagegroup-agl-demo-platform so that it takes affect in the agl-demo-platform image. Bug-AGL: SPEC-4433 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ida64df27a3a3c22bfe2eae8233ff8656800e23d0
2022-07-06simple_can_simulator: support different interface for LIN messagesScott Murray1-1/+6
Add a "--lin-interface" option to simple_can_simulator.py to allow specifying a different CAN interface for the cruise control LIN messages from the steering wheel in the demo setup. This allows pointing at the sllin0 interface in the full demo setup that is configured with the agl-demo-preload feature. Previously the CAN messages for the LIN events were bridged to the primary CAN interface, but this has proven unreliable in practice. Bug-AGL: SPEC-4431 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1bb0e429b849ed1e25cbd9ee8fb887e973d33081
2022-07-06agl-service-audiomixer: add updated recipeScott Murray4-0/+42
Add recipes to build the new incarnation of VIS client daemon version of agl-service-audiomixer that will serve as the base for future API development. As well, add the new package to the appropriate packagegroup. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9f69fedb13050807fc4390bf9ba278062969b973
2022-07-06agl-service-hvac: add updated recipesScott Murray8-1/+83
Add recipes to build the new incarnation of VIS client daemon version of agl-service-hvac and for installing associated demo platform configuration files for the full AGL demo setup. As well, add the new packages from these recipes to the appropriate packagegroups. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I34fae0a6e2c3ed387757eb01a9c8042ba14fbd0f
2022-07-06Update vehicle signal using app recipesScott Murray22-13/+158
Update the recipes for the Qt demo applications that were previously using signal-composer either directly or indirectly to work with the new VehicleSignals API in libqtappfw. For most of them this means updating their SRCREV to pick up the application changes, and installing the new configuration file and associated JSON web token file for KUKSA.val authorization. At present all the apps are using one of the default read-write tokens from the KUKSA.val install, but ideally this will end up migrated to app specific tokens with appropriate permissions JSON down the road, potentially obtained via OAuth or similar mechanism. Additionally, the tbtnavi recipe has been updated to install a systemd unit to start it at boot. Bug-AGL: SPEC-4409, SPEC-4426 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I46be098fc31be02852e7888ba0ffd14674efa12b
2022-07-06libqtappfw: update SRCREVScott Murray1-1/+1
Update libqtappfw SRCREV to pick up: a2d991a Merge "Reimplement HVAC API with VIS signals" b2cb90d Reimplement HVAC API with VIS signals fc9399e Reimplement navigation API with VIS signals 607f2b6 Add VIS vehicle signal support Bug-AGL: SPEC-4408 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I09fab479d5d672823d05d9ae784f323b2dfe34d6
2022-07-06Update demo KUKSA.val configurationScott Murray4-75/+266
In practice mapping multiple CAN signals from the LIN polling to a smaller number of VIS signals does not work well with the behavior of the CAN feeder from KUKSA.val when testing on the actual demo hardware. To improve the behavior: - update the VSS schema overlay and DBC feeder mapping configuration to use new AGL custom steering wheel switch signals instead of the previous signals and mappings. - add a patch to the DBC feeder to add a per-target duplicate signal filtering option, and enable it for all the steering wheel signals in the mapping configuration. The DBC feeder performance issues stemming from synchronous VIS server updates will be discussed with upstream, but these changes should yield behavior similar to the previous combination of the low-can and signal-composer bindings. With respect to the switch signals, this should be revisited if implementing a custom LIN signal feeder becomes an option, as overall it would be better to leverage the standard VSS schema signals if possible. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifd62161f18303717ee279e23f46000324ab77dbc
2022-07-06Add demo specific KUKSA.val configurationScott Murray8-1/+136
Add kuksa-val-agl and kuksa-val-agl-demo-cluster recipes that install extra configuration for KUKSA.val for the AGL demo platform. Changes: - Add kuksa-val-agl recipe to install AGL specific signals overlay and uses a new environment variable hook in the kuksa-val systemd unit to pass the required --overlays option to pick it up. - Add kuksa-val-agl-demo-cluster recipe to install cluster support specific kuksa-val environment file that makes kuksa-val-server listen on all addresses. This is hopefully a stop gap approach for the cluster demo until support for listening on multiple addresses is added upstream. - Add kuksa-val-agl to packagegroup-agl-ivi-services to enable the AGL specific signals in the demo images. - Add kuksa-val-agl-demo-cluster to packagegroup-agl-demo-cluster-support to pick it up when the agl-demo-cluster-support feature is used to build an image for the full AGL demo setup. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I41e90829a40aebf7f29e7719334f37d639542e07
2022-07-06kuksa-val: split client certificates into a separate packageScott Murray1-1/+13
Split the certificates required by clients (so client and CA) into a separate kuksa-val-client-certificates package so that they can be reused in the cluster demo image without having the full KUKSA.val server installed. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6b78b212ead395c8f731eab40ef0525a515bdb7c
2022-07-06kuksa-dbc-feeder-sllin: add recipeScott Murray6-0/+152
Add kuksa-dbc-feeder-sllin recipe to install systemd unit and configuration file to run a second copy of the KUKSA.val DBC feeder against the demo setup's sllin0 interface. The systemd unit will bring up the sllin0 interface by a call to the can-dev-helper.sh script if run on hardware that lacks the LIN adapter. Additionally, the DBC feeder mapping configuration has been updated with the mappings for the steering wheel LIN events, and kuksa-dbc-feeder-sllin has been added to the agl-demo-preload packagegroup for the full AGL demo setup. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ief38c4dcccda899cdef24881b292928e607dda14
2022-07-06libqtappfw: add qtwebsockets dependencyScott Murray1-0/+1
At least for the near future, the KUKSA.val support for vehicle signals in libqtappfw will use the VISS standard websocket interface scheme, so add qtwebsockets as a build dependency. Bug-AGL: SPEC-4408 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5c5b5e187651d0f30d267e1f21c0196c270859f0
2022-07-06Rework demo packagegroup and imagesScott Murray9-72/+72
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-07-06Rename agl-cluster-demo-support featureScott Murray7-18/+20
Rename agl-cluster-demo-support feature to agl-demo-cluster-support to make it clearer that it relates to the agl-demo-platform image. Bug-AGL: SPEC-4425 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9e1ebd2800ab55f3969be98034b60fcb4c09ba21
2022-07-06kuksa-dbc-feeder: update AGL vcar DBC fileScott Murray1-18/+18
The initial check-in of agl-vcar.dbc used with the kuksa-dbc-feeder recipe was a version with the steering wheel events incorrectly defined, update it with a corrected copy. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5c84d381c2652a1b5e9f06614f52c6d02b1998c0
2022-07-06sllin: switch to updated upstreamScott Murray13-378/+83
Changes: - Switch the SRC_URI of the sllin driver recipe to point at the new revived upstream location, update to their latest commit to get newer kernel support, and drop all the now unnecessary local patches. - Added a patch to fix compilation against 5.4 kernels before 5.4.110. This will be worked with upstream as time permits. - Rename the sllin driver recipe with a _git suffix to match OE style expectations. - Added the sllin driver to packagegroup-agl-demo as was being done in previous releases. - Split the demo script + service unit and lin_config configuration out of the sllin driver recipe into a new sllin-demo recipe so that they're no longer conflated. This should make it easier for others to reuse the sllin driver recipe. - Update the SRC_URI and SRCREV of the lin_config recipe to also point at the new upstream location/version since it comes out of the same repository. - Add the new master mode "-m" flag to the lin_config command line in the start_lin_demo.sh script (now in sllin-demo). This turns out to be required for our demo usecase as upstream seem to have inadvertently changed the default behavior. Bug-AGL: SPEC-4404 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If42a825e65d93b3fa11cfddd5d6b33ec410f7cc4
2022-07-06kuksa-dbc-feeder: add recipe and dependenciesScott Murray18-0/+563
Add a kuksa-dbc-feeder recipe to build the sample CAN feeder for the KUKSA.val Vehicle Information Service (VIS) server and add it to the agl-demo-platform image by adding it to packagegroup-agl-ivi-services. Local patches are applied to enable building with OpenEmbedded, make installation into standard Linux FHS locations feasible, and improve usability on target with respect to logging and error handling. These will be discussed with upstream to hopefully get them integrated. Additional changes: - Add a recipe for the required kuksa-viss-client Python module included with the KUKSA.val source tree. The module is also available via pypi.org, but keeping all the pieces in lockstep for now seems better, so it is built out of a clone of the kuksa.val repo using the same SRCREV as the server and kuksa-dbc-feeder. - Add new recipes for required Python modules: python3-argparse-addons, python3-can-j1939, python3-py-expression-eval, python3-setuptools-git-versioning These will be upstreamed to meta-python as time permits. - Add bbappend for python3-cantools to add a missing runtime dependencies discovered during testing. This will be addressed upstream in meta-python as time permits. - Add minimal DBC file and mapping configuration. At present the agl-vcar.dbc file only contains the minimum message definitions known to be required for the AGL demo platform, namely vehicle and engine speeds and the steering wheel events. - Add can-dev-helper recipe to install a systemd unit and script to ensure a CAN interface is available for testing. This is a tweaked version of what was previously used with agl-service-can-low-level. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic48ea71761fe3767ca3c1711c60b47e0d329d9e7