aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-config
AgeCommit message (Collapse)AuthorFilesLines
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>