summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/sllin
AgeCommit message (Collapse)AuthorFilesLines
2022-04-13Update to SPDX license namesScott Murray1-1/+1
Apply updates from running the new convert-spdx-licenses script from upstream. This is not currently a hard requirement from upstream, but futureproofs for when the license name mapping is finally removed. Additionally, a few license declarations of just "BSD" have been updated with the more specifc "BSD-3-Clause" after inspecting the licenses in the source, as the non-specific name now triggers a warning. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia86d412fe76ff3217456fcea81cb44f68bc1ced8
2022-04-13sllin: add patches for newer kernelsScott Murray3-0/+134
Add patches to enable building the sllin driver against kernels 5.13 and 5.14, or newer. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If48df12b0303556c5a74108d9247d5233d7bf5e5
2021-11-03Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray1-1/+1
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibfa59ef83db75f95c4b47b28213b60d8cf19fba1
2021-08-20Convert to new override syntaxScott Murray1-7/+7
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-02sllin: update LIC_CHKSUM_FILEScott Murray1-1/+1
Upstream has renamed the common license files, update LIC_CHKSUM_FILE to instead use the copyright header present in the source. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I339978508ce741f41ecfd0d8b509341639888ac7
2021-02-25sllin: add patch to enable building against newer kernelsScott Murray2-0/+49
Add patch to enable building the sllin driver against kernels 5.9 or newer. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Icb99773833a79f47af3e3287e6c62d64bb344f25
2020-08-19Add can-dev-mapping-helperjellyfish_9.99.3jellyfish/9.99.39.99.3Scott Murray4-21/+4
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-12-29Add virtual sllin support and LIN bridging to CAN for demosScott Murray3-4/+27
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-06Update LIN demo to use lin-configScott Murray4-6/+24
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-30Disable sllin driver(using HVAC apps) debug logguppy_6.99.2guppy/6.99.26.99.2Yuichi Kusakabe2-0/+28
[ 30.042717] sllin: sllin_open() invoked [ 30.046603] sllin: Configured as MASTER [ 30.051508] sllin: Baudrate set to 9600 [ 30.056332] sllin0 (uninitialized): sllin_kwthread started. [ 30.062486] sllin0: sllin_kthread <WAIT_EVENT> [ 31.153606] sllin0: sll_open() invoked [ 31.271843] can: raw protocol (rev 20170425) [ 31.276821] sllin0: sllin_kthread <WAKEUPED> [ 31.281124] sllin0: sllin_kthread: lin_state <00000000> [ 31.286370] sllin0: sllin_kwthread: NON-RTR SFF CAN frame, ID = 30 dlc=0 [ 31.286390] sllin0: sllin_kthread: SLSTATE finish [ 31.299297] sllin0: sllin_send_break() invoke. [ 31.305566] sllin0: Break sent. [ 31.308743] sllin0: sllin_kthread <WAIT_EVENT> Change-Id: Id49951cb1ed570c99eb11d19298c1e5b57bcf13c Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@denso-ten.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öller3-1/+82
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>
2018-10-31Add package for sllin driver to imageJan-Simon Möller4-0/+287
The sllin driver is needed for the AGL demo unit to drive the actuator and fan. Change-Id: I76a8e7876148b6c2fcbc526a64a7ec132668c754 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>