diff options
author | Ernst Spielmann <endspiel@disroot.org> | 2020-04-16 18:42:29 +0000 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-24 18:14:59 +0200 |
commit | c3dc52e39ac83704b7a376d8d5610bdb91807e3f (patch) | |
tree | d13a695b9518c7cf0bd164e07f3cf5b9200ab930 /target/linux/ramips/mt76x8 | |
parent | a765b063ee3e1dd6519f6a4a9e4d4f72214b33b8 (diff) | |
download | upstream-c3dc52e39ac83704b7a376d8d5610bdb91807e3f.tar.gz upstream-c3dc52e39ac83704b7a376d8d5610bdb91807e3f.tar.bz2 upstream-c3dc52e39ac83704b7a376d8d5610bdb91807e3f.zip |
ramips: add support for Asus RT-N10P V3 / RT-N11P B1 / RT-N12 VP B1
Specifications:
- MT7628NN @ 580 MHz
- 32 MB RAM
- 8 MB Flash
- 5x 10/100 Mbps Ethernet (built-in switch)
- 2.4 GHz WLAN
- 2x external, non-detachable antennas (1x for RT-N10P V3)
Flash instructions:
1. Set PC network interface to 192.168.1.75/24.
2. Connect PC to the router via LAN.
3. Turn router off, press and hold reset button, then turn it on.
4. Keep the button pressed till power led starts to blink.
5. Upload the firmware file via TFTP. (Any filename is accepted.)
6. Wait until the router reboots.
Signed-off-by: Ernst Spielmann <endspiel@disroot.org>
[fix node/property name for state_default]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds | 6 | ||||
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 21 |
2 files changed, 18 insertions, 9 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds index c66e13d3c5..685895452a 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds @@ -20,6 +20,12 @@ case $board in alfa-network,awusfree1) set_wifi_led "$boardname:blue:wlan" ;; +asus,rt-n10p-v3|\ +asus,rt-n11p-b1|\ +asus,rt-n12-vp-b1) + ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0xf" + ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10" + ;; cudy,wr1000) ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x10" ucidef_set_led_switch "lan1" "lan1" "$boardname:blue:lan1" "switch0" "0x08" diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network index d758fe5543..398b5e88c7 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -26,6 +26,18 @@ ramips_setup_interfaces() ucidef_add_switch_attr "switch0" "enable" "false" ucidef_set_interface_lan "eth0" ;; + asus,rt-n10p-v3|\ + asus,rt-n11p-b1|\ + asus,rt-n12-vp-b1|\ + hiwifi,hc5661a|\ + mediatek,mt7628an-eval-board|\ + mercury,mac1200r-v2|\ + totolink,lr1200|\ + wavlink,wl-wn570ha1|\ + wavlink,wl-wn575a3) + ucidef_add_switch "switch0" \ + "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" + ;; buffalo,wcr-1166ds) ucidef_add_switch "switch0" \ "3:lan" "4:wan" "6@eth0" @@ -67,15 +79,6 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; - hiwifi,hc5661a|\ - mediatek,mt7628an-eval-board|\ - mercury,mac1200r-v2|\ - totolink,lr1200|\ - wavlink,wl-wn570ha1|\ - wavlink,wl-wn575a3) - ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" - ;; hiwifi,hc5761a) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "4:wan" "6@eth0" |