X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=8977381c86d00d3e10394c43f3fe7b9474191e76;hb=df3295f50e54909090846de12f7deb3ff8de6557;hp=36469ca704cd177213b4cd2ac396f62ec2f9fedf;hpb=a4c84b2d734f0cba40b3d0a2183dbf221e7356e5;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 36469ca704..8977381c86 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -27,7 +27,6 @@ platform_check_image() { awapn2403|\ awm002-evb-4M|\ awm002-evb-8M|\ - awm003-evb|\ bc2|\ broadway|\ carambola|\ @@ -59,6 +58,7 @@ platform_check_image() { firewrt|\ fonera20n|\ freestation5|\ + gb-pc1|\ gl-mt300a|\ gl-mt300n|\ gl-mt750|\ @@ -149,6 +149,7 @@ platform_check_image() { vocore-8M|\ vocore-16M|\ vocore2|\ + vocore2lite|\ vr500|\ w150m|\ w2914nsv2|\ @@ -169,6 +170,7 @@ platform_check_image() { wl-wn575a3|\ wli-tx4-ag300n|\ wlr-6000|\ + wmdr-143n|\ wmr-300|\ wn3000rpv3|\ wnce2001|\ @@ -253,6 +255,13 @@ platform_check_image() { # these boards use metadata images return 0 ;; + re350-v1) + [ "$magic" != "01000000" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; ubnt-erx|\ ubnt-erx-sfp) nand_do_platform_check "$board" "$1"