1
0
Fork 0
forked from mirror/openwrt
openwrt/package/system
Rafał Miłecki 828eaeee25 mtd: support bad blocks within the mtd_fixtrx()
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>
(cherry picked from commit 0f54489f75)
2018-07-17 07:17:37 +02:00
..
ca-certificates ca-certificates: Update to 20170717 2017-12-13 16:23:39 +01:00
fstools fstools: update to latest lede-17.01 branch 2018-04-16 20:00:18 +02:00
fwtool fwtool: add utility for appending and extracting firmware metadata/signatures 2016-11-19 11:24:09 +01:00
iucode-tool tools: add iucode-tool 2018-03-04 17:37:15 +01:00
lede-keyring lede-keyring: bundle latest usign certificates 2017-01-20 10:11:15 +01:00
mountd mountd: update to the latest version from 2018-02-26 2018-02-26 11:49:29 +01:00
mtd mtd: support bad blocks within the mtd_fixtrx() 2018-07-17 07:17:37 +02:00
opkg opkg: bump to version 2017-12-08 2017-12-08 14:17:38 +01:00
procd procd: update to latest git HEAD 2018-02-09 09:22:45 +01:00
rpcd rpcd: update to lastest HEAD 2018-05-14 10:29:20 +02:00
ubox ubox: bump to version 2017-03-10 2017-04-27 14:38:05 +08:00
ubus ubus: update to the latest version 2017-02-25 11:15:46 +01:00
uci uci: add missing 'option' support to uci_rename() 2018-06-16 09:13:18 +02:00
usign treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
zram-swap zram-swap: CONFIG_PROCD_ZRAM_TMPFS compatibility 2016-09-05 07:12:00 +02:00