diff options
author | John Crispin <blogic@openwrt.org> | 2015-02-16 21:19:18 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-02-16 21:19:18 +0000 |
commit | 6b1d5b906cefd016ce9dea7d02b0b68a1b59d1c4 (patch) | |
tree | 86c81663df0830784734bc4705ffef1436036ce7 /target/linux/ramips/base-files/etc | |
parent | 2cb7799ed48f16f63f5de58dbe5e9e0c6981e687 (diff) | |
download | upstream-6b1d5b906cefd016ce9dea7d02b0b68a1b59d1c4.tar.gz upstream-6b1d5b906cefd016ce9dea7d02b0b68a1b59d1c4.tar.bz2 upstream-6b1d5b906cefd016ce9dea7d02b0b68a1b59d1c4.zip |
ramips: Buffalo WZR-AGL300NH target support
I got work with this patch.
Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons.
In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata.
signed-off-by: ngc@ff.iij4u.or.jp
——
——
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44470 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/02_network | 6 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 3 |
2 files changed, 9 insertions, 0 deletions
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 f298aa47af..7e9d8c984b 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -242,6 +242,12 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch1" "2" "4 6t" ;; + wzr-agl300nh) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t" + ucidef_add_switch_vlan "switch0" "2" "0 5t" + ;; *) RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"` if [ -n "${RT3X5X}" ]; then diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index d31fbe4f98..39a0868727 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -168,6 +168,9 @@ get_status_led() { wli-tx4-ag300n) status_led="buffalo:blue:power" ;; + wzr-agl300nh) + status_led="buffalo:green:router" + ;; wl-351) status_led="wl-351:amber:power" ;; |