From 1680ae7eae2602dd85463a71f88d0012b236bff7 Mon Sep 17 00:00:00 2001 From: Giuseppe Lippolis Date: Thu, 5 Apr 2018 18:01:41 +0200 Subject: 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 --- target/linux/ramips/base-files/lib/upgrade/platform.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/base-files/lib/upgrade') 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 -- cgit v1.2.3