[PATCH 0/2] filogic: add Tenbay WR3000K (OpenWrt U-Boot layout) variant

sinigal1099 at gmail.com sinigal1099 at gmail.com
Fri Oct 9 05:15:41 PDT 2026


From: Павел Буев <sinigal1099 at gmail.com>

This series adds an "OpenWrt U-Boot layout" (ubootmod) variant of the
Tenbay WR3000K, alongside the existing stock-layout device, following
the same pattern as the Xiaomi Mi Router AX3000T.

Patch 1 adds a U-Boot 2025.10 build for the board (MT7981, SPI-NAND,
DDR3). The environment and the boot menu are kept in redundant
ubootenv/ubootenv2 UBI volumes; the preloader is the shared
trusted-firmware-a-mt7981-spim-nand-ddr3.

Patch 2 splits the existing board DTS into a shared dtsi and adds the
ubootmod variant: BL2, u-boot-env, Factory (Wi-Fi caldata + MAC) and
FIP keep the stock offsets, while everything from 0x580000 up to the
end of the flash becomes a single 0x7a80000 ubi partition holding the
fit, recovery, rootfs_data and environment volumes. NMBM is dropped,
as on the other ubootmod devices, and the board is hooked into
platform.sh (fit_do_upgrade/fit_check_image) and 02_network.

Hardware: MediaTek MT7981B, 256 MB DDR3, 128 MiB SPI-NAND, MT7531
switch, dual-band Wi-Fi 6 with caldata in the Factory partition.

Installation from a running stock-layout OpenWrt: write the preloader
and FIP artifacts to the BL2/FIP partitions (these are read-only in
DTS, so kmod-mtd-rw is needed, same as on the AX3000T), then let the
new U-Boot fetch the initramfs-recovery image over TFTP and sysupgrade
to the regular image.

Tested on hardware: full install from the stock layout, sysupgrade,
both radios with Factory caldata, TFTP recovery boot. A full UART boot
log is available on request.

Павел Буев (2):
  uboot-mediatek: add support for Tenbay WR3000K
  mediatek: filogic: add Tenbay WR3000K (OpenWrt U-Boot layout) support

 package/boot/uboot-mediatek/Makefile          |  13 +
 .../patches/505-add-tenbay_wr3000k.patch      | 343 ++++++++++++++++++
 .../dts/mt7981b-tenbay-wr3000k-ubootmod.dts   |  42 +++
 .../mediatek/dts/mt7981b-tenbay-wr3000k.dts   | 247 +------------
 .../mediatek/dts/mt7981b-tenbay-wr3000k.dtsi  | 220 +++++++++++
 .../filogic/base-files/etc/board.d/02_network |   1 +
 .../base-files/lib/upgrade/platform.sh        |   2 +
 target/linux/mediatek/image/filogic.mk        |  30 ++
 8 files changed, 670 insertions(+), 228 deletions(-)
 create mode 100644 package/boot/uboot-mediatek/patches/505-add-tenbay_wr3000k.patch
 create mode 100644 target/linux/mediatek/dts/mt7981b-tenbay-wr3000k-ubootmod.dts
 create mode 100644 target/linux/mediatek/dts/mt7981b-tenbay-wr3000k.dtsi

-- 
2.56.0




More information about the openwrt-devel mailing list