diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2023-07-28 11:41:14 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2023-09-11 13:49:07 +0200 |
commit | 3cc223243b848b87a4c82b219f24cdb17ee9a771 (patch) | |
tree | 1f78ec51b781427c1822bd33f1500bb601b70d17 /target/linux/ramips/mt7621/base-files/etc/board.d/02_network | |
parent | a7449e5e9532d4ba3022ae88a05bfd44021e2543 (diff) | |
download | upstream-3cc223243b848b87a4c82b219f24cdb17ee9a771.tar.gz upstream-3cc223243b848b87a4c82b219f24cdb17ee9a771.tar.bz2 upstream-3cc223243b848b87a4c82b219f24cdb17ee9a771.zip |
ramips: add support for ALFA Network AX1800RM
ALFA Network AX1800RM (FCC ID: 2AB877621) is a dual-band Wi-Fi 6
(AX1800) router, based on MediaTek MT7621A + MT79x5D platform.
Specifications:
- SOC: MT7621A (880 MHz)
- DRAM: DDR3 256 MiB (Nanya NT5CC128M16JR-EK)
- Flash: 16 MiB SPI NOR (EN25QH128A-104HIP)
- Ethernet: 4x 10/100/1000 Mbps (SOC's built-in switch)
- Wi-Fi: 2x2:2 2.4/5 GHz (MT7905DAN + MT7975DN)
(MT7905DAN doesn't support background DFS scan/BT)
- LED: 6x green, 1x green/red
- Buttons: 2x (reset, WPS)
- Antenna: 4x external, non-detachable omnidirectional
- UART: 1x 4-pin (2.54 mm pitch, J4, not populated)
- Power: 12 V DC/1 A (DC jack)
MAC addresses:
LAN: 00:c0:ca:xx:xx:4e (factory 0x4, +2)
WAN: 00:c0:ca:xx:xx:4f (factory 0x4, +3)
2.4 GHz: 00:c0:ca:xx:xx:4c (factory 0x4, device's label)
5 GHz: 00:c0:ca:xx:xx:4c (factory 0xa)
Flash instructions for web-based U-Boot recovery:
1. Power the device with WPS button pressed and wait around 10 seconds.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'recovery' image.
The device runs LEDE 17.01 (kernel 4.4.x) based firmware with 'failsafe'
mode available which allows alternative upgrade method:
1. Run device in 'failsafe' mode and change password for default user.
2. SSH to the device, transfer 'sysupgrade' image and perform upgrade
in forced mode, without preserving settings: 'sysupgrade -n -F ...'.
Other notes:
If you own early version of this device, the vendor firmware might
refuse OpenWrt image because of missing custom header. In that case,
ask vendor's customer support for stock firmware without custom header
support/requirement.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
(backported from commit f1aaa267f0ea18ffe5840f3ce46a48be123d2f62)
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 6057c17192..11a7c9465a 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -8,6 +8,26 @@ ramips_setup_interfaces() local board="$1" case $board in + alfa-network,ax1800rm|\ + ampedwireless,ally-r1900k|\ + asus,rt-ax53u|\ + gehua,ghl-r-001|\ + h3c,tx1800-plus|\ + h3c,tx1801-plus|\ + h3c,tx1806|\ + haier,har-20s2u1|\ + hiwifi,hc5962|\ + netgear,wax202|\ + sim,simax1800t|\ + xiaomi,mi-router-3-pro|\ + xiaomi,mi-router-ac2100|\ + xiaomi,mi-router-cr6606|\ + xiaomi,mi-router-cr6608|\ + xiaomi,mi-router-cr6609|\ + xiaomi,redmi-router-ac2100|\ + zyxel,wsm20) + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan" + ;; arcadyan,we420223-99) ucidef_set_interface_lan "swp0 swp1" ;; @@ -37,25 +57,6 @@ ramips_setup_interfaces() zyxel,nwa55axe) ucidef_set_interface_lan "lan" ;; - ampedwireless,ally-r1900k|\ - asus,rt-ax53u|\ - gehua,ghl-r-001|\ - h3c,tx1800-plus|\ - h3c,tx1801-plus|\ - h3c,tx1806|\ - haier,har-20s2u1|\ - hiwifi,hc5962|\ - netgear,wax202|\ - sim,simax1800t|\ - xiaomi,mi-router-3-pro|\ - xiaomi,mi-router-ac2100|\ - xiaomi,mi-router-cr6606|\ - xiaomi,mi-router-cr6608|\ - xiaomi,mi-router-cr6609|\ - xiaomi,redmi-router-ac2100|\ - zyxel,wsm20) - ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan" - ;; asiarf,ap7621-001|\ humax,e10|\ wavlink,ws-wn572hp3-4g|\ @@ -157,6 +158,16 @@ ramips_setup_macs() local label_mac="" case $board in + alfa-network,ax1800rm|\ + jcg,y2|\ + wavlink,wl-wn531a6|\ + wavlink,wl-wn533a8|\ + winstars,ws-wn583a6|\ + zbtlink,zbt-we1326|\ + zbtlink,zbt-wg3526-16m|\ + zbtlink,zbt-wg3526-32m) + label_mac=$(mtd_get_mac_binary factory 0x4) + ;; ampedwireless,ally-00x19k) lan_mac=$(mtd_get_mac_ascii hwconfig HW.LAN.MAC.Address) label_mac=$lan_mac @@ -222,15 +233,6 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_ascii config ethaddr) wan_mac=$(macaddr_add "$lan_mac" 1) ;; - jcg,y2|\ - wavlink,wl-wn531a6|\ - wavlink,wl-wn533a8|\ - winstars,ws-wn583a6|\ - zbtlink,zbt-we1326|\ - zbtlink,zbt-wg3526-16m|\ - zbtlink,zbt-wg3526-32m) - label_mac=$(mtd_get_mac_binary factory 0x4) - ;; linksys,e5600|\ linksys,ea6350-v4|\ linksys,ea7300-v1|\ |