openwrt/target/linux/ipq40xx/patches-5.10
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
..
104-clk-fix-apss-cpu-overclocking.patch ipq40xx: 5.10: copy patches 2021-09-25 19:28:54 +02:00
300-clk-qcom-ipq4019-add-ess-reset.patch ipq40xx: 5.10: copy patches 2021-09-25 19:28:54 +02:00
301-arm-compressed-add-appended-DTB-section.patch ipq40xx: 5.10: refresh patches to apply 2021-09-25 19:28:54 +02:00
302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch kernel: bump 5.10 to 5.10.115 2022-05-17 20:50:34 +02:00
444-mtd-nand-rawnand-add-support-for-Toshiba-TC58NVG0S3H.patch kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx 2022-06-09 20:37:24 +02:00
702-dts-ipq4019-add-PHY-switch-nodes.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch kernel: bump 5.10 to 5.10.116 2022-05-18 00:16:11 +02:00
705-net-add-qualcomm-ar40xx-phy.patch ipq40xx: 5.10: move AR40xx to MDIO drivers 2021-09-25 19:28:54 +02:00
706-dt-bindings-net-add-QCA807x-PHY.patch ipq40xx: 5.10: copy patches 2021-09-25 19:28:54 +02:00
707-net-phy-Add-Qualcom-QCA807x-driver.patch kernel: bump 5.10 to 5.10.120 2022-06-07 22:28:59 +02:00
708-arm-dts-ipq4019-QCA807x-properties.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: 5.10: copy patches 2021-09-25 19:28:54 +02:00
711-dts-ipq4019-add-ethernet-essedma-node.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
850-soc-add-qualcomm-syscon.patch ipq40xx: 5.10: refresh patches to apply 2021-09-25 19:28:54 +02:00
900-dts-ipq4019-ap-dk01.1.patch ipq40xx: 5.10: copy patches 2021-09-25 19:28:54 +02:00
901-arm-boot-add-dts-files.patch ipq40xx: add support for Telco X1 Pro 2022-03-19 20:05:00 +01:00
902-dts-ipq4019-ap-dk04.1.patch ipq40xx: 5.10: copy patches 2021-09-25 19:28:54 +02:00
0001-v5.12-ARM-dts-qcom-ipq4019-add-USB-devicetree-nodes.patch kernel: bump 5.10 to 5.10.110 2022-04-10 16:31:42 +01:00
0002-v5.12-ARM-dts-qcom-ipq4019-add-more-labels.patch kernel: bump 5.10 to 5.10.110 2022-04-10 16:31:42 +01:00
0003-v5.12-ARM-dts-qcom-ipq4019-add-SDHCI-VQMMC-LDO-node.patch kernel: bump 5.10 to 5.10.110 2022-04-10 16:31:42 +01:00