openwrt/package/boot/uboot-tools/uboot-envtools/files
Dmitry Mostovoy 6b3b7c7dc1 mediatek: add cudy wr3000p-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_wr3000p-v1-ubootmod-preloader.bin BL2
  mtd -e FIP write openwrt-mediatek-filogic-cudy_wr3000p-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_wr3000p-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
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-27 11:27:39 +01:00
..
airoha_an7581 airoha: add support for Gemtek W1700K 2026-03-11 00:42:34 +01:00
apm821xx uboot-envtools: fix meraki mr24 definition 2026-02-08 18:37:43 +01:00
ath79 ath79: add support for Dell SonicPoint ACi APL27-0B1 2025-07-13 01:03:36 +02:00
fw_defaults
fw_loadenv
fw_printsys
fw_setsys
imx_cortexa7
imx_cortexa9
imx_cortexa53 uboot-envtools: add support for Gateworks venice 2025-07-12 20:24:28 +02:00
ipq40xx uboot-envtools: ipq40xx: remove unused function ubootenv_mtdinfo() 2025-12-09 00:34:22 +01:00
ipq806x uboot-tools: envtools: ipq806x: add env for IgniteNet SS-W2-AC2600 2025-06-25 02:06:57 +01:00
kirkwood kirkwood: add support for D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
layerscape
mediatek_filogic mediatek: add cudy wr3000p-v1 ubootmod 2026-03-27 11:27:39 +01:00
mediatek_mt7622 uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
mediatek_mt7623
mediatek_mt7629
mpc85xx mpc85xx: p2020: add support for WatchGuard XTM330 (NC5AE7) 2026-01-10 21:30:58 +01:00
mvebu uboot-tools: use ubootenv_add_* functions 2025-06-26 23:12:20 +02:00
mxs
octeon
oxnas
pistachio
qoriq package: u-boot: initial support for qoriq arch 2026-01-09 18:45:02 +02:00
qualcommax_ipq50xx qualcommax: ipq50xx: add support for CMCC MR3000D-CI 2026-02-17 20:45:18 +01:00
qualcommax_ipq60xx uboot-envtools: ipq60xx: add support for JDCloud devices 2026-03-21 22:22:39 +01:00
qualcommax_ipq807x qualcommax: ipq807x: add Zyxel NWA110AX support 2026-02-13 21:35:49 +01:00
qualcommbe_ipq95xx uboot-tools: envtools: ipq95xx: use common function 2025-07-13 16:43:34 +02:00
ramips uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
realtek uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
rockchip_armv8
starfive starfive: add ubootenv support 2026-03-22 12:41:54 +01:00
uboot-envtools.sh uboot-tools: move ubootenv_add_ubi_default to common functions 2025-06-26 23:12:20 +02:00