0f54489f75
Reading MTD data with (p)read doesn't return any error when accessing bad block. As the result, with current code, CRC32 covers "data" stored in bad blocks. That behavior doesn't match CFE's one (bootloader simply skips bad blocks) and may result in: 1) Invalid CRC32 2) CFE refusing to boot firmware with a following error: Boot program checksum is invalid Fix that problem by checking every block before reading its content. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |
||
---|---|---|
.. | ||
ca-certificates | ||
fstools | ||
fwtool | ||
iucode-tool | ||
mtd | ||
openwrt-keyring | ||
opkg | ||
procd | ||
rpcd | ||
ubox | ||
ubus | ||
ucert | ||
uci | ||
usign | ||
zram-swap |