openwrt/target/linux/ath79
Hauke Mehrtens 68a466b698 ath79: add env-size for Sitecom WLR-7100 / WLR-8100 u-boot-env
The Linux kernel assumes that the u-boot environment covers the full
partition, but it only covers 0x1000 bytes. Linux checks the CRC and
does this over the full partition. This fails like this:
```
u-boot-env-layout 1f000000.spi:flash@0:partitions:partition@30000:nvmem-layout: Invalid calculated CRC32: 0xfcac8c41 (expected: 0x14e6335a)
u-boot-env-layout 1f000000.spi:flash@0:partitions:partition@30000:nvmem-layout: probe with driver u-boot-env-layout failed with error -22
```

Define the u-boot environment with a length of 0x1000 bytes to calculate
the CRC only over this area.

When replicating the u-boot environment with these parameters it
generates the same CRC:
```
mkenvimage -p 0 -b -s 0x1000 -o output.bin input.txt
```

Fixes: https://github.com/openwrt/openwrt/issues/21696
Fixes: 5e3a602def ("ath79: sitecom,wlrx100: use nvmem")
Link: https://github.com/openwrt/openwrt/pull/22030
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-02-17 01:36:52 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: add env-size for Sitecom WLR-7100 / WLR-8100 u-boot-env 2026-02-17 01:36:52 +01:00
files treewide: remove of_platform.h include 2026-02-04 00:50:06 +01:00
generic ath79: Fix syntax error in 10_fix_wifi_mac 2025-12-26 13:37:02 +01:00
image ath79: add calibration variant for TP-Link TL-WA1201 v2 2026-01-28 12:05:55 +01:00
mikrotik ath79: fix platform check image mikrotik nor 2025-12-05 10:26:59 +01:00
nand ath79: refresh kernel symbol configs 2025-05-24 15:42:22 +02:00
patches-6.12 kernel: bump 6.12 to 6.12.70 2026-02-14 18:30:02 +01:00
tiny ath79: add support for NEC Aterm WF1200HP2 2025-12-01 00:17:48 +01:00
config-6.12 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
Makefile ath79: switch default kernel to 6.12 2025-08-20 23:30:49 +02:00
modules.mk