diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2018-08-10 09:07:53 +0900 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-11 21:45:06 +0200 |
commit | a6369206fe3306114f6c4b26a7cf50b91008cb25 (patch) | |
tree | d2d83a78b70c60049d7d620e090a0eedaf9ab8c6 /target/linux/ath79/base-files/etc/board.d/02_network | |
parent | 97de133368762824ba3d7e9d95f97011a597ec1a (diff) | |
download | upstream-a6369206fe3306114f6c4b26a7cf50b91008cb25.tar.gz upstream-a6369206fe3306114f6c4b26a7cf50b91008cb25.tar.bz2 upstream-a6369206fe3306114f6c4b26a7cf50b91008cb25.zip |
ath79: add support for I-O DATA WN-AC1600DGR2
I-O DATA WN-AC1600DGR2 is a 2.4/5 GHz band 11ac router, based on
Qualcomm Atheros QCA9557.
Specification:
- Qualcomm Atheros QCA9557
- 128 MB of RAM
- 16 MB of Flash
- 2.4/5 GHz wifi
- 2.4 GHz: 2T2R (SoC internal)
- 5 GHz: 3T3R (QCA9880)
- 5x 10/100/1000 Mbps Ethernet
- 6x LEDs, 6x keys (4x buttons, 1x slide switch)
- UART header on PCB
- Vcc, GND, TX, RX from ethernet port side
- 115200n8
Flash instruction using factory image:
1. Connect the computer to the LAN port of WN-AC1600DGR2
2. Connect power cable to WN-AC1600DGR2 and turn on it
3. Access to "http://192.168.0.1/" and open firmware update page
("ファームウェア")
4. Select the OpenWrt factory image and click update ("更新") button
5. Wait ~150 seconds to complete flashing
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 5edfd9e2ce..fe2d5859d3 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -46,6 +46,11 @@ ath79_setup_interfaces() glinet,ar300m) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; + iodata,wn-ac1600dgr2|\ + pcs,cr5000) + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" + ;; netgear,wndr3800) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ @@ -66,10 +71,6 @@ ath79_setup_interfaces() "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2" ucidef_set_interface_wan "eth0" ;; - pcs,cr5000) - ucidef_add_switch "switch0" \ - "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" - ;; phicomm,k2t) ucidef_add_switch "switch0" \ "0@eth0" "3:lan:1" "5:lan:2" "4:wan" @@ -152,6 +153,10 @@ ath79_setup_macs() lan_mac=$(mtd_get_mac_text "caldata" 65440) wan_mac=$(mtd_get_mac_text "caldata" 65460) ;; + iodata,wn-ac1600dgr2) + lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) + wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) + ;; phicomm,k2t) lan_mac=$(k2t_get_mac "lan_mac") wan_mac=$(k2t_get_mac "wan_mac") |