openwrt/target/linux
Koen Vandeputte f1a2b5bbbc kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)
starting from upstream commit 577b4eb23811 ("ubi: Reject MLC NAND")
it is not allowed to use UBI and UBIFS on a MLC flavoured NAND flash chip. [1]

According to David Oberhollenzer [2]:

The real problem is that on MLC NAND, pages come in pairs.

Multiple voltage levels inside a single, physical memory cell are used to
encode more than one bit. Instead of just having pages that are twice as big,
the flash exposes them as two different pages. Those pages are usually not
ordered sequentially either, but according to a vendor/device specific
pairing scheme.

Within OpenWrt, devices utilizing this type of flash,
combined with UBI(fs) will be bricked when a user upgrades
from 17.01.4 to a newer version as the MLC will be refused.

As these devices are currently advertised as supported by OpenWrt,
we should at least maintain the original state during the lifecycle
of the current releases.

Support can be gracefully ended when a new release-branch is created.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.e>

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v4.14.77&id=577b4eb23811dfc8e38924dc476dbc866be74253
[2] https://lore.kernel.org/patchwork/patch/920344/
2018-10-29 10:56:59 +01:00
..
apm821xx kernel: bump 4.14 to 4.14.78 2018-10-22 15:29:01 +02:00
ar7 kernel: remove linux 3.18 support 2018-08-08 09:54:51 +02:00
ar71xx kernel: bump 4.9 to 4.9.134 2018-10-19 10:00:48 +02:00
arc770 arc770: remove source-only 2018-05-24 17:24:30 +02:00
archs38 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
armvirt kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
at91 kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
ath25 ath25: Do not build images for ubnt2 and ubnt5 2018-08-12 11:32:57 +02:00
bcm53xx bcm53xx: use upstream SPI controller fix 2018-10-23 10:59:31 +02:00
brcm47xx kernel: bump 4.14 to 4.14.71 2018-09-21 13:23:59 +02:00
brcm63xx kernel: bump 4.14 to 4.14.60 for 18.06 2018-08-06 07:30:41 +02:00
brcm2708 kernel: bump 4.9 to 4.9.133 2018-10-15 16:54:30 +02:00
cns3xxx kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
gemini kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
generic kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830) 2018-10-29 10:56:59 +01:00
imx6 kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
ipq40xx kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
ipq806x kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
ixp4xx kernel: bump 4.9 to 4.9.127 for 18.06 2018-09-17 15:47:44 +02:00
kirkwood kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
lantiq kernel: bump 4.14 to 4.14.75 2018-10-10 14:46:25 +02:00
layerscape kernel: bump 4.9 to 4.9.135 2018-10-22 15:29:01 +02:00
malta malta: bump tp v4.14 2018-01-09 10:26:16 +01:00
mediatek kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
mpc85xx mpc85xx: add migration script for TP-Link TL-WDR4900 v1 WLAN PCI paths 2018-09-04 21:28:52 +02:00
mvebu kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
mxs kernel: bump 4.14 to 4.14.75 2018-10-10 14:46:25 +02:00
octeon kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
octeontx kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
omap kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
orion orion: remove linux 4.4 support 2018-04-19 14:38:57 +02:00
oxnas kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
pistachio kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
ramips kernel: bump 4.14 to 4.14.75 2018-10-10 14:46:25 +02:00
rb532 treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
sunxi kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
uml kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
x86 kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
Makefile