From 9f9682a79b2f813ae140cc4866d1449412efb3d9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 12 Feb 2016 08:29:33 +0000 Subject: 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 SVN-Revision: 48698 --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 ++++ target/linux/ramips/base-files/etc/board.d/02_network | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/etc/board.d') 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" ;; -- cgit v1.2.3