summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-26 11:43:53 +0000
committerJohn Crispin <john@openwrt.org>2016-04-26 11:43:53 +0000
commitcb049e71cdc08e17f664403a0ef970c480ae5c4a (patch)
tree9771f500ebce8f268f0370903107d82f28feefa3 /target/linux/ramips/base-files
parent7a7e27c6d049b5ae6baeaf892b148b1a24624546 (diff)
downloadmtk-20170518-cb049e71cdc08e17f664403a0ef970c480ae5c4a.zip
mtk-20170518-cb049e71cdc08e17f664403a0ef970c480ae5c4a.tar.gz
mtk-20170518-cb049e71cdc08e17f664403a0ef970c480ae5c4a.tar.bz2
ramips: Add support for the Netgear WNDR3700v5
https://wiki.openwrt.org/toh/netgear/wndr3700 wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49247
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index a263b52..aeaab33 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -271,6 +271,9 @@ wrh-300cr)
set_wifi_led "$board:green:wlan"
ucidef_set_led_netdev "lan" "lan" "$board:green:ethernet" "eth0"
;;
+wndr3700v5)
+ ucidef_set_led_default "power" "POWER" "$board:green:power" "0"
+ ;;
wt3020)
ucidef_set_led_default "power" "power" "$board:blue:power" "0"
;;
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 28fcc61..c6c740f 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -81,6 +81,7 @@ ramips_setup_interfaces()
whr-300hp2|\
whr-600d|\
witi|\
+ wndr3700v5|\
wsr-1166|\
wsr-600|\
wt1520|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 352357c..20ff8ff 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -27,6 +27,7 @@ get_status_led() {
nbg-419n|\
pwh2004|\
wnce2001|\
+ wndr3700v5|\
x5|\
x8|\
xdxrn502j)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 13d325d..2c669c5 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -460,6 +460,9 @@ ramips_board_detect() {
*"WNCE2001")
name="wnce2001"
;;
+ *"WNDR3700v5")
+ name="wndr3700v5"
+ ;;
*"WR512-3GN-like"*)
name="wr512-3gn"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 522e78a..2b24030 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -136,6 +136,7 @@ platform_check_image() {
wli-tx4-ag300n|\
wmr-300|\
wnce2001|\
+ wndr3700v5|\
wr512-3gn|\
wr6202|\
wrh-300cr|\