diff options
author | Rosy Song <rosysong@rosinson.com> | 2018-10-07 12:04:54 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-11-27 21:11:54 +0100 |
commit | 31469aebd4c737ba891ceffc58db59c6b039445c (patch) | |
tree | 90dcd27a9e0d577b24896cc62351e4d8e8b5609a /target/linux/ath79/base-files | |
parent | 757478133743d2d573ee2d5eb78be37aa544e11e (diff) | |
download | upstream-31469aebd4c737ba891ceffc58db59c6b039445c.tar.gz upstream-31469aebd4c737ba891ceffc58db59c6b039445c.tar.bz2 upstream-31469aebd4c737ba891ceffc58db59c6b039445c.zip |
ath79: add support for ROSINSON WR818 board
This commit adds support for the ROSINSON WR818 WiFi-Router
SoC: Qualcomm Atheros QCA9563,
FLASH: Winbond W25Q128FV 16MBytes,
WiFi: QCA9563 b/g/n 3x3 450Mbit/s,
USB: 1x USB 2.0 Type A, 1x USB2.0 Type C,
IN: WPS/Reset button GPIO1,
OUT: Power LED red, Internet LED red, WLAN LED red,
LAN1 LED red, LAN2 LED red, System LED red,
UART: RX-GPIO18, TX-GPIO22,
Tested and working:
- Ethernet (LAN + WAN)
- WiFi
- OpenWRT sysupgrade
- Button
- LEDs
Installation of OpenWRT from vendor firmware:
- Connect to the Web-interface at http://192.168.1.1
- Go to "Administration" -> "Firmware Upgrade"
- Upload the OpenWrt sysupgrade image
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 8 |
1 files changed, 8 insertions, 0 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 f471882213..b9d6c709e7 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -111,6 +111,10 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "3:lan:1" "5:lan:2" "4:wan" ;; + rosinson,wr818) + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan" "2:lan" "3:wan" + ;; tplink,archer-c7-v1|\ tplink,archer-c7-v2|\ tplink,tl-wdr4900-v2) @@ -230,6 +234,10 @@ ath79_setup_macs() lan_mac=$(k2t_get_mac "lan_mac") wan_mac=$(k2t_get_mac "wan_mac") ;; + rosinson,wr818) + wan_mac=$(mtd_get_mac_binary factory 0) + lan_mac=$(macaddr_setbit_la "$wan_mac") + ;; tplink,tl-wr1043nd-v4) base_mac=$(mtd_get_mac_binary product-info 8) wan_mac=$(macaddr_add "$base_mac" 1) |