summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-07Update cluster network configurationScott Murray5-21/+1
Update configuration files as appropriate with the IVI board as 192.168.10.2 and the cluster as 192.168.10.3. This includes removing the cluster-connman-conf network configuration recipe. Bug-AGL: SPEC-4632 Change-Id: I60011a3615152a036057ca1a98d3916c67a3cd1e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-07agl-demo-preload: Enable CAN FD for reference h/wScott Murray1-0/+3
Define CANBUS_NETWORK_CONFIG to select the CAN FD configuration if building with the agl-refhw-h3 feature. Bug-AGL: SPEC-4633 Change-Id: Ie414fb800c4721f4b38ee6a11d9f3f856376d124 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-21Bump flutter-dashboard and flutter-hvacScott Murray2-2/+2
Bump flutter-dashboard and flutter-hvac SRCREVs to pick up opaque background fixes. Bug-AGL: SPEC-4614 Change-Id: Ia008b3f2cb96061d114c9766fe14ba45e92fd98c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-21Update Flutter demo image to use Flutter homescreenScott Murray4-16/+15
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-11-21weston-ini-conf: Add bbappend to generate Flutter demo configScott Murray2-0/+27
The Flutter homescreen in the Flutter demo image currently requires specifying the application activation area in the output sections in the weston.ini configuration for the compositor. Add a bbappend that creates a weston-ini-conf-flutter package with the required .ini. Bug-AGL: SPEC-4615 Change-Id: I59ef74abb8957ea2ad8b13b6de014662a2a867c8 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-21flutter-homescreen: add recipeScott Murray5-0/+80
Add recipe for Flutter homescreen application. Bug-AGL: SPEC-4615 Change-Id: I71510ff462c84bed0de36e889455828a4feb02b3 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-10Updates for KUKSA.val 0.2.5needlefish_14.0.2needlefish/14.0.214.0.2Scott Murray4-4/+4
Update SRCREVs for the agl-service-audiomixer and agl-service-hvac services as well as the dashboard and agl-cluster-demo-dashboard apps to pick up fixes for signal changes in KUKSA.val 0.2.5. Bug-AGL: SPEC-4587, SPEC-4598 Change-Id: I1679febbde76f33f0be5413445f8f9d031d07c9d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-10-31kuksa-val: Upgrade to latestScott Murray17-462/+491
Changes: - Upgrade kuksa-val and kuksa-viss-client to a commit that includes the 0.2.5 release tag and some fixes past it. The patches for each have been updated against the newer version, with backported ones dropped. - The affected recipes have been updated to include some new gRPC tooling dependencies, and a recipe for a new jsonpath-ng dependency has been added. - Rework the kuksa-dbc-feeder recipe for the splitting out of the example feeders from the main kuksa-val repository. - Rework our local kuksa-dbc-feeder patches against the newer version, as upstream has made several improvements. Also drop the duplicate filtering feature patch, as it seems likely we will not need it going forward. - Update the kuksa-dbc-feeder configuration files to work with the new version. Notable is a change in the engine speed signal naming in VSS 3.0, which is the new default for VSS schema. - The kuksa-val and kuksa-val-feeders trees have changed their licensing from EPL-1.0 to Apache-2.0, update the recipes accordingly. Bug-AGL: SPEC-4587 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibc990767219f79af95929e86361e66beda2d0c9e (cherry picked from commit 54ef381ec92148015cbd743a1b30771cca22f80b)
2022-10-31Import flutter apps from master branchJan-Simon Moeller8-1/+182
For CES we will evolve the flutter applications. Import the state from master. Bug-AGL: SPEC-4592 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I6f561d76a8fee3903eb1431d0e5e141588dc365d
2022-10-29Update flutter-cluster-dashboardAakash Solanki9-43/+91
- Import all flutter-cluster-dashboard changes from master. - Add 'flutter-cluster-dashboard.yaml' file. - Set openrouteservice API Key in local.conf to the variable `OPENROUTE_API_KEY`. - Change SRCREV and SRC_URI Bug-AGL: SPEC-4508 Change-Id: Ic1cd18e290c951443b393840bcf053a549fd2ee2 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-10-04html5-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-22Switch 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: Ib01e3b9d9bf5b422f69012bfdbd415628bbb9ab9
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-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-08-09Update agl-cluster-demo-platform-flutter imageneedlefish_14.0.1needlefish_14.0.0needlefish/14.0.1needlefish/14.0.014.0.114.0.0Aakash 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-07Add a new image for Flutter instrument cluster appneedlefish_13.93.0needlefish/13.93.013.93.0Aakash 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> (cherry picked from commit 85d834afe1cdc9c25e3d94daefc8d515b7d0c361)
2022-08-06Add gitreview file for Nifty Needlefish branchJan-Simon Moeller1-1/+1
Update the .gitreview file. Bug-AGL: SPEC-4518 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ie1bc720a70bca2a01115146cc9e9bca57f5b79ce
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
2022-07-04kuksa-val: add recipeScott Murray9-0/+449
Add a kuksa-val recipe to build the current post-0.2.1 release HEAD of the Eclipse KUKSA.val Vehicle Information Service (VIS) server, and add it to the agl-demo-platform image by adding it to packagegroup-agl-ivi-services. Several local patches are applied to enable building with OpenEmbedded and make installation into standard Linux FHS locations feasible. These will be discussed with upstream to hopefully get them integrated. Additionally, meta-networking has been added as a layer dependency in the agl-demo feature template. This is required due to kuksa-val currently having mosquitto as a non-optional dependency. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1a2d9e9b49d5c8ad11821b89288d2dc9895d15ae
2022-06-29Remove use of AGL_APP_REVISIONJan-Simon Moeller17-24/+17
We did use the variable AGL_APP_REVISION to change between the HEAD of the branch via to the fixed tag at release time (regs/tags/xyz) . While this worked well previously, it turns out that bitbake will query git every time it runs for either or tags likewise. For tags it cannot trust whatever is known locally is actually the latest tags as there can be force pushed tags. To fix this we use a well-defined SRCREV for apps/* in the same way as we do it for src/* . Bug-AGL: SPEC-4455 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I97fc125d40b36b7ac5e069018a8973384f61d0b7