Skip to content

Commit

Permalink
add first sector powerfail to the powerfail-resume
Browse files Browse the repository at this point in the history
test, this will cause the test to fail since a power failure here means the fw_size of boot will be missing
  • Loading branch information
jpbland1 committed Aug 15, 2023
1 parent 5bc1f09 commit 0361629
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/scripts/sim-update-powerfail-resume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if [ "x$V" != "x1" ]; then
exit 1
fi

./wolfboot.elf powerfail 0 get_version 2>/dev/null
./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
Expand All @@ -15,6 +16,7 @@ if [ "x$V" != "x2" ]; then
exit 1
fi

./wolfboot.elf powerfail 1000 get_version 2>/dev/null
./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
Expand Down

0 comments on commit 0361629

Please sign in to comment.