1
1
openwrt/package
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
..
base-files OpenWrt v25.12.3: revert to branch defaults 2026-05-05 00:48:59 +02:00
boot mediatek: add cudy wr3000e-v1 ubootmod 2026-05-08 10:20:54 +02:00
devel gdb: add CPPFLAGS 2026-02-17 22:30:19 +01:00
firmware intel-microcode: fix dirty build 2026-05-07 21:15:50 +02:00
kernel kernel: add kmods for vsockets over virtio 2026-03-29 17:29:13 +02:00
libs mbedtls: backport upstream patches to fix TLS 1.2 client issues 2026-05-05 00:30:45 +02:00
network wifi-scripts: fix basic_rate mapping in supplicant ucode 2026-05-07 21:15:44 +02:00
system ca-certificates: update to 20260223 2026-05-03 00:14:43 +02:00
utils jsonfilter: update to Git HEAD (2026-03-16) 2026-03-16 00:52:52 +01:00
Makefile build: use STAGING_DIR for special APK package versions 2026-03-07 10:12:44 +01:00