openwrt/target/linux
Christian Lamparter a83dc6b06d kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx
Hannu Nyman wrote in openwrt's github issue #9962:
|Based on forum discussion, the commit 0bc794a
|"kernel: add support for Toshiba TC58NVG0S3HTA00 NAND flash"
|causes flash memory chip misdetection for some other
|Fritzbox devices, as the commit only defines a 4-byte flash
|memory chip ID that matches several chips used in the devices.
|
|See discussion from this onward
|<https://forum.openwrt.org/t/openwrt-22-03-0-rc1-first-release-candidate/126045/182>
|
|OpenWrt 22.03.0-rc2 and rc3 are causing on a Fritzbox 7412
|bootloops due to a misdetected flash chip.
|
|Yup, that patch is missing the 5th ID byte entirely - both chips
|share the same first 4;
|
| TC58NVG0S3HTA00 = 0x98 0xf1 0x80 0x15 0x72 (digikey datasheet, page 35)
| TC58BVG0S3HTA00 = 0x98 0xf1 0x80 0x15 0xf2 (digikey datasheet, page 28)
|
|The commit has also been backported to openwrt-22.03 after rc1,
|so both rc2 and rc3 suffer from this bug."

Andreas' TC58NVG0S3H seems not to follow Toshibas/Kioxa's own datasheet.
It only reports the first four bytes: "98 f1 80 15 00 00 00 00".

This patch changes the id_len in the entry to 8. This makes it so that
Andreas' NAND is still detected. At the same time, this prevents other
Toshiba NAND flash chips - that share the same four bytes - from being
misdetected.

Upstream (Miquel Raynal) decided to drop this patch for now. But he
advised to keep it in OpenWrt. As other devices could be affected.
<https://lore.kernel.org/linux-mtd/20220606155919.23001410@xps-13/>

Reported-by: Peter-vdL
Tested-by: Peter-vdL
Tested-by: Andreas B<C3><B6>hler <dev@aboehler.at>
Fixes: 0bc794a668 ("kernel: add support for Toshiba TC58NVG0S3HTA00 NAND flash")
Link: <https://github.com/openwrt/openwrt/issues/9962>
(actually move the patch, added comment about possible counterfeits)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-06-09 20:37:24 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.114 2022-05-17 20:50:27 +02:00
archs38 kernel: delete Linux 5.4 config and patches 2022-03-21 13:11:56 +00:00
armvirt kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
at91 kernel: bump 5.10 to 5.10.118 2022-06-07 22:28:59 +02:00
ath25 kernel: bump 5.10 to 5.10.120 2022-06-07 22:28:59 +02:00
ath79 kernel: bump 5.10 to 5.10.119 2022-06-07 22:28:59 +02:00
bcm27xx kernel: bump 5.10 to 5.10.114 2022-05-17 20:50:27 +02:00
bcm47xx kernel: delete Linux 5.4 config and patches 2022-03-21 13:11:56 +00:00
bcm53xx packages: nvram: add NVRAM quirks for bcm53xx target 2022-06-07 16:18:20 +02:00
bcm63xx bcm63xx: fix description fix name case 2022-05-01 13:23:12 +02:00
bcm4908 kernel: bump 5.10 to 5.10.117 2022-06-07 22:28:59 +02:00
bmips bmips: dgnd3700v2: fix network config 2022-06-07 21:36:58 +02:00
gemini kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
generic kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx 2022-06-09 20:37:24 +02:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx 2022-06-09 20:37:24 +02:00
ipq806x kernel: bump 5.10 to 5.10.116 2022-05-18 00:16:11 +02:00
kirkwood target/linux: replace egrep with grep -E 2022-02-07 00:03:27 +01:00
lantiq kernel: bump 5.10 to 5.10.118 2022-06-07 22:28:59 +02:00
layerscape kernel: delete Linux 5.4 config and patches 2022-03-21 13:11:56 +00:00
malta malta: use default OpenWrt network configuration 2022-06-02 12:18:56 +02:00
mediatek mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-05-06 19:57:57 +02:00
mpc85xx mpc85xx: Fix output location of padded dtb 2022-05-01 13:23:12 +02:00
mvebu kernel: bump 5.10 to 5.10.116 2022-05-18 00:16:11 +02:00
mxs kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
octeon Revert "octeon: mark source-only" 2022-04-03 19:30:09 +03:00
octeontx kernel: bump 5.10 to 5.10.110 2022-04-10 16:31:42 +01:00
omap kernel: delete Linux 5.4 config and patches 2022-03-21 13:11:56 +00:00
oxnas kernel: bump 5.10 to 5.10.116 2022-05-18 00:16:11 +02:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq qoriq: enable support for Marvell Alaska PHYs 2022-04-05 23:33:35 +02:00
ramips kernel: bump 5.10 to 5.10.117 2022-06-07 22:28:59 +02:00
realtek kernel: bump 5.10 to 5.10.120 2022-06-07 22:28:59 +02:00
rockchip kernel: include CONFIG_KEXEC_SIG in configs 2022-03-15 08:33:45 +01:00
sunxi sunxi: cortexa7: fix ethernet link detection on a20-olinuxino-lime2 2022-03-24 08:18:46 +01:00
tegra kernel: delete Linux 5.4 config and patches 2022-03-21 13:11:56 +00:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 x86: Add support for Sophos XG 85 and XG 86 devices 2022-03-27 16:14:00 +01:00
zynq kernel: delete Linux 5.4 config and patches 2022-03-21 13:11:56 +00:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00