From: Myeongjae SONG Date: Tue, 4 Aug 2026 16:35:08 +0000 (+0900) Subject: ramips: iptime,t5004: fix U-Boot environment size X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24530%2Fhead;p=thirdparty%2Fopenwrt.git 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 --- 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>;