openwrt/target/linux/lantiq
Burak Aydos ba7cb3771b lantiq: xrx200: add env-size for P-2812HNU-F1 u-boot-env
The u-boot-env partition on the Zyxel P-2812HNU-F1 is 128 KiB but
the actual environment data is only 8 KiB (0x2000 bytes). Without
the env-size property, the u-boot,env nvmem layout driver assumes
env-size equals the full partition size and computes an incorrect
CRC32 over the entire 128 KiB, causing all nvmem cell reads to fail
silently.

Add env-size = <0x2000> so the CRC32 is computed over the correct
8 KiB region, allowing nvmem-cells (such as ethaddr) to be read
properly by the kernel.

Signed-off-by: Burak Aydos <byhexadecimal@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21780
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 6952844436)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-02-01 20:41:52 +01:00
..
ase lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
base-files lantiq: xrx200: switch the subtarget to the mainline DSA driver 2021-06-26 16:05:36 +02:00
falcon lantiq: remove 6.6 support 2025-08-05 23:25:26 +02:00
files/arch/mips/boot/dts/lantiq lantiq: xrx200: add env-size for P-2812HNU-F1 u-boot-env 2026-02-01 20:41:52 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
patches-6.12 treewide: use of_property_present 2025-11-30 19:18:06 +01:00
xrx200 lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
xrx200_legacy lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
xway lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
xway_legacy lantiq: remove 6.6 support 2025-08-05 23:25:26 +02:00
config-6.12 lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
Makefile lantiq: switch to kernel 6.12 2025-08-05 23:25:26 +02:00
modules.mk lantiq: xrx200: convert switch driver to package 2025-03-15 13:52:40 +01:00