openwrt-pf/package/boot/uboot-tools/uboot-envtools/files
Dmitry Mostovoy 395252be08
mediatek: add cudy m3000-v2-yt8821 ubootmod
RAM: ESMT M15T2G16128A-DEB DDR3 1866 MT/s

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 "bdinfo" 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_m3000-v2-yt8821-ubootmod-preloader.bin BL2
  mtd -e FIP write openwrt-mediatek-filogic-cudy_m3000-v2-yt8821-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_m3000-v2-yt8821-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/23274
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-01 09:32:36 +02:00
..
airoha_an7581 airoha: add support for Nokia XG-040G-MD 2026-06-29 02:01:29 +02:00
apm821xx uboot-envtools: fix meraki mr24 definition 2026-02-08 18:37:43 +01:00
ath79 uboot-envtools: add extreme-networks,ws-ap3805i 2026-04-16 21:20:01 +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 ipq40xx: add support for Linksys MR9000 2026-06-04 22:49:38 +02:00
ipq806x ipq806x: add support for Aruba AP-32x 2026-06-16 16:08:08 +02: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 m3000-v2-yt8821 ubootmod 2026-07-01 09:32:36 +02:00
mediatek_mt7622 mediatek: add support for Buffalo WSR-2533DHP3 2026-05-25 23:08:06 +02:00
mediatek_mt7623
mediatek_mt7629
mpc85xx mpc85xx: ws-ap3715i: enable access to u-boot env 2026-05-05 14:09:38 +02:00
mvebu mvebu: add support for Zyxel NAS326 2026-06-24 13:28:59 +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 ELECOM WRC-X3000GST2 2026-05-26 18:56:17 +02: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 ramips: enable fw_printenv for D-Link COVR-X1860 A1 2026-06-07 11:29:12 +02:00
realtek realtek: add support for V3 variant of SG2008P 2026-06-16 09:42:19 +02: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