diff options
author | Jason Reiss <jreiss@multitech.com> | 2018-12-11 10:19:27 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-01-10 11:20:06 -0600 |
commit | 763c195800295d93c30fbf2bd873924e377ade8a (patch) | |
tree | dd41744d2fe2416b3620dded18d60808590faa46 /recipes-bsp | |
parent | 8c10e30330b64f11996f2ca45718fd2511b59977 (diff) | |
download | meta-multitech-atmel-763c195800295d93c30fbf2bd873924e377ade8a.tar.gz meta-multitech-atmel-763c195800295d93c30fbf2bd873924e377ade8a.tar.bz2 meta-multitech-atmel-763c195800295d93c30fbf2bd873924e377ade8a.zip |
xdot: change to reset as input was not correct, add sleep before reset after flash
Diffstat (limited to 'recipes-bsp')
-rwxr-xr-x | recipes-bsp/multitech/mtac-xdot/xdot-util | 5 |
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 ;; |