diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-12 08:29:33 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-02-12 08:29:33 +0000 |
commit | 4ba599daa6be5b85eeb9909fcd7090fdd2cec841 (patch) | |
tree | 0ab9b9eb7d1a3a4a5cc9ba06e1f07ee9ad8f4f60 /target/linux/ramips/base-files/etc | |
parent | addbde1976b932f70cf3d2f682e75b55cb1db9e9 (diff) | |
download | master-187ad058-4ba599daa6be5b85eeb9909fcd7090fdd2cec841.tar.gz master-187ad058-4ba599daa6be5b85eeb9909fcd7090fdd2cec841.tar.bz2 master-187ad058-4ba599daa6be5b85eeb9909fcd7090fdd2cec841.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48698 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 3 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 1 |
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) |