X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=673ee4ecd0bbd28ffa0add9ac36ce95f41572af8;hp=3dbd91cfc7e9fec69d8973542754faa0ce12bea9;hb=2ce833060a6ac412d0df362edb950b19da9af04c;hpb=66950455b7d1c462db1a1fd72622f0703d55ce6e diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 3dbd91cfc7..673ee4ecd0 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -179,6 +179,7 @@ platform_check_image() { ap136-010 | \ ap136-020 | \ ap135-020 | \ + ap147-010 | \ ap96 | \ bxu2000n-2-a1 | \ db120 | \ @@ -198,6 +199,7 @@ platform_check_image() { ap81 | \ ap83 | \ ap132 | \ + cf-e316n-v2 | \ dgl-5500-a1 |\ dhp-1565-a1 |\ dir-505-a1 | \ @@ -205,9 +207,13 @@ platform_check_image() { dir-615-c1 | \ dir-615-e1 | \ dir-615-e4 | \ + dir-615-i1 | \ dir-825-c1 | \ dir-835-a1 | \ + dlan-pro-500-wp | \ + dlan-pro-1200-ac | \ dragino2 | \ + epg5000 | \ esr1750 | \ esr900 | \ ew-dorin | \ @@ -227,8 +233,10 @@ platform_check_image() { nanostation-m | \ rocket-m | \ rocket-m-xw | \ + rocket-m-ti | \ nanostation-m-xw | \ rw2458n | \ + wpj531 | \ wndap360 | \ wpj344 | \ wzr-hp-g300nh2 | \ @@ -256,6 +264,7 @@ platform_check_image() { return 1 ;; + bsb | \ dir-825-b1 | \ tew-673gru) dir825b_check_image "$1" && return 0 @@ -298,12 +307,15 @@ platform_check_image() { return 1 ;; + antminer-s1 | \ + antminer-s3 | \ archer-c5 | \ archer-c7 | \ el-m150 | \ el-mini | \ gl-inet | \ mc-mac1200r | \ + onion-omega | \ oolite | \ smart-300 | \ tl-mr10u | \ @@ -330,6 +342,7 @@ platform_check_image() { tl-wdr3500 | \ tl-wdr4300 | \ tl-wdr4900-v2 | \ + tl-wdr6500-v2 | \ tl-wr703n | \ tl-wr710n | \ tl-wr720n-v3 | \ @@ -347,7 +360,15 @@ platform_check_image() { tl-wr1043nd | \ tl-wr1043nd-v2 | \ tl-wr2543n) - [ "$magic" != "0100" ] && { + local magic_ver="0100" + + case "$board" in + tl-wdr6500-v2) + magic_ver="0200" + ;; + esac + + [ "$magic" != "$magic_ver" ] && { echo "Invalid image type." return 1 }