diff options
author | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2012-09-17 14:17:12 +0000 |
---|---|---|
committer | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2012-09-17 14:17:12 +0000 |
commit | 4ea95cae7d2e182daf804f8b29f303b455b53cea (patch) | |
tree | 9164a0bfe89c830f217e433bd8d203cda623421a /target/linux/ar71xx/base-files/lib/ar71xx.sh | |
parent | 0611e73d533c9ddbe8fa870fe64c17ab94a3e185 (diff) | |
download | upstream-4ea95cae7d2e182daf804f8b29f303b455b53cea.tar.gz upstream-4ea95cae7d2e182daf804f8b29f303b455b53cea.tar.bz2 upstream-4ea95cae7d2e182daf804f8b29f303b455b53cea.zip |
[ar71xx] dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/ar71xx.sh')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 8db983039c..2b083e1920 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -201,8 +201,11 @@ ar71xx_board_detect() { *"DIR-825 rev. B1") name="dir-825-b1" ;; - *"DIR-825 rev. B1 OpenWrt") - name="dir-825-b1-openwrt" + *"DIR-825 rev. B1 WHOLEFLASH") + name="dir-825-b1-wholeflash" + ;; + *"DIR-825 rev. B1 TOWHOLEFLASH") + name="dir-825-b1-towholeflash" ;; *"DIR-825 rev. B1 TOSTOCK") name="dir-825-b1-tostock" |