diff options
author | 2019-12-29 18:36:48 -0500 | |
---|---|---|
committer | 2019-12-29 18:46:56 -0500 | |
commit | 0be8a1ddb505354f6ab028f2af359674211c0273 (patch) | |
tree | 087d9b1df1377c361a35ce2d0e1319ebe376a272 /recipes-platform | |
parent | 1007e85d17d9b86aa82ed41872d207da1eba69e1 (diff) |
Add virtual sllin support and LIN bridging to CAN for demos
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: I527763176ce0f8b4d50cc472ec2343a6596286e2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-platform')
-rw-r--r-- | recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb index 65e043ea..092d4a71 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb @@ -32,10 +32,10 @@ MOST_DRIVERS_dragonboard-410c ?= "" # HVAC dependencies ################### -LIN_DRIVERS ??= " sllin" +LIN_DRIVERS ??= " sllin sllin-virtual" # These boards use different kernels - needs to be checked -LIN_DRIVERS_dra7xx-evm ?= "" -LIN_DRIVERS_dragonboard-410c ?= "" +LIN_DRIVERS_dra7xx-evm ?= "sllin-virtual" +LIN_DRIVERS_dragonboard-410c ?= "sllin-virtual" # UNICENS service UNICENS ?= " \ @@ -66,7 +66,12 @@ QTAGLEXTRAS = "${@bb.utils.contains("DISTRO_FEATURES", "agl-hmi-framework", " qt # Cluster demo support. # ATM no cluster map viewer is supported with the older navigation application. MAPVIEWER = "${@bb.utils.contains("PREFERRED_RPROVIDER_virtual/navigation", "ondemandnavi", "tbtnavi", "",d)}" -CLUSTER_SUPPORT = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-support", "${MAPVIEWER} cluster-demo-network-config", "",d)}" +CLUSTER_SUPPORT_PACKAGES = " \ + ${MAPVIEWER} \ + cluster-demo-network-config \ + cluster-lin-bridging-config \ +" +CLUSTER_SUPPORT = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-support", "${CLUSTER_SUPPORT_PACKAGES}", "",d)}" # Hook for demo platform configuration # ATM used for: |