1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-18 21:09:43 +02:00

m1rc3/norruption/2/aloop: corrections and put cycle number at beginning of file name

This commit is contained in:
Werner Almesberger 2011-10-10 00:57:55 -03:00
parent d433f73101
commit f1ebf7495b

View File

@ -32,16 +32,16 @@ while true; do
continue
fi
echo bootsts = $bs >$DIR/stat$n
echo bootsts = $bs >$DIR/$n-stat
./getstby $DIR/corrupt$n.bin
./getstby $DIR/$n-corrupt.bin
boot
# 1.0-4.3 seconds
sleep 2
echo '\033serialboot' >$TTY
echo -e '\033serialboot' >$TTY
# >= 7.9 seconds
sleep 9
@ -53,6 +53,6 @@ while true; do
./putstby standby.fpg
diff -u <(hexdup -C standby.fpg) \
<(hexdump -C $DIR/corrupt$n.bin) >$DIR/diff$n
diff -u <(hexdump -C standby.fpg) \
<(hexdump -C $DIR/$n-corrupt.bin) >$DIR/$n-diff
done