Sergey Shlukov
b39d82195d
mediatek: add support for TP-Link Archer AX80v1(US/RU/CA)
This commit adds support for TP-Link Archer AX80v1(US/RU/CA).
Device specification
SoC Type: MediaTek MT7986AV, Cortex-A53, 64-bit
RAM: ESMT M15T4G16256 (512MB)
Flash: ESMT F50L1G41LB (128 MB)
Ethernet: MediaTek MT7531AE + 2.5GbE MaxLinear GPY211C0VC (SLNW8)
Ethernet: 1x2.5Gbe (WAN/LAN 2.5Gbps), 4xGbE (WAN/LAN 1Gbps, LAN1, LAN2, LAN3)
WLAN 2g: MediaTek MT7976GN
WLAN 5g: MediaTek MT7976AN
LEDs: 1 red,1 green,1 blue status LEDs,
Buttons: 4 (Reset,ledswitch,wps,wlan),
USB ports: 1 (USB 3.0)
Power: 12 VDC, 3,3 A
Connector: Barrel
Bootloader: Main U-Boot - U-Boot 2022.01-rc4. Additionally, both UBI
slots contain "seconduboot" (also U-Boot 2022.01-rc4)
Serial console (UART)
V
+-------+-------+-------+-------+
| +3.3V | GND | TX | RX |
+---+---+-------+-------+-------+
|
+--- Don't connect
Installation (UART)
Place OpenWrt initramfs image on tftp server with IP 192.168.1.2
Attach UART, switch on the router and interrupt the boot process by pressing 'Ctrl-C'
Load and run OpenWrt initramfs image:
tftpboot initramfs-kernel.bin
bootm
!!Attention!! is very important! After entering OpenWrt, please set / update the environment variables:
fw_setenv bootargs "ubi.mtd=ubi0 console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 init=/etc/preinit"
fw_setenv mtdids "spi-nand0=spi-nand0"
fw_setenv mtdparts "spi-nand0:2M(boot),1M(u-boot-env),50M(ubi0),50M(ubi1),8M(userconfig),4M(tp_data),8M(mali_data)"
fw_setenv tp_boot_idx 0
Run 'sysupgrade -n' with the sysupgrade OpenWrt image from console or Luci WebUI.
Recovery
Press Reset button and power on the router
Navigate to U-Boot recovery web server (192.168.1.1) and upload the OEM firmware
Stock layout
0x000000000000-0x000000200000 : "boot"
0x000000200000-0x000000300000 : "u-boot-env"
0x000000300000-0x000003500000 : "ubi0"
0x000003500000-0x000006700000 : "ubi1"
0x000006700000-0x000006f00000 : "userconfig"
0x000006f00000-0x000007300000 : "tp_data"
0x000007300000-0x000007B00000 : "mali_data"
ubi0/ubi1 format
U-Boot at boot checks that all volumes are in place:
+-------------------------------+
| Volume Name: uboot Vol ID: 0|
| Volume Name: kernel Vol ID: 1|
| Volume Name: rootfs Vol ID: 2|
+-------------------------------+
MAC addresses
+---------+-------------------+-----------+
| label | 00:eb:xx:xx:xx:be | label |
| LAN | 00:eb:xx:xx:xx:be | label |
| WAN | 00:eb:xx:xx:xx:bf | label+1 |
| WLAN 2g | 00:eb:xx:xx:xx:be | label |
| WLAN 5g | 00:eb:xx:xx:xx:bd | label-1 |
+---------+-------------------+-----------+
label MAC address was found in UBI partition "tp_data", file "default-mac".
OEM wireless eeprom is also there (file "MT7986_EEPROM.bin").
Signed-off-by: Sergey Shlukov <ichizakurain@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17753
(cherry picked from commit 8b24289a5267e486abd9ccbf4b4ad82f14d545ae)
Link: https://github.com/openwrt/openwrt/pull/19050
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-08 21:07:36 +02:00
..
2023-11-25 23:45:26 +01:00
2024-04-24 21:05:46 +01:00
2024-02-07 14:48:39 +01:00
2024-04-24 21:05:46 +01:00
2024-01-02 21:22:46 +01:00
2024-01-02 21:22:46 +01:00
2024-06-17 12:57:06 +02:00
2024-04-24 21:05:46 +01:00
2024-10-06 21:56:04 +02:00
2023-11-25 23:45:26 +01:00
2024-04-24 21:05:46 +01:00
2025-01-24 22:25:43 +01:00
2022-12-07 01:45:14 +00:00
2024-02-28 09:59:43 +01:00
2024-04-24 21:05:46 +01:00
2022-12-07 01:45:14 +00:00
2024-10-15 17:55:05 +01:00
2024-02-07 14:48:39 +01:00
2024-03-09 14:02:58 +00:00
2023-11-25 23:45:26 +01:00
2023-08-28 16:35:22 +01:00
2024-03-09 14:02:58 +00:00
2023-11-25 23:45:26 +01:00
2023-08-28 16:35:22 +01:00
2024-03-09 14:02:58 +00:00
2023-11-25 23:45:26 +01:00
2023-08-28 16:35:22 +01:00
2023-08-28 16:35:22 +01:00
2024-04-24 21:05:46 +01:00
2022-01-31 00:10:38 +00:00
2024-03-09 14:02:58 +00:00
2025-03-17 16:21:23 +01:00
2024-04-24 21:05:46 +01:00
2024-08-15 00:13:20 +02:00
2024-02-07 14:48:39 +01:00
2024-02-07 14:48:39 +01:00
2024-02-07 14:48:39 +01:00
2024-08-10 18:00:14 +02:00
2024-08-01 17:31:23 +02:00
2024-03-13 20:47:23 +00:00
2024-03-13 20:47:23 +00:00
2023-11-25 23:45:26 +01:00
2024-07-21 16:13:06 +02:00
2025-05-04 16:36:49 +02:00
2024-02-07 14:48:39 +01:00
2025-03-15 11:48:57 +01:00
2025-03-15 11:48:57 +01:00
2025-03-15 11:48:57 +01:00
2024-07-18 13:20:58 +01:00
2024-07-18 13:20:58 +01:00
2024-07-18 13:20:58 +01:00
2024-02-07 14:48:39 +01:00
2025-01-24 22:42:39 +01:00
2025-01-24 22:43:13 +01:00
2025-01-24 22:43:13 +01:00
2024-02-29 21:16:27 +01:00
2025-01-24 22:43:13 +01:00
2024-12-10 01:06:10 +01:00
2025-01-24 22:43:13 +01:00
2024-03-31 19:01:20 +02:00
2024-11-28 18:47:13 +00:00
2024-08-01 17:31:23 +02:00
2024-06-17 12:57:06 +02:00
2024-08-28 15:11:51 +01:00
2025-04-10 20:29:37 +02:00
2024-08-28 15:11:51 +01:00
2025-02-26 23:32:40 +01:00
2025-02-26 23:32:40 +01:00
2025-05-07 20:58:33 +02:00
2025-04-10 20:18:23 +02:00
2024-06-07 14:19:39 +02:00
2024-12-26 14:13:35 +01:00
2024-11-05 13:30:21 +01:00
2024-08-28 15:11:51 +01:00
2024-11-28 18:49:33 +00:00
2024-11-28 18:49:33 +00:00
2025-05-08 20:35:36 +02:00
2024-11-28 18:49:33 +00:00
2024-08-01 17:31:23 +02:00
2024-03-25 18:14:19 +00:00
2024-03-25 18:14:19 +00:00
2025-05-07 21:03:31 +02:00
2024-06-09 14:58:25 +02:00
2024-08-28 15:11:51 +01:00
2025-02-09 23:19:11 +01:00
2024-01-06 17:51:11 +01:00
2025-03-17 16:14:27 +01:00
2023-07-27 13:46:16 +02:00
2024-08-28 15:11:51 +01:00
2024-01-06 17:51:11 +01:00
2024-11-04 10:36:11 +01:00
2024-04-24 21:05:46 +01:00
2023-12-26 00:02:19 +01:00
2024-08-25 15:08:25 +02:00
2023-12-05 09:06:47 +01:00
2024-11-28 18:49:11 +00:00
2024-11-28 18:49:13 +00:00
2024-11-28 18:49:13 +00:00
2024-11-28 18:49:11 +00:00
2025-02-16 20:43:53 +00:00
2025-02-16 20:43:53 +00:00
2025-02-16 20:43:53 +00:00
2024-02-16 13:56:01 +00:00
2025-01-01 22:43:26 +01:00
2024-08-01 17:31:23 +02:00
2024-08-08 20:00:12 +02:00
2024-08-28 15:11:51 +01:00
2024-06-05 17:44:11 +01:00
2024-10-15 17:56:06 +01:00
2023-12-10 06:22:51 +00:00
2023-12-10 06:22:51 +00:00
2023-12-10 06:22:51 +00:00
2023-12-10 06:22:51 +00:00
2025-06-08 21:07:36 +02:00
2023-06-05 11:36:32 +01:00
2023-06-05 11:36:32 +01:00
2023-06-05 11:36:32 +01:00
2024-04-09 15:07:41 +01:00
2024-07-25 22:54:16 +02:00
2022-12-29 03:00:31 +00:00
2024-03-09 14:02:58 +00:00
2024-03-08 16:51:35 +08:00
2024-02-07 14:48:39 +01:00
2025-02-13 00:32:30 +01:00
2024-08-28 15:11:51 +01:00
2024-09-06 22:17:45 +02:00
2024-12-10 01:08:03 +01:00
2024-12-10 01:08:03 +01:00
2024-12-10 01:08:03 +01:00
2025-01-20 22:00:24 +01:00
2024-07-04 22:14:32 +02:00
2024-11-05 13:30:21 +01:00
2024-10-15 17:56:06 +01:00
2024-05-24 18:34:13 +01:00
2024-05-24 18:34:13 +01:00
2024-10-15 17:56:06 +01:00