diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-27 07:38:08 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-10-15 09:01:45 +0200 |
commit | e7ec5df33bdb3929c1b99adb68813643cc6ecd25 (patch) | |
tree | f3df6582fbe1b308e8c8cf063359f6ffd8604814 /target/linux/ramips/base-files | |
parent | 634d690d740ad2e586701a393d60cc9753808193 (diff) | |
download | upstream-e7ec5df33bdb3929c1b99adb68813643cc6ecd25.tar.gz upstream-e7ec5df33bdb3929c1b99adb68813643cc6ecd25.tar.bz2 upstream-e7ec5df33bdb3929c1b99adb68813643cc6ecd25.zip |
ramips: move edimax images to the new build code
Images installed via TFTP recovery or the Edimax webinterface of the
3g-6200n(l) are writting with the edimax header to flash.
Use only one image type for these boards. The migration to the
factory only images need to be done via TFTP recovery.
Use the same start address for the 3g-6200n(l) factory images as the
stock firmware images.
Thanks to Jan Dostrasil for reporting all the issues of the 3g-6200nl
and the patient testing of all changes.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index b90a591ded..806c1a0e8c 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -16,8 +16,6 @@ platform_check_image() { case "$board" in 3g150b|\ 3g300m|\ - 3g-6200n|\ - 3g-6200nl|\ a5-v11|\ ai-br100|\ air3gii|\ @@ -178,15 +176,18 @@ platform_check_image() { } return 0 ;; - ar670w) - [ "$magic" != "6d000080" ] && { + 3g-6200n|\ + 3g-6200nl|\ + br-6475nd) + [ "$magic" != "43535953" ] && { echo "Invalid image type." return 1 } return 0 ;; - br-6475nd) - [ "$magic" != "43535953" ] && { + + ar670w) + [ "$magic" != "6d000080" ] && { echo "Invalid image type." return 1 } |