From a27a3fea752e12b68253baafb93864b29fa46896 Mon Sep 17 00:00:00 2001 From: Myeongjae SONG Date: Wed, 5 Aug 2026 01:35:08 +0900 Subject: [PATCH] ramips: iptime,t5004: fix U-Boot environment size The U-Boot environment data on the ipTIME T5004 occupies one 128 KiB NAND erase block. The nvmem layout specified an environment size of 0x1000. This caused CRC32 validation to fail and prevented the MAC address cells from being created. Set env-size to 0x20000 to match the U-Boot environment data size used for CRC validation. Fixes: 8dd95cc6b532 ("ramips: iptime,t5004: use nvmem for ubootenv") Signed-off-by: Myeongjae SONG Link: https://github.com/openwrt/openwrt/pull/24530 Signed-off-by: Jonas Jelonek --- target/linux/ramips/dts/mt7621_iptime_t5004.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7621_iptime_t5004.dts b/target/linux/ramips/dts/mt7621_iptime_t5004.dts index f5b7967ac68..3a9112f2966 100644 --- a/target/linux/ramips/dts/mt7621_iptime_t5004.dts +++ b/target/linux/ramips/dts/mt7621_iptime_t5004.dts @@ -58,7 +58,7 @@ nvmem-layout { compatible = "u-boot,env"; - env-size = <0x1000>; + env-size = <0x20000>; macaddr_uboot_ethaddr: ethaddr { #nvmem-cell-cells = <1>; -- 2.47.3