You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
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)
5 years ago
..
apm821xx treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
ar71xx treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings 5 years ago
arc770 treewide: use wpad-basic for not small flash targets 6 years ago
archs38 treewide: use wpad-basic for not small flash targets 6 years ago
armvirt kernel: Remove CONFIG_COMPAT 5 years ago
at91 at91:renaming subtraget legacy to sam9x 5 years ago
ath25 treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings 5 years ago
ath79 treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings 5 years ago
bcm53xx bcm53xx: sysupgrade: call nand_do_upgrade() from platform_do_upgrade() 5 years ago
brcm47xx kernel: bump 4.14 to 4.14.133 5 years ago
brcm63xx kernel: bump 4.14 to 4.14.141 5 years ago
brcm2708 treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
cns3xxx kernel: drop everything not on kernel version 4.14 5 years ago
gemini gemini: Fix up DNS-313 compatible string 5 years ago
generic kernel: bump 4.14 to 4.14.140 5 years ago
imx6 treewide: replace remaining (not working now) $SAVE_CONFIG uses 5 years ago
ipq40xx treewide: replace remaining (not working now) $SAVE_CONFIG uses 5 years ago
ipq806x kernel: bump 4.14 to 4.14.120 5 years ago
kirkwood kernel: drop everything not on kernel version 4.14 5 years ago
lantiq lantiq: unify Fritz!Box LED mappings 5 years ago
layerscape kernel: bump 4.14 to 4.14.136 5 years ago
malta malta: Deactivate MIPS O32 and N32 support 5 years ago
mediatek kernel: bump 4.14 to 4.14.136 5 years ago
mpc85xx mpc85xx: correct OCEDO Panda LED definition 5 years ago
mvebu treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
mxs mxs: disable unused serial drivers 5 years ago
octeon kernel: drop everything not on kernel version 4.14 5 years ago
octeontx kernel: Remove CONFIG_COMPAT 5 years ago
omap treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
oxnas kernel: bump 4.14 to 4.14.128 5 years ago
pistachio kernel: bump 4.14 to 4.14.91 6 years ago
ramips ramips: disable badblock shifting for MT7621 NAND 5 years ago
rb532 kernel: bump 4.14 to 4.14.86 6 years ago
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 5 years ago
sunxi treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
tegra treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
uml kernel: Deactivate CONFIG_BINFMT_MISC 5 years ago
x86 treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 5 years ago
zynq zynq: make title consistent for all devices 5 years ago
Makefile