openwrt-pf/target/linux
Dmitry Mostovoy eb6dd61a8d mediatek: add cudy wr3000h-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_wr3000h-v1-ubootmod-preloader.bin BL2
  mtd -e FIP write openwrt-mediatek-filogic-cudy_wr3000h-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_wr3000h-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 airoha: backport additional rework in preparation for multi-serdes support 2026-03-24 19:35:02 +01:00
apm821xx
armsr
at91
ath79 ath79: fix initramfs boot for Huawei AP5030DN and AP6010DN 2026-03-24 22:21:56 +01:00
bcm27xx kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
bcm47xx
bcm53xx
bcm4908
bmips
d1
econet kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
gemini
generic kernel: backport crypto selftests for some ciphersuites 2026-03-24 01:33:48 +01:00
imx
ipq40xx ipq40xx: fix art partition name WHW03 V1 2026-03-25 21:13:43 +01:00
ipq806x
ixp4xx
kirkwood kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
lantiq lantiq: xrx200: autoload lantiq_gswip and tag_gswip to fix failsafe mode 2026-03-22 22:35:37 +01:00
layerscape
loongarch64
malta
mediatek mediatek: add cudy wr3000h-v1 ubootmod 2026-03-27 11:27:39 +01:00
microchipsw microchipsw: add MTU change support 2026-03-24 18:42:52 +01:00
mpc85xx mpc85xx: remove swconfig package 2026-03-21 22:34:27 +01:00
mvebu mvebu: WT61P803: use flex array 2026-03-26 13:34:11 +01:00
mxs
octeon
omap
pistachio kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qoriq
qualcommax kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qualcommbe kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
ramips ramips-mt7621: fix xiaomi mi ac2100 mac address 2026-03-24 22:19:11 +01:00
realtek realtek: eth: convert probe/remove to new prefix 2026-03-26 15:26:26 +01:00
rockchip kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
sifiveu
siflower kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
starfive starfive: visionfive2: add CMA entry into board DTS 2026-03-22 12:42:33 +01:00
stm32
sunxi sunxi: add PineCube support 2026-03-21 16:43:47 +01:00
tegra
uml
x86
zynq
Makefile