aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-platform
AgeCommit message (Collapse)AuthorFilesLines
2023-06-01Flutter bbclass refactorJoel Winarske2-7/+5
-Removes use of flutter bbclass runtime modes Installed modes are determined by flutter-engine package config flags. Default modes are debug, profile, and release. -Single json file based on runtime=release. If additional parameters are needed this happens as part of workspace automation. Scott Murray: - update packagegroup-agl-demo-platform-flutter Bug-AGL: SPEC-4819 Change-Id: I58fc1b30ea3367ec5f47f52b60951cf0be31dcbc Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31Add KUKSA.val databrokerScott Murray3-0/+11
Add a recipe for the KUKSA.val databroker, a Rust implementation of a VSS server with gRPC APIs, and add it to the images that currently have the C++ kuksa-val server to ease further integration development. Since the databroker listens for gRPC API requests on a different port than the C++ server, there is no conflict during this period. Users wanting to drive CAN data into the databroker for testing will have to manually update the kuksa-dbc-feeder configuration during this interim period. Changes: - Bump common KUKSA.val SRCREV to pick up some improvements. - Add kuksa-databroker recipe to build the databroker. - Add kuksa-databroker-agl recipe to install AGL-specific configuration for the databroker, similar to what has previously been done with kuksa-val-agl for the C++ server. - Add missing branch node declarations in the AGL VSS overlay, as the databroker VSS parser is stricter and treats their absence as an error. - Add the kuksa-databroker, kuksa-databroker-agl, and the kuksa-databroker-cli packages to the appropriate packagegroups and images. Some follow up work will factor out a packagegroup for the KUKSA.val packages to make future changes easier. Bug-AGL: SPEC-4762 Change-Id: Ie7837b7e42a2283914adc913b75639fcb83029a6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31agl-cluster-demo-platform-flutter: always install receiver configurationScott Murray1-1/+1
Always install cluster-demo-config-flutter instead of tying it to the agl-demo-preload feature, so that the receiver gets the desired display geometry all the time. Bug-AGL: SPEC-4815 Change-Id: I9bcdaced479781a018c0d7155aef6a06ac26b9dd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31kuksa-val: fix vss-agl dependency for cluster imagesScott Murray1-1/+0
Make vss-agl a runtime dependency of the kuksa-val-agl package as the configuration in that package is what actually requires it, and remove the previous addition to packagegroup-agl-ivi-services as it will no longer be necessary. This fixes the desired KUKSA.val configuration for e.g. the Flutter cluster image. Bug-AGL: SPEC-4761 Change-Id: I9ec93acf8e7a542acdb3e50a9cbace50e4928344 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-29A fstab replacement method change to build container guestNaoto Yamaguchi4-0/+22
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28690 review, I got a request for method change request. Existing method use bbappend for base files. New method use ROOTFS_POSTPROCESS_COMMAND. Bug-AGL: SPEC-4803 Change-Id: Ie058ef55f7dfeae5d651b46d5ff731d1a2bebc19 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-16kuksa-val: Update to 0.3.1Scott Murray1-0/+1
Changes: - Update kuksa-val to a commit that includes the 0.3.1 release and some other fixes past that. Our local patches have been updated. - Rework and rename the kuksa-viss-client recipe for the upstream switch to kuksa-client as the name. Our local patches have been updated. - Update kuksa-dbc-feeder to a commit that supports the kuksa-client library changes that come with 0.3.1. Our local patches have been updated, and a new local patch has been added to fix the token file configuration option behavior, this will be worked with upstream. Upstream changed the configuration file format, so our local one has also been updated to match. - Update the parsing of the DBC feeder configuration file in the can-dev-helper.sh script to work with the new format. - Update kuksa-val-agl recipe to not install AGL signals overlay for VSS, as that has been replaced with the use of the vss-agl package. - Add installation of vss-agl to packagegroup-agl-ivi-services so the AGL specific signals and DBC configuration will be available. Bug-AGL: SPEC-4761 Change-Id: I5933017a30f040a746f0a6a6eb2a3b68d1fc4bc1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-08recipes-platform/images/agl-ivi-demo-platform-crosssdk: Remove waltham-devMarius Vlad1-2/+0
We'd need this as meta-agl has dropped Waltham support. Bug-AGL: SPEC-4669 Change-Id: I09762ca5b60295b19c71d91ffa1375af7d9f6513 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-04-27kuksa-val: Rework to support updated SSL certificatesScott Murray2-0/+2
Changes: - Tweak the kuksa-val recipe to remove installing a newer server certificate (since it will be done elsewhere), and to split the certificates up into finer grained packages to ease installing them piecemeal and replacing them with other packages. - Remove the unused genCerts.sh certificate script patch form the kuksa-val recipe, an updated patch will be added in the near future. - Added a patch in the kuksa-viss-client recipe that enables the library to use certificates installed in /etc/kuksa-certificates or /etc/kuksa-val instead of the default ones that are shipped. - Add kuksa-certificates-agl recipe that installs AGL specific CA, server, and client certificates plus the required server and client keys to act as a replacement for the default ones shipped with KUKSA.val. The kuksa-certificates-agl name is used to avoid needing a rename with a future switch to kuksa-databroker. Note that the RPROVIDES variable is used for the various certificate packages to make them installable alternatives to the kuksa-val-certificates-* ones. The certificates installed are valid for 1 year and have AGL as the providing organization, longer validity ones will be added in follow up commits for Octopus and Pike. - Update the existing users of kuksa-val-*-certificates with the new kuksa-val-certificates-* package names. - Add PREFERRED_RPROVIDER definitions for the kuksa-val-certificates-* packages to quiet the BitBake warnings coming from having multiple providers. Bug-AGL: SPEC-4763 Change-Id: Ic6f1ca8b54f637674cd5ae42df0bed6ca4e729aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-27Add cluster-receiver to Flutter cluster demoScott Murray1-0/+1
Add cluster receiver to Flutter cluster demo image to match the CES demo. This change was missed in the forward port from Needlefish branch after CES. Bug-AGL: SPEC-4769 Change-Id: Id22a5d3e761ac0169942a04fdcac7148f3789d42 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-20Add helper to enable both displays in qemuJan-Simon Moeller1-0/+1
This supports testing the drm-leasemanager in qemu. We can bring up two outputs, but the 2nd output is disabled until it is connected. See https://jira.automotivelinux.org/browse/SPEC-4464 and https://gitlab.com/qemu-project/qemu/-/issues/1107 This adds a helper tool that will bring up the 2nd screen. Bug-AGL: SPEC-4464 Change-Id: I145a1b947916337daa9c8e7aed38e64919b35df8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-20Cleanup of packagegroup-hmi-frameworkJan-Simon Moeller1-8/+0
Remove unused parts. Change-Id: Ibb89fd650d8c395208a15a52e1a1e62bf79fed0f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-18Fix building agl-kvm-demo-platform for h3ulcb-kfScott Murray1-4/+1
Changes: - Add masking the meta-rcar-gen3-adas layer to the KVM guest multiconfig to avoid picking up the dangling bbappends in meta-agl-bsp when building the guests. - Remove the MACHINE_SUFFIX logic from the guest image copying in the agl-kvm-demo-platform recipe; it is a leftover from the original logic used in the IC EG container host images, and is unneeded here since the host and guests will be different MACHINEs (and the guest realistically cannot use the -kf machines). Bug-AGL: SPEC-4760 Change-Id: If3237ca4d9fc86fc9d289a95bda24a4afcc7a991 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-03-31Rework nss-agl-driver-db to be a systemd unit at runtimeJan-Simon Moeller1-0/+4
This avoids the issues seen with access rights changes on /home/agl-driver and will replace https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28587 Bug-AGL: SPEC-4599 Change-Id: If01ffc9623208edd7a7705739465fa8fca764b74 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-20Add window-management-client-grpcMarius Vlad1-0/+1
This adds a recipe for window-management-client-grpc for testing out the gRPC interface. This client will talk with the compositor indirectly, using the gRPC interface exposed by the grpc-proxy helper client. Bug-AGL: SPEC-4673 Change-Id: Ib1a9d14a3bd41ea64180494962f97f0d5b557c09 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-03-15agl-ivi-demo-platform-crosssdk: Add grpc-dev for crossdkMarius Vlad1-1/+2
This enables the SDK to build off applications, or services that make use of gRPC. Bug-AGL: SPEC-4721 Change-Id: I8f770580efd09dc1a50de839a8cc5126887303c3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-02-28packagegroup-qt5-toolchain-target: make bbappend changes conditionalDenys Dmytriyenko2-18/+19
Make bbappend changing RDEPENDS variables conditional on "agldemo" AGL_FEATURES flag. This resolved yocto-check-layer errors: INFO: test_signatures (common.CommonCheckLayer) INFO: ... FAIL AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed Bug-AGL: SPEC-4685 Change-Id: If4953d684455b6f2ab5edbb3a33b5cf7775d1587 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-13packagegroup-agl-demo: remove sllin driverScott Murray1-4/+0
Remove the sllin driver from the default demo packagegroup as we no longer use it, and it fails to compile against linux-dummy when building for IC EG guest containers. A separate follow up change will finally remove the sllin driver and lin-config recipes. Bug-AGL: SPEC-4703 Change-Id: I77b4508975993e32f3dd245b1c133aa703e0b349 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Restore agl-service-radio recipeScott Murray1-0/+1
Add an update recipe for agl-service-radio to build the reworked gRPC service daemon, and add it back as a dependency in packagegroup-agl-ivi-services so it will be installed into the demo IVI images. Bug-AGL: SPEC-4665 Change-Id: I9239a1e1476687e4c41367dbdfc6051c56b88c48 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29agl-kvm-demo-platform: update guestsScott Murray1-2/+3
Switch default guest images to Flutter based demo platform images. As well, the simple-can-simulator is added to the host to allow testing or demos. Bug-AGL: SPEC-4618 Change-Id: I2c57ca0ade168c2c3dfae8718e891f9af40e4d88 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 8b0fed47d196a938b44784d1fc8eaa25c36f84ca)
2023-01-20chromium: Do the activation explicitlyRoger Zanoni1-1/+1
Now chromium should use changes from the agl-shell v3 protocol to track app state changes and activate the applications instead of letting the compositor handle it. This change disables default activation by the compositor and lets chromium handle application activation. Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371 that adds the new config file with landscape orientation and disabled default activation. Bug-AGL: SPEC-4647, SPEC-4528 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ifbcb447b153408db01f592818288efbd5c940f67
2022-12-29Rework cluster demo configurationScott Murray2-1/+2
Changes: - Rename cluster-dashboard-demo-config to cluster-demo-config since the installed AGL.conf will also be used for receiver configuration now. - Add a Flutter cluster version of AGL.conf that configures the receiver window geometry as required. The alternative mechanism is used to generate separate packages with the different AGL.conf files. - Update the package names installed by agl-demo-preload in the Qt and Flutter cluster demo images. It may make sense to do further rework in the dashboard and receiver apps post-CES to split things into separate configuration files, but this seems the most straightforward way to do things for now. Bug-AGL: SPEC-4640 Change-Id: If8a65228c75f28a53ef32a49be90f75a85d60a16 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12packagegroup-agl-demo-platform-flutter: fix whitespaceScott Murray1-2/+2
To fix building, remove extraneous "\ "s that were accidentally added into IMAGE_INSTALL:append in packagegroup-agl-demo-platform-flutter in the previous update. Bug-AGL: SPEC-4637 Change-Id: Idf7600450834b3ea0bd6f4cd5858aadeda6ce6f2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Update Flutter demo imagesScott Murray9-22/+35
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-12-10Remove demo sllin configurationScott Murray1-14/+0
Remove recipes providing sllin configuration for the full demo, as all LIN usage is being replaced with CAN. The recipes for the sllin driver and associated lin_config utility are kept for now in case there are external uses. Bug-AGL: SPEC-4635 Change-Id: I67b7acf5a8c3801cb1890ee27486080255252385 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Update cluster network configurationScott Murray2-2/+0
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-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 Murray2-9/+13
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-10-08Change SRC_URI and SRCREV for ivi-demo-flutter-appsHritik Chouhan1-4/+4
- 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-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-22Add recipes for flutter appsHritik Chouhan1-0/+2
- 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-07Add flutter dashboard appHritik Chouhan1-1/+2
- 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-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-08-04Handle meta-flutter updateScott Murray1-2/+2
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-07-27Add agl-ivi-demo-platform-flutter imageScott Murray2-0/+43
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-26Add html-examplesJose Dapena Paz1-0/+1
Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Iee0e068aa5fd6f3bf5cb4cab8c5003e109408a8f
2022-07-26html5-jitsi addedJose Dapena Paz1-0/+1
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 Paz1-0/+2
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-06psplash-portrait-config: add recipeScott Murray1-0/+1
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-06agl-service-audiomixer: add updated recipeScott Murray1-0/+1
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 Murray2-1/+6
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-06Add demo specific KUKSA.val configurationScott Murray2-0/+2
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-dbc-feeder-sllin: add recipeScott Murray1-0/+5
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-06Rework demo packagegroup and imagesScott Murray7-72/+59
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 Murray1-1/+1
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-06sllin: switch to updated upstreamScott Murray1-6/+4
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 Murray1-0/+1
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 Murray1-0/+1
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-16packagegroup-agl-demo-platform-html5: remove ondemandnaviJose Dapena Paz1-1/+0
Only use HTML5 applications for HTML5 demo. Change-Id: I8d8ec68172236d842c883b062effdda683e31f53 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-06-16html5-mixer: recover HTML5 mixer demo application.Jose Dapena Paz1-0/+1
Add updated html5-mixer: * Fixes build with new application framework providing audiomixer mock. * Updates NPM dependencies. * Updates recipe for kirkstone. Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Ie0ac5edb0be83a26cf627b962472d7ac7208e1c5