summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorDominik Menke <dom@digineo.de>2016-11-15 12:37:38 +0100
committerMathias Kresin <dev@kresin.me>2016-11-17 06:39:52 +0100
commit8b65fef1737fc981b288d69ba4f9ec42acf46d63 (patch)
tree8a11b3dbad8741f5762eeeb2be73b5a3ea286f68 /target/linux/ramips/base-files
parent6e3d7897f75e77ccbee6fde318b88a826920f3b6 (diff)
downloadmtk-20170518-8b65fef1737fc981b288d69ba4f9ec42acf46d63.zip
mtk-20170518-8b65fef1737fc981b288d69ba4f9ec42acf46d63.tar.gz
mtk-20170518-8b65fef1737fc981b288d69ba4f9ec42acf46d63.tar.bz2
ramips: add support for Digineo AC1200 Pro
This is basically a ZBT-WG3526 (mt7621 SoC), but with 32M flash. Signed-off-by: Dominik Menke <dom@digineo.de>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh9
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 10 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index e2a2f94..537448e 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -63,6 +63,7 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0.2"
;;
3g-6200n|\
+ ac1200pro|\
ai-br100|\
db-wrt01|\
dir-300-b7|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c1836e1..f3910c7 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -53,10 +53,7 @@ get_status_led() {
mzk-ex750np)
status_led="$board:red:power"
;;
- ai-br100|\
- ht-tm02)
- status_led="$board:blue:wlan"
- ;;
+ ac1200pro|\
all0239-3g|\
dcs-930|\
dir-300-b1|\
@@ -82,6 +79,10 @@ get_status_led() {
zbt-wg3526)
status_led="$board:green:status"
;;
+ ai-br100|\
+ ht-tm02)
+ status_led="$board:blue:wlan"
+ ;;
atp-52b|\
ip2202)
status_led="$board:green:run"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 2560eb7..ee90732 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -115,6 +115,9 @@ ramips_board_detect() {
*"DCS-930L B1")
name="dcs-930l-b1"
;;
+ *"Digineo AC1200 Pro")
+ name="ac1200pro"
+ ;;
*"DIR-300 B1")
name="dir-300-b1"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 7f161f5..d5d0463 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -17,6 +17,7 @@ platform_check_image() {
3g150b|\
3g300m|\
a5-v11|\
+ ac1200pro|\
ai-br100|\
air3gii|\
all0239-3g|\