summaryrefslogtreecommitdiffstats
path: root/recipes-config
AgeCommit message (Collapse)AuthorFilesLines
2022-06-06Rework demo packagegroup and imagesScott Murray2-0/+13
Rework the agl-ivi-demo-platform* images to reduce duplication, and move the additions for the agl-demo-cluster-support and agl-demo-preload features. Changes: - Pull in agl-image-ivi.bb in the crosssdk image rather than duplicating its contents. This means the package additions from the demo features will be reflected in the SDK, which seems more in line with general expectations of how Yocto SDKs work. - New packagegroups are created for the agl-demo-cluster-support and agl-demo-preload features, and they are pulled into the agl-ivi-demo-platform / agl-demo-platform image using features in IMAGE_FEATURES. This avoids changing the contents of various packagegroups based on AGL_FEATURES and seems more futureproof with respect to binary packaging. - ALLOW_EMPTY has been removed in a few packagegroup recipes, as it does not seem to make sense if the packagegroup will never be empty. - The cluster-dashboard-demo-config recipe pulled into the agl-demo-cluster-support packagegroup has been added back, it was accidentally removed in the application framework cleanup. Bug-AGL: SPEC-4424 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I114b77ded6c47414270acfc3cd06e998dbcc4cef
2022-03-08Restore cluster and telematics demo imagesScott Murray3-0/+62
Changes: - Restore the image recipes for the agl-cluster-demo-platform and agl-telematics-demo-platform images, with updates to them and their associated packagegroups for the app framework removal. - Restore updated recipes required for the above, including: * cluster-dashboard * cluster-receiver * qt-cluster-receiver * tbtnavi - Simple systemd unit files have been added for the cluster applications and are installed as user session units. Starting of cluster-dashboard (the XDG version) and cluster-receiver in the AGL user session is enabled by default. - The recipes to install the dedicated network configuration for the cluster demo have been restored so that the agl-cluster-demo-support and agl-demo-preload features will do what is expected again. Known outstanding issues: - The previous signal-composer binding support has been removed from cluster-dashboard, so related functionality (i.e. driving it from CAN) is disabled until replacement is worked out. - While tbtnavi builds, the previous use of the navigation binding is stubbed out in libqtappfw, so it will not receive location and route information from ondemandnavi. - Nothing has been added yet to start tbtnavi in the AGL user session, the plan is to do so with a systemd user unit once a new mechanism for controlling it from ondemandnavi has been implemented. - The telematics-recorder application has not yet been updated to replace its signal-composer, gps, and network binding use. The intent is to address these issues in the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I520c23775b21504cb7dd92538319cc5bf826ff64
2021-12-21agl-users: removemarlin_12.91.0marlin/12.91.012.91.0Scott Murray1-24/+0
Remove unused agl-users recipe as attempting to use it now would conflict with the agl-driver user definition in the new agl-session recipe. Bug-AGL: SPEC-4161 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifdded99fdec297379e0454bd26aaef8133f11d51
2021-11-04agl-users: remove display userScott Murray1-3/+0
The "display" user has effectively been replaced with a "weston" user in the new weston-init support for running as non-root from upstream Yocto, so remove creation of it from the agl-users recipe. If the agl-users recipe will be retained in the new application scheme, this cleanup is required. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iafd7a08dfd7ba3514ef4264c68d697cfd9790047
2021-11-03Prepare master for new framework integrationJan-Simon Möller23-854/+0
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-08-20Convert to new override syntaxScott Murray10-23/+23
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-03-02cluster-demo-simulator: update LICENSE/LIC_CHKSUM_FILEScott Murray1-13/+5
Upstream has renamed the common license files, but investigation revealed that the LICENSE on this purely configuration recipe should likely be MIT to be consistent with the other similar recipes in the tree, so update both LICENSE and LIC_CHKSUM_FILE to fix both issues. As well, now that the demo repositories are merged, this recipe can just RDEPEND on simple-can-simulator, rather than duplicating it. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2302e904258a67d3c2a1756f94d247e3779106f0
2021-03-02cluster-lin-bridging-config: update LICENSE/LIC_CHKSUM_FILEScott Murray1-2/+2
Upstream has renamed the common license files, but investigation revealed that the LICENSE on this purely configuration recipe should likely be MIT to be consistent with the other similar recipes in the tree, so update both LICENSE and LIC_CHKSUM_FILE to fix both issues. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I82b6c44aa1d09008a9915250f111c93e6b9de02c
2021-01-12Add dev-mapping-ci recipeScott Murray5-0/+27
Add a dev-mapping-ci recipe that installs a CI specific version of /etc/dev-mapping.conf for the agl-service-can-low-level binding. Additionally, the dev-mapping-demo recipe files have been moved to recipes-config/dev-mapping so all the dev-mapping* recipes are in the same place, and the now required "j1939" bus mapping has been added to the various dev-mapping files. To enable use of the new recipe, a definition of the variable PREFERRED_RPROVIDER_virtual/low-can-dev-mapping has been added to the agl-demo feature definition that enables it based on the AGLCI DISTRO_FEATURE. This is intended to replace the definition in poky-agl.conf, which will be removed in subsequent cleanup. Bug-AGL: SPEC-3756 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ieb80a7f4b76ddd7851acca521dea1a8dd104cf86
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller7-0/+122
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
2020-08-19Add can-dev-mapping-helperjellyfish_9.99.3jellyfish/9.99.39.99.3Scott Murray1-1/+0
Changes: - Add a can-dev-mapping-helper.sh script and systemd unit to drive it, the script checks if the CAN devices specified in the low-can configuration file /etc/dev-mapping.conf exist, and if not brings up corresponding virtual CAN devices. - Add a systemd over-ride conf file for agl-service-can-low-level that makes can-dev-mapping-helper a dependency. This should ensure that the low-can binding always starts even if there are no physical CAN hardware devices. - Added a Before statement to sllin-demo.service to ensure that it will run before can-dev-mapping-helper and ensure that lin_config can create sllin0 correctly. - Removed the sllin-demo-virtual systemd unit, as it will no longer be required with can-dev-mapping-helper. - Updated the /var/run paths in sllin-demo.service and associated start_lin_demo.sh script to quiet systemd warnings about /var/run usage. Bug-AGL: SPEC-3540 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ife02f75f57ac7bbdee6b02217e2ab657fe8c36e0
2020-05-26Cluster demo support updatesScott Murray4-19/+43
Changes include: - Rework cluster-demo-network-config recipe to have the installed service file be a template, allowing the recipe to potentially change the target network device easily. A new variable AGL_CLUSTER_NET_DEVICE has been added to do so, with a default value of eth1. The interface configuration has been moved to a helper shell script, cluster-demo-network-conf.sh, with some additional logic added to update the interface blacklist in the connman configuration. This makes things more generic and allows setting up the cluster demo on boards other than H3+KF. - Update agl-cluster-demo-support feature dependency with new agl-weston-remoting feature that replaces agl-gstrecorder. Bug-AGL: SPEC-3395 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9109b8e7782112d5504866f67e6bb5953c79d4a8
2020-02-07cluster-demo-support: add recipe for cluster-demo-simulatorJan-Simon Moeller3-0/+425
The cluster-demo-simulator is a small python script that sends can messages to simulate speed and rpm. It has support for steering wheel events. Bug-AGL: SPEC-3090 . Change-Id: I45bf259c984c59912a674a57ccc642a1917a3209 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit b0620c288705d14aadb9cdd95e47b8b22dc7662a)
2019-12-30Add demo low-can device mappingScott Murray2-0/+24
Rework the agl-demo-preload feature to specify a new demo-specific PREFERRED_RPROVIDER for the new virtual/low-can-dev-mapping virtual package. This enables using the sllin0 interface on the CES demo setup as the low-speed interface. Bug-AGL: SPEC-3076 Change-Id: I872137d8acb1f5ec5df9eac92f25953b28128b36 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-29Add virtual sllin support and LIN bridging to CAN for demosScott Murray2-0/+40
To enable seeing the steering wheel LIN messages on the cluster board for the planned CES demo, a systemd unit that wraps the use of candump in bridging mode is added when the agl-cluster-support feature is enabled. To make sure that the sllin0 interface is always available for testing without the specific demo LIN hardware, a vcan interface is set up as sllin0 when the ttyUSB0 device representing the serial adapter for the LIN transceiver is not present. Since this virtual sllin0 interface is very useful for general testing of the steering wheel event support up through the low-can and signal-composer stack, it has not been hidden behind agl-cluster-demo-support. Bug-AGL: SPEC-3049 Change-Id: Idb478e3fe4085859e8704ab0329a341b1a11e0ef Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-11-13unicens-configuration: updated driver configTobias Jahnke1-50/+9
- adopt driver configuration to provide 2 'mono' ALSA capture devices Bug-AGL: SPEC-2953 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com> Change-Id: Iff5138828dd192cd9370b2ac1ab17c7fc3db208b
2019-09-02Update demo features for switch to ondemandnaviScott Murray2-0/+38
The ondemandnavi navigation application does not work with the mapviewer cluster demo application, so update the logic to handle the agl-cluster-demo-support feature in packagegroup-agl-demo-platform to not pull it in when using ondemandnavi as the virtual/navigation provider. Since the plan is to replace mapviewer with an equivalent QtLocation based map streamer for the cluster demo, the mapviewer-demo recipe has also been replaced with a more generically named cluster-demo-network-config recipe. Additionally, the agl-demo-preload feature logic has been tweaked to not pull in the map package for the old navigation application when using ondemandnavi. Bug-AGL: SPEC-2576 Change-Id: I57b45ab152f9fab6cee97d570be1949136cd39eb Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-07-04unicens-config: Add udev rules for inic devicesScott Murray2-5/+8
Install a udev rules file in the unicens-config recipe to set the group and SMACK label on the inic character devices so they are accessible by services with the new audio permission. Bug-AGL: SPEC-2591 Change-Id: I52135cf62ca8bfab0badd8850d49639d86ed73c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-19agl-login: switch to user 1001José Bollo1-1/+1
The user 'agl-driver' has the uid 1001. The objective is to make him the user of the homescreen. Bug-AGL: SPEC-1016 Change-Id: I02d8a0adb3877166727172629c46aa728aa56416 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-28recipes-config: unicens-config: set up additional sound card in ↵Christian Gromm1-0/+12
configuration file This patch adds the configuration for an additional ALSA sound card to the MOST driver configuration file. It is needed to have another capture device registered with ALSA. Change-Id: I9c458448c80bef47d61831157c1b80ce1a7a9848 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2018-10-09recipes-config: unicens-config: add capture device to configuration fileChristian Gromm1-0/+12
This patch adds a capture device to the MOST sound configuration. Is is needed to have the kernel driver register another sound card with the ALSA subsystem. Change-Id: I6406c40a788251e860768acce3c886b395e95ce0 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2018-08-07recipes-config: make unit be wanted by multi-user.targetChristian Gromm1-1/+1
This patch replaces the default.target with the multi-user.target to ensure that the unit is being executed by systemd. Change-Id: I3d696eb88052be63c82bd11434fd338371deb38d Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2018-01-23unicens-config: Add bash to rdepsChanghyeok Bae1-0/+3
Fixes QA Issue: /usr/bin/unicens-config.sh contained in package unicens-config requires /bin/bash , but no providers found in RDEPENDS_unicens-config? [file-rdeps] Bug-AGL: SPEC-1181 Change-Id: I6d7ec9487d22c05ce531b38f997d376ae24d8863 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-12-21recipes-config: unicens-config: add service type oneshotChristian Gromm1-0/+1
This patch sets the type of the unicens-config.service file to oneshot. It is needed to ensure a proper initialization of the system on an SMP machine. Change-Id: I4bb74157efe1d4a9ce86d29135af6898eefa30d1 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-12-19recipes-config: unicens-config: update configuration scriptChristian Gromm1-20/+21
This patch updates the shell script that is used to configure the discovered MOST devices. It is needed because current configuration vectors don't match the attached device interfaces Change-Id: I6618a619bc0c1e1332ba91100da1c5e8135c1d72 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-11-30agl-login-manager: Use numbers for login usersJosé Bollo1-1/+1
Adapt to changes in AGL that now handles user by number, just numbers. Change-Id: Ia01ee46e7db8d3bcd5ce43a34f7ba9ba5bc2f3f9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-29recipes-config: unicens-config: fix driver configuration scriptChristian Gromm1-2/+2
This patch is needed to fix the driver configuration script which mixes up the channel settings. Change-Id: I0a83a8b9b6de68fc509b75728f28e71e4ebf2feb Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-11-28recipes-config: unicens-config: fix file permissionChristian Gromm1-1/+1
This patch changes the permission of the file unicens-config.service to 644. It is needed because an executable service file is considered a security risk. This patch fixes JIRA SPEC-1137. Change-Id: Idab5080450be358b5775ce4dbb1737f2bcd34a5f Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Reported-by: Dominig Ar Foll <dominig.arfoll@fridu.net>
2017-11-23recipes-platform: add MOST driver configurationChristian Gromm3-0/+198
This patch adds the necessary files to have the MOST driver configured for UNICENS2 at system start up. Change-Id: I9a69192332d355a3f9d3df3771cd364771e8eb9a Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-05-09Run weston with dedicated 'display' user and groupRonan Le Martret1-0/+1
Bug-AGL: SPEC-546 Change-Id: I2ddc07547f9f2afd724feda80a80f65e890ebcf5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>