aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:21:13 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:21:13 +0000
commit9242d27b4a91c2cf2e787d3a893de3a95890e717 (patch)
tree953964c0542e940d72efcab4225a701172bf7071 /target/linux/ar71xx/base-files/lib
parente0019b33a4e198ab7b00b103d19d33988fdab4f6 (diff)
downloadupstream-9242d27b4a91c2cf2e787d3a893de3a95890e717.tar.gz
upstream-9242d27b4a91c2cf2e787d3a893de3a95890e717.tar.bz2
upstream-9242d27b4a91c2cf2e787d3a893de3a95890e717.zip
V2 ar71xx : Add Support for the Bitmain Antrouter R1
This patch adds support for the Bitmain Antrouter R1 http://wiki.openwrt.org/toh/bitmain/r1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 48058
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 46e631110c..61dcbbadd2 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -114,6 +114,9 @@ tplink_board_detect() {
"044403"*)
model="ANTMINER-S3"
;;
+ "44440101"*)
+ model="ANTROUTER-R1"
+ ;;
"120000"*)
model="MERCURY MAC1200R"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 35398d5449..e662524df5 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -323,6 +323,7 @@ platform_check_image() {
antminer-s1 | \
antminer-s3 | \
+ antrouter-r1 | \
archer-c5 | \
archer-c7 | \
el-m150 | \