openwrtv4/package
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
..
base-files include/feeds.mk: rework generation of opkg distfeeds.conf 2018-07-12 21:18:41 +02:00
boot uboot-imx: bump to 2018.03 which fixes the build issues with fdt64_t redefinitions 2018-07-07 18:33:57 +02:00
devel perf: remove linux 4.4 workarounds 2018-07-07 14:53:26 +02:00
firmware firmware: amd64-microcode: update to 20180524 2018-07-07 12:23:00 +02:00
kernel mt76: update to the latest version 2018-07-13 16:36:56 +02:00
libs libnl: bump to 3.4.0 2018-07-07 18:33:58 +02:00
network ppp: add missing -fPIC to rp-pppoe.so CFLAGS 2018-07-14 11:00:23 +02:00
system mtd: support bad blocks within the mtd_fixtrx() 2018-07-15 16:51:41 +02:00
utils busybox: compile with LTO enabled 2018-07-13 17:22:53 +02:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00