X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=d8098b2a6655a4b380d85669516edcd33929131f;hb=cd5f3584e2c2044c2cd53d723350a8d02b227aff;hp=e85beada3935a2d532996a2458d2c35513204983;hpb=169e1845216fb3fe7c436ef0e37e02a0bcc182b0;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 e85beada39..d8098b2a66 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -23,19 +23,24 @@ platform_check_image() { all0256n | \ all5002 | \ all5003 | \ + ar725w | \ asl26555 | \ awm002-evb | \ bc2 | \ broadway | \ carambola | \ d105 | \ + dcs-930 | \ dir-300-b1 | \ + dir-300-b7 | \ + dir-320-b1 | \ dir-600-b1 | \ dir-600-b2 | \ dir-615-h1 | \ dir-615-d | \ dir-620-a1 | \ dir-620-d1 | \ + dir-810l | \ dap-1350 | \ esr-9753 | \ f7c027 | \ @@ -44,6 +49,7 @@ platform_check_image() { freestation5 | \ hw550-3g | \ hg255d | \ + hlk-rm04 | \ ip2202 | \ m3 | \ m4 | \ @@ -56,8 +62,11 @@ platform_check_image() { omni-emb | \ omni-emb-hpm | \ psr-680w | \ + px4885 | \ + rp-n53 | \ rt-g32-b1 | \ rt-n10-plus | \ + rt-n14u | \ rt-n15 | \ rt-n56u | \ sl-r7205 | \ @@ -77,6 +86,8 @@ platform_check_image() { ur-326n4g |\ ur-336un |\ wr512-3gn |\ + wmr300 |\ + wrtnode |\ x5 |\ x8) [ "$magic" != "27051956" ] && { @@ -85,6 +96,7 @@ platform_check_image() { } return 0 ;; + dir-610-a1 |\ dir-645) [ "$magic" != "5ea3a417" ] && { echo "Invalid image type." @@ -92,6 +104,13 @@ platform_check_image() { } return 0 ;; + br-6475nd) + [ "$magic" != "43535953" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; esac echo "Sysupgrade is not yet supported on $board."