summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-12 08:29:33 +0000
committerJohn Crispin <john@openwrt.org>2016-02-12 08:29:33 +0000
commit9f9682a79b2f813ae140cc4866d1449412efb3d9 (patch)
tree0cb52966523e61ab130e6e8893bb1dc51cd6f552 /target/linux/ramips/base-files/etc
parent2d45ad07fc64b04a2e723a77491d450a1664cdec (diff)
downloadmaster-31e0f0ae-9f9682a79b2f813ae140cc4866d1449412efb3d9.tar.gz
master-31e0f0ae-9f9682a79b2f813ae140cc4866d1449412efb3d9.tar.bz2
master-31e0f0ae-9f9682a79b2f813ae140cc4866d1449412efb3d9.zip
ramips: Add support for Netgear EX2700
This patch adds support for the Netgear EX2700 and builds an approriate sysupgrade image. What's missing is the option to build a factory image flashable via the router's stock web interface, but this approach is hindered by the fact that u-boot operforms an additional integrity check, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> SVN-Revision: 48698
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
3 files changed, 7 insertions, 1 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 c3a81a4513..b10f5f1eba 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -125,6 +125,10 @@ dir-810l|\
mzk-dp150n)
ucidef_set_led_default "power" "power" "$board:green:power" "1"
;;
+ex2700)
+ ucidef_set_led_default "power_r" "POWER (red)" "$board:red:power" "0"
+ set_wifi_led "$board:green:router"
+ ;;
f5d8235-v1|\
f5d8235-v2)
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 dafa3e98f1..98537292b1 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -141,7 +141,8 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0"
;;
- cf-wr800n)
+ cf-wr800n|\
+ ex2700)
ucidef_add_switch "switch0" \
"4:lan" "6t@eth0"
;;
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index acc500b70e..59c5965396 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -34,6 +34,7 @@ get_status_led() {
a5-v11|\
d105|\
dcs-930l-b1|\
+ ex2700|\
hlk-rm04|\
mpr-a1|\
mpr-a2)