From de33a4cef0411f13df397ada2dc3634c5748a457 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Fri, 3 Mar 2017 15:36:51 +0100 Subject: 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 Signed-off-by: Paul Oranje Signed-off-by: Joseph C. Lehner --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 ++++ target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 5 files changed, 10 insertions(+) (limited to 'target/linux/ramips/base-files') 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|\ -- cgit v1.2.3