1
1
openwrt/target/linux/mediatek
Fil Dunsky d2fabb974c mediatek: add support for Wavlink WL-WNT100X3 ubootmod
This allows us to use the full size of nand, which increases ubi size
from 90M to 122.25M.

Flashing instructions:
1. Login into the device and backup all your partitions,
especially `Factory` and 'HW' to be able to come back to stock and use all
Wavlink services.

2. Unlock mtd partitions:
```
apk update && apk add kmod-mtd-rw
insmod mtd-rw i_want_a_brick=1
```
3. Upload new `bl2` and `fip` to the router /tmp and write them:
```
mtd write /tmp/openwrt-mediatek-filogic-wavlink_wl-wnt100x3-ubootmod-preloader.bin bl2
mtd write /tmp/openwrt-mediatek-filogic-wavlink_wl-wnt100x3-ubootmod-bl31-uboot.fip fip
mtd erase ubi
```
4. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
5. Serve OpenWrt initramfs image using TFTP server.
6. Cut off the power and re-engage, wait for TFTP recovery to complete.
7. After OpenWrt initramfs has booted, prepare ubi and envs:
```
ubidetach -p /dev/mtd4 && ubiformat /dev/mtd4 -y && ubiattach -p /dev/mtd4 && ubimkvol /dev/ubi0 -n 0 -N ubootenv -s 128KiB && ubimkvol /dev/ubi0 -n 1 -N ubootenv2 -s 128KiB
```
8. Perform sysupgrade.

Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22753
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-20 01:59:58 +02:00
..
base-files mediatek: filogic: add support for Cudy M3000 w/ YT8821 PHY 2026-03-14 01:40:32 +01:00
dts mediatek: add support for Wavlink WL-WNT100X3 ubootmod 2026-05-20 01:59:58 +02:00
files/drivers treewide: use _scoped for loop 2026-04-16 21:17:43 +02:00
files-6.18 mediatek: fix Arioha AN8855 DSA driver for Linux 6.18 2026-04-17 14:37:52 +01:00
filogic mediatek: add support for Wavlink WL-WNT100X3 ubootmod 2026-05-20 01:59:58 +02:00
image mediatek: add support for Wavlink WL-WNT100X3 ubootmod 2026-05-20 01:59:58 +02:00
mt7622 kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
mt7623 mediatek: drop v6.12 and default to v6.18 2026-04-24 15:52:51 +01:00
mt7629 mediatek: drop v6.12 and default to v6.18 2026-04-24 15:52:51 +01:00
patches-6.18 generic: update pending PCS patch with .fill_available_pcs OP 2026-05-18 23:32:34 +02:00
Makefile mediatek: drop v6.12 and default to v6.18 2026-04-24 15:52:51 +01:00
modules.mk mediatek: 6.18: add missing module dependency 2026-04-20 01:10:32 +01:00