From a28882660f2a34b52bd4c2d6f09ebd4a89326891 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 7 Dec 2022 17:48:51 +0900 Subject: systemd-conf-canbus: Add FD configuration Add canbus-can-fd.network configuration that can be selected via CANBUS_NETWORK_CONFIG. Bug-AGL: SPEC-4633 Change-Id: Ic662be3e991910a4b35e114f144fe399a88ce477 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28214 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- .../systemd/systemd-conf-canbus/canbus-can-fd.network | 12 ++++++++++++ .../recipes-core/systemd/systemd-conf-canbus_1.0.bb | 1 + 2 files changed, 13 insertions(+) create mode 100644 meta-agl-core/recipes-core/systemd/systemd-conf-canbus/canbus-can-fd.network diff --git a/meta-agl-core/recipes-core/systemd/systemd-conf-canbus/canbus-can-fd.network b/meta-agl-core/recipes-core/systemd/systemd-conf-canbus/canbus-can-fd.network new file mode 100644 index 000000000..86042bd90 --- /dev/null +++ b/meta-agl-core/recipes-core/systemd/systemd-conf-canbus/canbus-can-fd.network @@ -0,0 +1,12 @@ +[Match] +Name=can* + +[CAN] +BitRate=500K +SamplePoint=75% +DataBitRate=4M +DataSamplePoint=80% +FDMode=yes + +[Link] +ActivationPolicy=up diff --git a/meta-agl-core/recipes-core/systemd/systemd-conf-canbus_1.0.bb b/meta-agl-core/recipes-core/systemd/systemd-conf-canbus_1.0.bb index 33b986245..fc2c0c253 100644 --- a/meta-agl-core/recipes-core/systemd/systemd-conf-canbus_1.0.bb +++ b/meta-agl-core/recipes-core/systemd/systemd-conf-canbus_1.0.bb @@ -8,6 +8,7 @@ PE = "1" SRC_URI = "\ file://canbus-can.network \ + file://canbus-can-fd.network \ file://canbus-virtio.network \ " -- cgit 1.2.3-korg