1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/generic/files/drivers/mtd
Daniel Golle a3b2a2e15d generic: mtdsplit: fit: improve detecting external-data FIT
Currently the detection of external-data FIT images works by checking
if the FIT structure is more than 4 kiB. However, for boards with lots
of different DT-overlays and configurations the FIT structure can
exceed 4 kiB which results in the FIT splitter to fail detecting the
rootfs.
Increase the threshold for external-data FIT to 512 kiB as there aren't
any kernel images smaller than that, and FIT structure less than 512 kiB
will always be an external-data FIT.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-11-05 14:19:39 +00:00
..
mtdsplit generic: mtdsplit: fit: improve detecting external-data FIT 2025-11-05 14:19:39 +00:00
nand kernel: mtk_bmt: counteracting calloc-transposed-args compiler warning 2025-05-13 22:07:11 +02:00
parsers generic: routerbootpart: fix compilation on 64-bit 2024-06-06 11:45:03 +02:00