openwrt/target
David Bauer b8b62b8506 ramips: disable badblock shifting for MT7621 NAND
The MediaTek MT7621 NAND driver currently intransparently shifts NAND
pages when a block is marked as bad. Because of this, offsets for e.g.
caldata and MAC-addresses seem to be off.

This is, howeer, not a task for the mtd NAND driver, as the flash
translation layer is tasked with this.

This patch disables this badblock shifting. This fix was originally
proposed by Jo-Philipp Wich at
https://bugs.openwrt.org/index.php?do=details&task_id=1926

Fixes FS#1926 ("MTD partition offset not correctly mapped when bad
eraseblocks present")
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 527832e54b)
2019-09-07 00:53:18 +02:00
..
imagebuilder imagebuilder: fix make info for empty SUPPORTED_DEVICES 2019-08-22 21:19:04 +02:00
linux ramips: disable badblock shifting for MT7621 NAND 2019-09-07 00:53:18 +02:00
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 2019-09-04 13:47:04 +02:00
toolchain target/toolchain/files/wrapper.sh: simplify 'case' 2019-09-04 13:28:08 +02:00
Config.in build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00