summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-12-11 10:19:27 -0600
committerJason Reiss <jreiss@multitech.com>2018-12-11 10:19:27 -0600
commit8a6e9f2e14c732dc21b755de7d76b29427bd2b19 (patch)
treec400d3996ed11203bef204823bb86c7b2f615cd1 /recipes-bsp
parentbaab17cd9d6fddf3713eab54479631eabbe27b2f (diff)
downloadmeta-multitech-8a6e9f2e14c732dc21b755de7d76b29427bd2b19.tar.gz
meta-multitech-8a6e9f2e14c732dc21b755de7d76b29427bd2b19.tar.bz2
meta-multitech-8a6e9f2e14c732dc21b755de7d76b29427bd2b19.zip
xdot: change to reset as input was not correct, add sleep before reset after flash
Diffstat (limited to 'recipes-bsp')
-rwxr-xr-xrecipes-bsp/multitech/mtac-xdot/xdot-util5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mtac-xdot/xdot-util b/recipes-bsp/multitech/mtac-xdot/xdot-util
index 678f7a9..ab612f5 100755
--- a/recipes-bsp/multitech/mtac-xdot/xdot-util
+++ b/recipes-bsp/multitech/mtac-xdot/xdot-util
@@ -20,7 +20,7 @@ function mount_xdot {
function reset {
mts-io-sysfs store xdot/reset 0
mts-io-sysfs store xdot/reset 1
- mts-io-sysfs store xdot/reset -1 &>/dev/null
+ mts-io-sysfs store xdot/reset -- -1 &>/dev/null
}
function usb_reset {
@@ -38,10 +38,11 @@ case "$1" in
"flash")
detect_hw
FIRMWARE_FILE=$2
- mts-io-sysfs store xdot/reset -1 &>/dev/null
+ mts-io-sysfs store xdot/reset -- -1 &>/dev/null
mount_xdot
flash
clean_up
+ sleep 1
reset
echo done
;;