mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-01-26 07:01: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
|
||||
for n in "$@"; do
|
||||
classify "$n"
|
||||
if [ "$off" == "0xd20000" ]; then
|
||||
echo eraseflash 0xd20000 151
|
||||
fi
|
||||
echo flashmem "$off" "$n" noverify
|
||||
done
|
||||
echo lockflash 0 55
|
||||
|
Loading…
x
Reference in New Issue
Block a user