aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorTamas Balogh <tamasbalogh@hotmail.com>2021-12-27 18:04:51 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-09 20:32:41 +0100
commitb29f4cf34cc8c83034b696d185325a655a23bc06 (patch)
treeeb8ef353c829ab1ef7dd41ca11944bed330bae1c /target/linux/ath79/generic/base-files/etc/board.d/02_network
parent0f50d3daff19a1eae513630a70f0c66af16db796 (diff)
downloadupstream-b29f4cf34cc8c83034b696d185325a655a23bc06.tar.gz
upstream-b29f4cf34cc8c83034b696d185325a655a23bc06.tar.bz2
upstream-b29f4cf34cc8c83034b696d185325a655a23bc06.zip
ath79: add support for ASUS RP-AC66
Asus RP-AC66 Repeater Hardware specifications: Board: AP152 SoC: QCA9563 DRAM: 64MB DDR2 Flash: 25l128 16MB SPI-NOR LAN/WAN: 1x1000M QCA8033 WiFi 5GHz: QCA9880 Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz MAC addresses as verified by OEM firmware: use address source Lan/Wan *:24 art 0x1002 (label) 2G *:24 art 0x1002 5G *:26 art 0x5006 Installation: Asus windows recovery tool: - install the Asus firmware restoration utility - unplug the router, hold the reset button while powering it on - release when the power LED flashes slowly - specify a static IP on your computer: IP address: 192.168.1.75 Subnet mask 255.255.255.0 - Start the Asus firmware restoration utility, specify the factory image and press upload - Do not power off the device after OpenWrt has booted until the LED flashing. TFTP Recovery method: - set computer to a static ip, 192.168.1.75 - connect computer to the LAN 1 port of the router - hold the reset button while powering on the router for a few seconds - send firmware image using a tftp client; i.e from linux: $ tftp tftp> binary tftp> connect 192.168.1.1 tftp> put factory.bin tftp> quit Signed-off-by: Tamas Balogh <tamasbalogh@hotmail.com>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d/02_network')
-rw-r--r--target/linux/ath79/generic/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index edd79b606e..e49e9bd3a1 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -15,6 +15,7 @@ ath79_setup_interfaces()
alfa-network,pi-wifi4|\
arduino,yun|\
aruba,ap-105|\
+ asus,rp-ac66|\
avm,fritz1750e|\
avm,fritz300e|\
avm,fritzdvbc|\
@@ -533,6 +534,10 @@ ath79_setup_macs()
lan_mac=$(macaddr_setbit $base_mac 29)
[ $lan_mac = $base_mac ] && lan_mac=$(macaddr_unsetbit $base_mac 29)
;;
+ asus,rp-ac66)
+ lan_mac=$(mtd_get_mac_binary art 0x1002)
+ label_mac=$lan_mac
+ ;;
avm,fritz1750e|\
avm,fritz450e|\
avm,fritzdvbc)