summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-12-07 12:41:52 -0600
committerSerhii Voloshynov <serhii.voloshynov@globallogic.com>2022-01-11 09:51:03 +0200
commit99bd0e9c636eaf20e4b391ae145f15e4d0a0388a (patch)
tree43e1f2460f0759e6322ff4203398a4517d41deb4
parent0e1269c9c5f91cc5c6edac0ec3bffe5d606b5b48 (diff)
downloadmeta-multitech-99bd0e9c636eaf20e4b391ae145f15e4d0a0388a.tar.gz
meta-multitech-99bd0e9c636eaf20e4b391ae145f15e4d0a0388a.tar.bz2
meta-multitech-99bd0e9c636eaf20e4b391ae145f15e4d0a0388a.zip
Support for MTCDTIP with overlay
-rw-r--r--recipes-bsp/multitech/mt-dt-overlay_1.1.2.bb (renamed from recipes-bsp/multitech/mt-dt-overlay_1.1.1.bb)0
-rw-r--r--recipes-bsp/multitech/mts-io.inc2
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.conf3
-rwxr-xr-xrecipes-bsp/multitech/mts-io/mts-io.init2
-rw-r--r--recipes-bsp/multitech/mts-io_4.8.2.bb (renamed from recipes-bsp/multitech/mts-io_4.8.0.bb)0
5 files changed, 5 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mt-dt-overlay_1.1.1.bb b/recipes-bsp/multitech/mt-dt-overlay_1.1.2.bb
index 09c8f4a..09c8f4a 100644
--- a/recipes-bsp/multitech/mt-dt-overlay_1.1.1.bb
+++ b/recipes-bsp/multitech/mt-dt-overlay_1.1.2.bb
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 10d4527..9fa0cc7 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19
file://io-tool/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
do_fetch[depends] += "virtual/kernel:do_shared_workdir"
-INC_PR = "r6"
+INC_PR = "r1"
SRCREV = "${PV}"
PR = "${INC_PR}.0"
diff --git a/recipes-bsp/multitech/mts-io/mts-io.conf b/recipes-bsp/multitech/mts-io/mts-io.conf
index 4ed5e31..977346e 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.conf
+++ b/recipes-bsp/multitech/mts-io/mts-io.conf
@@ -17,3 +17,6 @@ SUPERCAPFULL=1
#
SUPERCAPFULL_MAXWAIT=180
+# Print dynamic debug for mts-io to kernel
+# ring buffer (dmesg)
+# MTS_IO_PARAMS="dyndbg==pmf"
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index cd93fbb..6331818 100755
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -325,7 +325,7 @@ case $1 in
echo -n ${i2c} > /sys/module/firmware_class/parameters/path
/usr/bin/logger -t "mts-io" -p daemon.info -s "Loading mts-io module"
- if ! modprobe mts_io ; then
+ if ! modprobe mts_io "$MTS_IO_PARAMS" ; then
((fail++))
fi
# MTCDTBB driver is needed to determine the product type on MTCDT3
diff --git a/recipes-bsp/multitech/mts-io_4.8.0.bb b/recipes-bsp/multitech/mts-io_4.8.2.bb
index ee4fcfa..ee4fcfa 100644
--- a/recipes-bsp/multitech/mts-io_4.8.0.bb
+++ b/recipes-bsp/multitech/mts-io_4.8.2.bb