summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2022-01-14 19:25:25 +0200
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2022-01-14 19:25:25 +0200
commit3cc7be7d3b3f12e8ffe7bbcba3dd56d2d2225031 (patch)
tree4285faa2d264cacc4c7aac6f2ecebf11440e263e /recipes-bsp
parent44f8315d7cf23d1a9340959dd2bd65768c443519 (diff)
parent0927d35d3ff04ee475d50d66531f92ed9564cfcc (diff)
downloadmeta-multitech-3cc7be7d3b3f12e8ffe7bbcba3dd56d2d2225031.tar.gz
meta-multitech-3cc7be7d3b3f12e8ffe7bbcba3dd56d2d2225031.tar.bz2
meta-multitech-3cc7be7d3b3f12e8ffe7bbcba3dd56d2d2225031.zip
Merge remote-tracking branch 'origin/6' into mpower-dev-nxp
Diffstat (limited to 'recipes-bsp')
-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-id-eeprom_0.6.3.bb (renamed from recipes-bsp/multitech/mts-id-eeprom_0.6.2.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.init6
-rw-r--r--recipes-bsp/multitech/mts-io_4.8.3.bb (renamed from recipes-bsp/multitech/mts-io_4.8.1.bb)0
6 files changed, 7 insertions, 4 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-id-eeprom_0.6.2.bb b/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb
index 12c32c4..12c32c4 100644
--- a/recipes-bsp/multitech/mts-id-eeprom_0.6.2.bb
+++ b/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 10d4527..d810d32 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 = "r2"
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..b62bcb1 100755
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -131,7 +131,7 @@ reset_path() {
pin=$1
${LOGDBG} -t "mts-io" -p daemon.info Reset $pin
if [[ -f ${pin} ]] ; then
- if ! ( (echo 1 >${pin}) && ${WAIT} && (echo 0 >${pin}) && ${WAIT} && (echo 1 >${pin}) ) ; then
+ if ! ( (echo 0 >${pin}) && ${WAIT} && (echo 1 >${pin}) ) ; then
/usr/bin/logger -t "mts-io" -p daemon.error -s "Failed write to ${pin}"
return 1
fi
@@ -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
@@ -362,7 +362,7 @@ case $1 in
# MTCDT-0.2 has issues with resetting RS9113 twice.
# RS9113 is reset in /etc/init.d/rs9113.
# Remove for MTRV1 reset as well, as it is redundant.
- if [[ $hw_name == MTCDT ]] || [[ $hw_name == MTRV1 ]] ; then
+ if [[ $hw_name == MTCDT ]] || [[ $hw_name == MTRV1 ]] || [[ $hw_name == MTCDTIP ]] ; then
RST[${WIFIBTRESET}]="/dev/null"
fi
reset_array
diff --git a/recipes-bsp/multitech/mts-io_4.8.1.bb b/recipes-bsp/multitech/mts-io_4.8.3.bb
index ee4fcfa..ee4fcfa 100644
--- a/recipes-bsp/multitech/mts-io_4.8.1.bb
+++ b/recipes-bsp/multitech/mts-io_4.8.3.bb