diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:21:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:21:13 +0000 |
commit | 9242d27b4a91c2cf2e787d3a893de3a95890e717 (patch) | |
tree | 953964c0542e940d72efcab4225a701172bf7071 /target/linux/ar71xx/base-files | |
parent | e0019b33a4e198ab7b00b103d19d33988fdab4f6 (diff) | |
download | upstream-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')
5 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 576d45b64d..cfb42a590a 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -45,6 +45,11 @@ antminer-s3) ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0" ;; +antrouter-r1) + ucidef_set_led_wlan "wlan" "WLAN" "antrouter-r1:green:wlan" "phy0tpt" + ucidef_set_led_default "btc" "BTC" "antrouter-r1:green:btc" "0" + ;; + arduino-yun) ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt" ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 8c57f2b59c..6b6c6a465f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -317,6 +317,7 @@ dlan-pro-1200-ac) all0305 |\ antminer-s1 |\ antminer-s3 |\ +antrouter-r1 |\ aw-nr580 |\ bullet-m |\ c-55 |\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 7e2dac8035..13a0a98d30 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -18,6 +18,9 @@ get_status_led() { antminer-s3) status_led="antminer-s3:green:system" ;; + antminer-r1) + status_led="antminer-r1:green:system" + ;; ap132) status_led="ap132:green:status" ;; 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 | \ |