openwrt/target/linux/mediatek
Zhenfu Shi 41106141b8 mediatek: filogic: support WAVLINK WL-WN586X3 Rev B
This commit adds support for the WAVLINK WL-WN586X3 Rev B, which swaps
the 16MB NOR flash for an 128MB NAND flash chip, and uses UBI for
data partition. This commit utilizes the previous submitted dtsi that
includes common hardware for a few Wavlink routers.

Hardware
--------
- SOC: MediaTek MT7981B
- RAM: 256MB DDR3
- Flash: 128MB SPI-NAND (ESMT F50L1G41LB)
- Ethernet: 2x1Gb Lan 1x1Gb Wan
- WiFi: MediaTek MT7981B 2x2 DBDC 802.11ax 2T2R (2.4/5) with 4 external and 1 internal antennae
- LEDs: 2xLan 1x Wan 1x WIFI 1xSTATUS

Installation
------------
Flashing over the vendor WebUI has been tested and unsuccessful (YMMV).
The image need to be flashed via TFTP which can be activated over the onboard UART serial console:
1. Connect UART:  TX->board RX, RX->board TX, GND->board GND.
2. Connect PC to router lan port.
3. Setup the tftp server on PC, set IP to 192.168.10.100.
4. Power on the device. Interrupt boot countdown at uboot boot menu and select 2. Upgrade firmware option.
5. Input the image name and start flashing.

Sample uboot menu:
```
  *** U-Boot Boot Menu ***

      1. Startup system (Default)
      2. Upgrade firmware
      3. Upgrade ATF BL2
      4. Upgrade ATF FIP
      5. Upgrade single image
      6. Load image
      0. U-Boot console
```

NOTE: Do not use the intermediate image here which is for Rev A only:
https://github.com/themaverickdm/firmware-misc/tree/main/wavlink/wl-wn586x3

MAC Addresses
-------------
LAN: 80:3F:5D:xx:xx:x1 (hw, 0x44e, ASCII encoded)
WAN: 80:3F:5D:xx:xx:x2 (hw, 0x460, ASCII encoded)
 2G: 80:3F:5D:xx:xx:x3 (factory, 0x4, raw binary, also on label)
 5G: 80:3F:5D:xx:xx:x3 (Same as 2G)

Signed-off-by: Zhenfu Shi <i0ntempest@i0ntempest.com>
Link: https://github.com/openwrt/openwrt/pull/19785
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-24 15:50:46 +02:00
..
base-files mediatek: add support for Cudy TR3000 256MB v1 flash version 2025-06-22 19:17:25 +02:00
dts mediatek: filogic: support WAVLINK WL-WN586X3 Rev B 2025-08-24 15:50:46 +02:00
files/drivers mediatek: Remove modules.builtin file 2025-07-22 00:01:38 +02:00
files-6.12 mediatek: dts: use dt-bindings enumerated drive strength values 2025-08-24 13:22:09 +02:00
filogic mediatek: filogic: support WAVLINK WL-WN586X3 Rev B 2025-08-24 15:50:46 +02:00
image mediatek: filogic: support WAVLINK WL-WN586X3 Rev B 2025-08-24 15:50:46 +02:00
mt7622 mediatek: disable MediaTek SoC Information (mtk-socinfo) driver 2025-07-21 14:27:11 +01:00
mt7623 mediatek: disable MediaTek SoC Information (mtk-socinfo) driver 2025-07-21 14:27:11 +01:00
mt7629 mediatek: remove files, patches and config for Linux 6.6 2025-07-18 12:27:29 +01:00
patches-6.12 mediatek: dts: increase mt7986 ATF reserved memory to 256 kiB 2025-08-24 13:22:09 +02:00
Makefile mediatek: switch to Linux 6.12 by default 2025-07-18 12:26:40 +01:00
modules.mk kernel: kmod-btmtk: Extract btmtk.ko into own package 2025-02-26 23:31:36 +01:00