difos/target/linux
Christian Lamparter b047ca1aa0 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.

The issue has been reported upstream, since they also accepted the initial
patch... so if not addressed, 5.19/5.20 will also break those affected
devices again.

Reported-by: Peter-vdL
Fixes: 0bc794a668 ("kernel: add support for Toshiba TC58NVG0S3HTA00 NAND flash")
Link: <https://github.com/openwrt/openwrt/issues/9962>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-06-05 21:05:17 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
archs38 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
armvirt armvirt: 64: enable driver for QEMU' supported watchdog 2022-05-07 14:31:21 +02:00
at91 config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
ath25 generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
ath79 ath79: fix label MAC address for D-Link DIR-825B1 2022-05-29 00:00:52 +02:00
bcm27xx bcm27xx/bcm2711: enable asm crypto algorithms 2022-06-04 12:39:01 +02:00
bcm47xx kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bcm53xx config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
bcm63xx bcm63xx: add linux v5.15 support 2022-05-20 15:53:16 +02:00
bcm4908 bcm4908: enable armv8-CE crypto algorithms 2022-06-04 12:39:01 +02:00
bmips bmips: dgnd3700v2: fix network config 2022-05-23 21:05:59 +02:00
gemini gemini: Bump kernel to v5.15 2022-04-14 10:12:34 +02:00
generic kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx 2022-06-05 21:05:17 +02:00
imx kernel: bump 5.15 to 5.15.32 2022-04-09 19:31:46 +02:00
ipq40xx ipq40xx: add Aruba AP-365 specific BDF 2022-06-02 16:50:12 +02:00
ipq806x ipq-wifi: drop upstreamed board-2.bin 2022-05-14 11:08:45 +02:00
kirkwood kirkwood: set testing kernel version to 5.15 2022-05-01 13:40:13 +09:00
lantiq kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
layerscape layerscape/armv8_64b: enable armv8-CE crypto algos 2022-06-04 12:39:01 +02:00
malta malta: use default OpenWrt network configuration 2022-05-28 17:35:34 +02:00
mediatek mediatek: mt7622: add support for ELECOM WRC-X3200GST3 2022-05-21 22:27:01 +01:00
mpc85xx mpc85xx: enable error reporting for RAM and PCIe 2022-05-14 11:08:45 +02:00
mvebu mvebu/cortexa72: enable armv8-CE crypto algos 2022-06-04 12:39:01 +02:00
mxs kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeon kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeontx octeontx: add armv8-CE version of CRC T10 2022-06-04 12:39:01 +02:00
omap config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
oxnas kernel: bump 5.10 to 5.10.112 2022-04-23 20:46:25 +02:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
ramips ramips: use hotplug script for EAP615-Wall MACs 2022-06-03 13:45:38 +03:00
realtek realtek: don't unmask non-maskable GPIO IRQs 2022-05-30 07:21:03 +02:00
rockchip rockchip/armv8: enable armv8-CE crypto algorithms 2022-06-04 12:39:01 +02:00
sunxi sunxi/cortexa53: enable armv8-CE crypto algorithms 2022-06-04 12:39:01 +02:00
tegra kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 kernel/x86: move x86' specific watchdogs to the x86 target 2022-05-07 14:31:22 +02:00
zynq kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00