summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/sllin/files/sllin-demo.service
AgeCommit message (Collapse)AuthorFilesLines
2020-08-19Add can-dev-mapping-helperjellyfish_9.99.3jellyfish/9.99.39.99.3Scott Murray1-1/+2
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
2019-11-06Update LIN demo to use lin-configScott Murray1-3/+3
Changes include: - Add patch to fix lin-config recipe build QA error. - Tweak lin-config recipe to install lin_config as executable. - Rework sllin-demo systemd unit and start_lin_demo.sh script to use lin_config with an appropriate configuration file that enables polling of the steering wheel adapter instead of just using ldattach. Bug-AGL: SPEC-2918 Change-Id: I3258b7e34cecbbb1cfb93ea6f63a44f0bbb2c06f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-11-29We need to use multi-user.targetJan-Simon Möller1-1/+1
Instead of default.target we need to use multi-user.target. Change-Id: I7c6c9fce5223bccb2ddb20f165797632198c3405 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-13Finalize and automate sllin setup for LIN on demo unitJan-Simon Möller1-0/+13
Provide the systemd unit, the init script, the module options and the autoload command. Change-Id: I8dfe59338f377ca8ac1b94fe568dff9e2b36bf97 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>