aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>2017-03-03 15:36:51 +0100
committerMathias Kresin <dev@kresin.me>2017-03-12 09:28:19 +0100
commitde33a4cef0411f13df397ada2dc3634c5748a457 (patch)
treeda194a36f37938c6d0be065c0b9c9b7169fb371f /target/linux/ramips/base-files
parent2c2fc50d06cf18f7f5120a201e101aaa42f070c1 (diff)
downloadupstream-de33a4cef0411f13df397ada2dc3634c5748a457.tar.gz
upstream-de33a4cef0411f13df397ada2dc3634c5748a457.tar.bz2
upstream-de33a4cef0411f13df397ada2dc3634c5748a457.zip
ramips: add support for Netgear EX3700
Specifications: * SoC: MT7620A * RAM: 64 MB DDR * Flash: 8MB NOR SPI flash * WiFi: MT7612E (5Ghz) and builtin MT7620A (2.4GHz) * LAN: 1x100M The -factory images can be flashed from the device's web interface or via nmrpflash. Co-authored-by: Paul Oranje <por@xs4all.nl> Signed-off-by: Paul Oranje <por@xs4all.nl> Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-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, 10 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 66f0c97437..74ffeabca3 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -165,6 +165,10 @@ wn3000rpv3)
ucidef_set_led_default "power_r" "POWER (red)" "$board:red:power" "0"
set_wifi_led "$board:green:router"
;;
+ex3700)
+ ucidef_set_led_netdev "wlan5g" "ROUTER (green)" "$board:green:router" "wlan0"
+ ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "$board:green:device" "wlan1"
+ ;;
f5d8235-v1)
ucidef_set_led_default "lan" "lan" "$board:blue:wired" "0"
set_usb_led "$board:blue:storage"
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 828f461c4f..bbfa269db7 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -190,6 +190,7 @@ ramips_setup_interfaces()
d105|\
dch-m225|\
ex2700|\
+ ex3700|\
hpm|\
mzk-ex300np|\
mzk-ex750np|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 3bdd2cf1c1..51c0640105 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -23,6 +23,7 @@ get_status_led() {
dch-m225|\
dir-860l-b1|\
e1700|\
+ ex3700|\
fonera20n|\
kn_rc|\
kn_rf|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index cdebab47cd..6002362d19 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -190,6 +190,9 @@ ramips_board_detect() {
*"EX2700")
name="ex2700";
;;
+ *"EX3700")
+ name="ex3700"
+ ;;
*"F5D8235 v1")
name="f5d8235-v1"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 7b12d97a00..90eb6e447d 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -55,6 +55,7 @@ platform_check_image() {
esr-9753|\
ew1200|\
ex2700|\
+ ex3700|\
f7c027|\
firewrt|\
fonera20n|\