tn3399_openwrt/package/system
Rafał Miłecki 0f54489f75 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>
2018-07-15 16:51:41 +02:00
..
ca-certificates ca-certificates: ca-bundle: add symlink for openssl default setting 2018-07-07 18:19:39 +02:00
fstools fstools: update to latest git HEAD 2018-05-25 09:52:50 +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-02-11 14:39:16 +01:00
mtd mtd: support bad blocks within the mtd_fixtrx() 2018-07-15 16:51:41 +02:00
openwrt-keyring openwrt-keyring: bundle latest usign certificates 2018-05-20 19:39:12 +02:00
opkg opkg: switch source url to git.openwrt.org 2018-01-04 13:44:42 +01:00
procd procd: compile with LTO enabled 2018-07-13 17:22:53 +02:00
rpcd rpcd: update to lastest HEAD 2018-05-14 07:16:47 +02:00
ubox logd: create log directory for log_file 2018-06-07 17:19:42 +02:00
ubus ubus: compile with LTO enabled 2018-07-13 17:22:53 +02:00
ucert ucert: fix build 2018-06-15 08:57:44 +02:00
uci uci: update to latest git HEAD 2018-03-27 13:49:49 +02:00
usign treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
zram-swap zram-swap: CONFIG_PROCD_ZRAM_TMPFS compatibility 2016-09-05 07:12:00 +02:00