Jacob Stiffler
2018-11-27 19:52:43 UTC
* Now that SW reset is functional, resetting the board for a clean
environment can be enabled.
Signed-off-by: Jacob Stiffler <j-***@ti.com>
---
setup-uboot-env-am65x.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index beb7713..6335ce4 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -137,11 +137,11 @@ echo "timeout 300" > $cwd/setupBoard.minicom
echo "verbose on" >> $cwd/setupBoard.minicom
do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
-# SW reboot not currently supported
-#do_expect "\"$prompt\"" "send \"env default -f -a\"" $cwd/setupBoard.minicom
-#do_expect "\"$prompt\"" "send \"saveenv\"" $cwd/setupBoard.minicom
-#do_expect "\"$prompt\"" "send \"reset\"" $cwd/setupBoard.minicom
-#do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
+# Reboot with clean environment
+do_expect "\"$prompt\"" "send \"env default -f -a\"" $cwd/setupBoard.minicom
+do_expect "\"$prompt\"" "send \"saveenv\"" $cwd/setupBoard.minicom
+do_expect "\"$prompt\"" "send \"reset\"" $cwd/setupBoard.minicom
+do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
# Configurable settings
do_expect "\"$prompt\"" "send \"setenv serverip $ip\"" $cwd/setupBoard.minicom
environment can be enabled.
Signed-off-by: Jacob Stiffler <j-***@ti.com>
---
setup-uboot-env-am65x.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index beb7713..6335ce4 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -137,11 +137,11 @@ echo "timeout 300" > $cwd/setupBoard.minicom
echo "verbose on" >> $cwd/setupBoard.minicom
do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
-# SW reboot not currently supported
-#do_expect "\"$prompt\"" "send \"env default -f -a\"" $cwd/setupBoard.minicom
-#do_expect "\"$prompt\"" "send \"saveenv\"" $cwd/setupBoard.minicom
-#do_expect "\"$prompt\"" "send \"reset\"" $cwd/setupBoard.minicom
-#do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
+# Reboot with clean environment
+do_expect "\"$prompt\"" "send \"env default -f -a\"" $cwd/setupBoard.minicom
+do_expect "\"$prompt\"" "send \"saveenv\"" $cwd/setupBoard.minicom
+do_expect "\"$prompt\"" "send \"reset\"" $cwd/setupBoard.minicom
+do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
# Configurable settings
do_expect "\"$prompt\"" "send \"setenv serverip $ip\"" $cwd/setupBoard.minicom
--
1.9.1
1.9.1