diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-05-30 18:51:36 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-07-06 14:00:05 -0400 |
commit | e5349e7b7beeed120e6cbfb1175bf823dd30b032 (patch) | |
tree | ffb09ac8f386d7727ddd03f118176dfaf7a7aecc /recipes-kernel/sllin/files/start_lin_demo.sh | |
parent | ca7d98904253c7404c3e6384ebb53d922a3c538a (diff) |
sllin: switch to updated upstream
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
Diffstat (limited to 'recipes-kernel/sllin/files/start_lin_demo.sh')
-rwxr-xr-x | recipes-kernel/sllin/files/start_lin_demo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/sllin/files/start_lin_demo.sh b/recipes-kernel/sllin/files/start_lin_demo.sh index c7627ca74..c97f0a2c5 100755 --- a/recipes-kernel/sllin/files/start_lin_demo.sh +++ b/recipes-kernel/sllin/files/start_lin_demo.sh @@ -3,7 +3,7 @@ # Attach serial LIN->CAN bridge and set up LIN polling if [ -c /dev/ttyUSB0 ]; then sleep 1 - /usr/bin/lin_config -c /etc/lin_config.conf -a sllin:/dev/ttyUSB0 + /usr/bin/lin_config -m -c /etc/lin_config.conf -a sllin:/dev/ttyUSB0 mkdir -p /run/lin_config/ pidof lin_config > /run/lin_config/lin_config.pid sleep 1 |