summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Winkler <robert.winkler@boundarydevices.com>2013-07-02 18:36:51 -0700
committerRobert Winkler <robert.winkler@boundarydevices.com>2013-07-02 18:36:51 -0700
commit7582f452708d212a36a3ea071a25be12c5ec1adf (patch)
tree22ce8675415689e15ed30f239d188b1d2658aef4
parenta9d4d89cf27d1f1c7d4982fd65b22a8d0b2263c3 (diff)
Refix upgrade erase bug
-rw-r--r--board/boundary/nitrogen6x/6x_upgrade.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/boundary/nitrogen6x/6x_upgrade.txt b/board/boundary/nitrogen6x/6x_upgrade.txt
index f5cf834025..68722f8fd4 100644
--- a/board/boundary/nitrogen6x/6x_upgrade.txt
+++ b/board/boundary/nitrogen6x/6x_upgrade.txt
@@ -21,7 +21,7 @@ if ${fs}load ${dtype} ${disk}:1 12000000 $bootfile || ${fs}load ${dtype} ${disk}
sleep 1 ;
done
echo "erasing" ;
- sf erase 0 +$filesize ;
+ sf erase 0 0xC0000 ;
# two steps to prevent bricking
echo "programming" ;
sf write 0x12000000 $offset $filesize ;