openwrt/package
Tianling Shen 95c9f6e326 mediatek: add ubootmod layout for cudy tr3000 v1
This allows us to use the full size of nand, which increases ubi size
from 64M to 122.25M.

If you are at factory firmware, please refer commit 63b8d98dd0 ("mediatek: add support for Cudy TR3000 v1")
to boot into OpenWrt initramfs (stock layout).

Flash instructions:
1. Login into the device and backup everything, especially 'Factory' part.
1. Unlock mtd partitions:
   opkg update && opkg install kmod-mtd-rw
   insmod mtd-rw i_want_a_brick=1
3. Write new BL2 and FIP
   mtd write openwrt-mediatek-filogic-cudy_tr3000-v1-ubootmod-preloader.bin BL2
   mtd write openwrt-mediatek-filogic-cudy_tr3000-v1-ubootmod-bl31-uboot.fip FIP
4. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
5. Serve OpenWrt initramfs image using TFTP server.
6. Cut off the power and re-engage, wait for TFTP recovery to complete.
7. After OpenWrt has booted, perform sysupgrade.

Tested-by: Yangyu Chen <cyy@cyyself.name>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 6f8c58bfd8)
[sync uboot defconfigs with 24.10 branch, change apk to opkg]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18945
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-06 17:17:39 +02:00
..
base-files OpenWrt v24.10.2: revert to branch defaults 2025-06-23 23:32:10 +02:00
boot mediatek: add ubootmod layout for cudy tr3000 v1 2025-07-06 17:17:39 +02:00
devel perf: disable slang support 2025-06-17 23:36:56 +02:00
firmware ipq-wifi: add missing dependency on TARGET_ath79 2025-06-13 14:48:53 +02:00
kernel mt76: fix system recovery routine for MT7915 2025-07-06 16:53:42 +02:00
libs libxml2: update to 2.13.6 2025-06-15 14:48:49 +02:00
network wifi-scripts: add missing mesh_nolearn 2025-06-20 23:51:20 +02:00
system ubus: update to Git HEAD (2025-05-16) 2025-06-12 14:33:54 +02:00
utils ucode: ubus: fix use-after-free on deferred request reply() method 2025-06-12 14:33:54 +02:00
Makefile package: rework contents of package index.json 2025-06-11 19:12:09 +02:00