openwrt/target/linux
Dmitry Mostovoy 194bd76e57 mediatek: add cudy wr3000e-v1 ubootmod
This allows us to use the full size of nand,
which extends ubi size from 64Mb to 122.25Mb.

1. Log in to the device and backup all the partitions,
especially unique "Factory" and "bdata" partitions
from System -> Backup / Flash Firmware -> Save mtdblock contents.
2. Install kmod-mtd-rw to unlock mtd partitions for writing
  apk update && apk add kmod-mtd-rw && insmod mtd-rw i_want_a_brick=1

3. Write new OpenWrt (U-Boot Layout) "BL2" and "FIP":
  mtd -e BL2 write openwrt-mediatek-filogic-cudy_wr3000e-v1-ubootmod-preloader.bin BL2
  mtd -e FIP write openwrt-mediatek-filogic-cudy_wr3000e-v1-ubootmod-bl31-uboot.fip FIP
4. Set static IP on your PC: "192.168.1.254", gateway "192.168.1.1"
5. Serve openwrt-mediatek-filogic-cudy_wr3000e-v1-ubootmod-initramfs-recovery.itb
using TFTP server.
6. Connect Router LAN with PC LAN.
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
8. After OpenWrt initramfs recovery has booted,
clean "/dev/mtd5" ubi partition to utilize maximum of free space:
  ubidetach -p /dev/mtd5; ubiformat /dev/mtd5 -y; ubiattach -p /dev/mtd5
  ubimkvol /dev/ubi0 -n 0 -N ubootenv -s 128KiB
  ubimkvol /dev/ubi0 -n 1 -N ubootenv2 -s 128KiB
9. Perform sysupgrade.

Signed-off-by: Dmitry Mostovoy <stavultras@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21943
(cherry picked from commit cfc17e81e1)
Link: https://github.com/openwrt/openwrt/pull/22625
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-08 10:20:54 +02:00
..
airoha kernel: bump 6.12 to 6.12.81 2026-04-30 21:18:02 +02:00
apm821xx apm821xx: mx60: increment compat_version 2026-03-19 10:40:13 +01:00
armsr kernel: drop CONFIG_ARM64_CONTPTE from target configs 2025-11-26 21:08:34 +02:00
at91 treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
ath79 ath79: add support for MikroTik RouterBOARD 960PGS 2026-05-07 23:23:19 +01:00
bcm27xx kernel: bump 6.12 to 6.12.83 2026-04-30 21:18:02 +02:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
bcm53xx bcm53xx: fix switch standalone ports (like "wan") 2026-03-01 01:54:19 +01:00
bcm4908 kernel: bump 6.12 to 6.12.78 2026-04-02 23:23:41 +02:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-21 14:02:55 +01:00
d1 d1: refresh kernel config 2026-01-27 16:30:05 +01:00
econet kernel: bump 6.12 to 6.12.75 2026-04-02 23:23:40 +02:00
gemini gemini: select the right GPIO input package 2026-02-11 08:47:45 +01:00
generic kernel: bump 6.12 to 6.12.85 2026-05-02 20:42:22 +02:00
imx Revert "imx: cortexa53: remove KSZ9477 static driver" 2026-03-02 18:06:48 +01:00
ipq40xx kernel: bump 6.12 to 6.12.82 2026-04-30 21:18:02 +02:00
ipq806x chromium: Add #{address,size}-cells to /firmware 2026-04-16 21:17:00 +02:00
ixp4xx ixp4xx: fix bug in Actiontec DTS file 2026-01-04 18:20:34 +01:00
kirkwood kernel: bump 6.12 to 6.12.75 2026-04-02 23:23:40 +02:00
lantiq kernel: bump 6.12 to 6.12.75 2026-04-02 23:23:40 +02:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-15 02:07:04 +01:00
loongarch64 kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: add cudy wr3000e-v1 ubootmod 2026-05-08 10:20:54 +02:00
microchipsw microchipsw: lan969x: tactical-1000: fix SFP I2C buses 2026-03-12 13:26:22 +01:00
mpc85xx kernel: move patch from mpc85xx to pending 2026-02-14 01:15:12 +01:00
mvebu mvebu: fix kmod for switch on clearfog base/pro 2026-04-14 10:32:56 +02:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: drop support for kernel 6.6 2025-11-22 10:16:35 +01:00
pistachio kernel: bump 6.12 to 6.12.75 2026-04-02 23:23:40 +02:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-02-14 01:15:12 +01:00
qualcommax ipq50xx: add label-mac-device to Linksys MX5500 2026-04-30 01:48:36 +02:00
qualcommbe kernel: bump 6.12 to 6.12.75 2026-04-02 23:23:40 +02:00
ramips ramips: wn575a3: fix eeprom size for 5ghz wifi 2026-05-04 23:40:40 +02:00
realtek kernel: bump 6.12 to 6.12.83 2026-04-30 21:18:02 +02:00
rockchip kernel: bump 6.12 to 6.12.78 2026-04-02 23:23:41 +02:00
sifiveu kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
siflower kernel: bump 6.12 to 6.12.75 2026-04-02 23:23:40 +02:00
starfive kernel: bump 6.12 to 6.12.78 2026-04-02 23:23:41 +02:00
stm32 base-files: MAJOR/MINOR not sequential, use DISKSEQ instead 2026-04-03 20:49:12 +02:00
sunxi kernel: reorder configuration options 2026-01-26 23:59:37 +01:00
tegra tegra: promote kernel 6.12 as default 2025-11-11 21:23:14 +01:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 x86: add support for DFI ASL553 2026-04-20 16:43:22 +02:00
zynq zynq: drop support for kernel 6.6 2025-11-25 17:27:24 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00