diff options
author | Tamas Balogh <tamasbalogh@hotmail.com> | 2022-04-15 11:11:01 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-04-19 21:45:46 +0200 |
commit | 5d91b5a6368f14f559a283d757e4cda57261ab20 (patch) | |
tree | c408fa3b97c1d43b3fe650abd101461265b14b38 /target/linux/ramips/mt76x8 | |
parent | 3b3dccae0ebf20ce96fc82dfaf8d019971320ba2 (diff) | |
download | upstream-5d91b5a6368f14f559a283d757e4cda57261ab20.tar.gz upstream-5d91b5a6368f14f559a283d757e4cda57261ab20.tar.bz2 upstream-5d91b5a6368f14f559a283d757e4cda57261ab20.zip |
ramips: add support for ASUS RT-AC1200-V2
Hardware specifications:
SoC: MT7628DAN MIPS_24KEc@580MHz 2.4G-n 2x2
WiFi: MT7613BEN 5G-ac 160MHz 2x2
Switch: 4x100M built-in SoC
Flash: 16MB W25Q128JVSQ SPI-NOR
DRAM: 64MB built-in SoC
MAC addresses as verified by OEM firmware:
use address source
Lan/Wan/2G *:60 factory 0x4 (label)
5G *:64 factory 0x8000
Serial console: 57600,8n1
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
after flashing OpenWrt, there will be first no 5GHz Wifi available probably,
wait until blinking finishes and do a reboot
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
do NOT power off the device after OpenWrt has booted until the LED flashing
after flashing OpenWrt, there will be first no 5GHz Wifi available probably,
wait until blinking finishes and do a reboot
Signed-off-by: Tamas Balogh <tamasbalogh@hotmail.com>
(cherry picked from commit a4bf562aa71ad1e3dcffa392b79110d803a93f11)
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rw-r--r-- | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 5 |
1 files changed, 4 insertions, 1 deletions
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 1f833c1820..408f5f5e01 100644 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -35,6 +35,7 @@ ramips_setup_interfaces() ucidef_set_interface_lan "eth0" ;; asus,rt-ac1200|\ + asus,rt-ac1200-v2|\ hilink,hlk-7628n|\ hilink,hlk-7688a|\ hiwifi,hc5861b|\ @@ -178,7 +179,9 @@ ramips_setup_macs() local label_mac="" case $board in - asus,rt-ac1200|\ + asus,rt-ac1200) + wan_mac=$(mtd_get_mac_binary factory 0x22) + ;; elecom,wrc-1167fs) wan_mac=$(mtd_get_mac_binary factory 0x22) label_mac=$wan_mac |