mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-01-27 05:31:06 +02:00
m1/tools/m1nor: erase data partition before reflash
This commit is contained in:
parent
c9efa64c09
commit
c84ba205c0
@ -100,6 +100,9 @@ endian big
|
|||||||
EOF
|
EOF
|
||||||
for n in "$@"; do
|
for n in "$@"; do
|
||||||
classify "$n"
|
classify "$n"
|
||||||
|
if [ "$off" == "0xd20000" ]; then
|
||||||
|
echo eraseflash 0xd20000 151
|
||||||
|
fi
|
||||||
echo flashmem "$off" "$n" noverify
|
echo flashmem "$off" "$n" noverify
|
||||||
done
|
done
|
||||||
echo lockflash 0 55
|
echo lockflash 0 55
|
||||||
|
Loading…
x
Reference in New Issue
Block a user