aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorGiuseppe Lippolis <giu.lippolis@gmail.com>2018-04-05 18:01:41 +0200
committerMathias Kresin <dev@kresin.me>2018-04-08 09:51:06 +0200
commit1680ae7eae2602dd85463a71f88d0012b236bff7 (patch)
tree540925cfcf39b4ee4efa9bdc98e7e00beff5e4f2 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parentcb7ac151cd13ca510588b80c24645f2add1b3737 (diff)
downloadupstream-1680ae7eae2602dd85463a71f88d0012b236bff7.tar.gz
upstream-1680ae7eae2602dd85463a71f88d0012b236bff7.tar.bz2
upstream-1680ae7eae2602dd85463a71f88d0012b236bff7.zip
ramips: add dwr-512 jboot firmware configuration
The previous fw version require the replacement of the stock bootloader with u-boot. This prevent an easy stock restore of the original fw. Now a proper fw util has been developed to manage the stock jboot bootloader. Therefore make sense have a fw image for the stock bootloader. The old fw configuration (u-boot) is not compatible with the new one and will not be supported anymore. So at the end 2 image can be generated: 1) factory image with jboot bootloader openwrt-ramips-rt305x-dwr-512-b-squashfs-factory.bin 2) sysupgrade image with jboot bootloader openwrt-ramips-rt305x-dwr-512-b-squashfs-sysupgrade.bin Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 44be484374..c58102cf4e 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -52,7 +52,6 @@ platform_check_image() {
dir-620-d1|\
dir-810l|\
duzun-dm06|\
- dwr-512-b|\
e1700|\
esr-9753|\
ew1200|\
@@ -272,7 +271,8 @@ platform_check_image() {
return 0
;;
dlink,dwr-116-a1|\
- dlink,dwr-921-c1)
+ dlink,dwr-921-c1|\
+ dwr-512-b)
[ "$magic" != "0404242b" ] && {
echo "Invalid image type."
return 1