aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2012-09-17 14:17:12 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2012-09-17 14:17:12 +0000
commit0f254b4b67b400e093b8e8e0e22144dbdddcb7ad (patch)
tree2cfdc98f2b3fb0720049ae3322913756b4bde352 /target/linux/ar71xx/base-files/etc/diag.sh
parente8893fdf7a151854f0edcee6863bd7e81e887705 (diff)
downloadupstream-0f254b4b67b400e093b8e8e0e22144dbdddcb7ad.tar.gz
upstream-0f254b4b67b400e093b8e8e0e22144dbdddcb7ad.tar.bz2
upstream-0f254b4b67b400e093b8e8e0e22144dbdddcb7ad.zip
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).
SVN-Revision: 33447
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 570bdcb845..52176a8579 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -65,7 +65,8 @@ get_status_led() {
status_led="d-link:green:status"
;;
dir-825-b1 |\
- dir-825-b1-openwrt |\
+ dir-825-b1-towholeflash |\
+ dir-825-b1-wholeflash |\
dir-825-b1-stock)
status_led="d-link:orange:power"
;;