]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: iptime,t5004: fix U-Boot environment size 24530/head
authorMyeongjae SONG <devparlair@outlook.com>
Tue, 4 Aug 2026 16:35:08 +0000 (01:35 +0900)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 12 Aug 2026 07:48:13 +0000 (09:48 +0200)
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 <devparlair@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24530
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/ramips/dts/mt7621_iptime_t5004.dts

index f5b7967ac683cb4f827379f12275dbbc55c24766..3a9112f296633c51f8ee9e0bed72e2f6ede1b28b 100644 (file)
@@ -58,7 +58,7 @@
 
                        nvmem-layout {
                                compatible = "u-boot,env";
-                               env-size = <0x1000>;
+                               env-size = <0x20000>;
 
                                macaddr_uboot_ethaddr: ethaddr {
                                        #nvmem-cell-cells = <1>;