diff --git a/tools/scripts/sim-update-powerfail-resume.sh b/tools/scripts/sim-update-powerfail-resume.sh index e3980d03d..3c2d71e6e 100755 --- a/tools/scripts/sim-update-powerfail-resume.sh +++ b/tools/scripts/sim-update-powerfail-resume.sh @@ -9,6 +9,9 @@ fi ./wolfboot.elf powerfail 15000 get_version 2>/dev/null ./wolfboot.elf powerfail 18000 get_version 2>/dev/null ./wolfboot.elf powerfail 1a000 get_version 2>/dev/null +# fail on the last sector to stop the encrypt key save and state update +./wolfboot.elf powerfail 3e000 get_version 2>/dev/null +./wolfboot.elf powerfail 3f000 get_version 2>/dev/null V=`./wolfboot.elf get_version 2>/dev/null` if [ "x$V" != "x2" ]; then @@ -20,6 +23,8 @@ fi ./wolfboot.elf powerfail 11000 get_version 2>/dev/null ./wolfboot.elf powerfail 14000 get_version 2>/dev/null ./wolfboot.elf powerfail 1e000 get_version 2>/dev/null +./wolfboot.elf powerfail 3e000 get_version 2>/dev/null +./wolfboot.elf powerfail 3f000 get_version 2>/dev/null V=`./wolfboot.elf get_version 2>/dev/null` if [ "x$V" != "x1" ]; then