1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-29 12:24:11 +02:00
openwrt/target/linux/generic/pending-5.10
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
..
050-dtc-checks-Drop-interrupt-provider-address-cells-check.patch kernel: 5.10: silence bogus "Missing #address-cells in interrupt provider" warnings 2021-10-24 11:20:22 +02:00
100-compiler.h-only-include-asm-rwonce.h-for-kernel-code.patch kernel: bump 5.10 to 5.10.70 2021-09-30 22:29:33 +01:00
101-Use-stddefs.h-instead-of-compiler.h.patch kernel: add patch to fix an issue with kernel headers that broke perf 2021-09-25 14:08:48 +02:00
102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
130-add-linux-spidev-compatible-si3210.patch
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
141-jffs2-add-RENAME_EXCHANGE-support.patch
142-jffs2-add-splice-ops.patch
150-bridge_allow_receiption_on_disabled_port.patch
190-rtc-rs5c372-support_alarms_up_to_1_week.patch
191-rtc-rs5c372-let_the_alarm_to_be_used_as_wakeup_source.patch
201-extra_optimization.patch kernel: bump 5.10 to 5.10.53 2021-07-29 19:50:15 +01:00
203-kallsyms_uncompressed.patch kernel: bump 5.10 to 5.10.30 2021-04-16 12:58:53 +01:00
205-backtrace_module_info.patch kernel: bump 5.10 to 5.10.50 2021-07-17 13:27:03 +02:00
240-remove-unsane-filenames-from-deps_initramfs-list.patch
261-enable_wilink_platform_without_drivers.patch
270-platform-mikrotik-build-bits.patch
300-mips_expose_boot_raw.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
302-mips_no_branch_likely.patch
305-mips_module_reloc.patch
307-mips_highmem_offset.patch
308-mips32r2_tune.patch kernel: bump 5.10 to 5.10.20 2021-03-05 20:35:01 +01:00
309-MIPS-Add-CPU-option-reporting-to-proc-cpuinfo.patch
310-arm_module_unresolved_weak_sym.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch kernel: 5.10: refresh patches 2021-02-16 23:48:23 +01:00
332-arc-add-OWRTDTB-section.patch
333-arc-enable-unaligned-access-in-kernel-mode.patch
342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch
400-mtd-mtdsplit-support.patch kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
410-mtd-parsers-ofpart-fix-parsing-subpartitions.patch kernel: fix parsing fixed subpartitions 2021-05-06 14:53:25 +02:00
419-mtd-redboot-add-of_match_table-with-DT-binding.patch kernel: bump 5.10 to 5.10.50 2021-07-17 13:27:03 +02:00
420-mtd-redboot_space.patch kernel: bump 5.10 to 5.10.50 2021-07-17 13:27:03 +02:00
430-mtd-add-myloader-partition-parser.patch kernel: add the latest mtd patch extending ofpart parser 2021-03-01 18:18:38 +01:00
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch kernel: move parser_trx patches of custom magic to generic 2022-03-06 20:40:07 +01:00
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
435-mtd-add-routerbootpart-parser-config.patch kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
444-mtd-nand-rawnand-add-support-for-Toshiba-TC58NVG0S3H.patch kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx 2022-06-05 21:05:17 +02:00
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch kernel: Move an upstreamed patch under backports 2021-04-30 23:48:37 +02:00
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: Move an upstreamed patch under backports 2021-04-30 23:48:37 +02:00
465-m25p80-mx-disable-software-protection.patch kernel: bump 5.10 to 5.10.36 2021-05-14 08:46:45 +01:00
470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
476-mtd-spi-nor-add-eon-en25q128.patch
479-mtd-spi-nor-add-xtx-xt25f128b.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
482-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch
483-mtd-spi-nor-add-gd25q512.patch ramips: move spi-nor-add-gd25q512 patch to generic 2021-03-19 01:25:26 +01:00
483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch kernel: Fix oob layout of XTX XT26G0xA 2022-04-09 21:08:26 +08:00
484-mtd-spi-nor-add-esmt-f25l16pa.patch kernel: add support for ESMT F25L16PA(2S) SPI-NOR 2021-10-31 21:56:56 +01:00
485-mtd-spi-nor-add-xmc-xm25qh128c.patch kernel: add support for XMC XM25QH128C 2022-03-05 21:06:35 +01:00
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
491-ubi-auto-create-ubiblock-device-for-rootfs.patch image: add support for building FIT image with filesystem 2021-02-24 01:35:20 +00:00
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch kernel: Fix compile warning 2022-01-28 21:58:26 +01:00
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch
494-mtd-ubi-add-EOF-marker-support.patch
495-mtd-core-add-get_mtd_device_by_node.patch kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
496-dt-bindings-add-bindings-for-mtd-concat-devices.patch
497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch
498-mtd-spi-nor-locking-support-for-MX25L6405D.patch kernel: 5.10: add patches to fix macronix flash 2021-12-29 22:55:16 +01:00
499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch kernel: 5.10: add patches to fix macronix flash 2021-12-29 22:55:16 +01:00
500-fs_cdrom_dependencies.patch
530-jffs2_make_lzma_available.patch kernel: bump 5.10 to 5.10.107 2022-03-19 17:42:41 +01:00
532-jffs2_eofdetect.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
600-netfilter_conntrack_flush.patch kernel: bump 5.10 to 5.10.32 2021-04-22 15:13:56 +01:00
610-netfilter_match_bypass_default_checks.patch kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
611-netfilter_match_bypass_default_table.patch kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
612-netfilter_match_reduce_memory_access.patch
613-netfilter_optional_tcp_window_check.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
620-net_sched-codel-do-not-defer-queue-length-update.patch
630-packet_socket_type.patch kernel: bump 5.10 to 5.10.113 2022-04-30 21:27:45 +02:00
655-increase_skb_pad.patch
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: bump 5.10 to 5.10.50 2021-07-17 13:27:03 +02:00
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 5.10 to 5.10.113 2022-04-30 21:27:45 +02:00
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: bump 5.10 to 5.10.84 2021-12-17 15:10:22 +01:00
682-of_net-add-mac-address-increment-support.patch kernel: fix mac-address-increment patch 2021-11-15 00:38:45 +01:00
683-of_net-add-mac-address-to-of-tree.patch kernel: fix mac-address-increment patch 2021-11-15 00:38:45 +01:00
700-net-ethernet-mtk_eth_soc-avoid-creating-duplicate-of.patch mediatek: prevent duplicate hardware flow offload entries 2021-07-08 07:38:41 +02:00
701-01-arm64-dts-mediatek-mt7622-add-support-for-coherent-D.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-02-net-ethernet-mtk_eth_soc-add-support-for-Wireless-Et.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-03-net-ethernet-mtk_eth_soc-implement-flow-offloading-t.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-04-arm64-dts-mediatek-mt7622-introduce-nodes-for-Wirele.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-05-net-ethernet-mtk_eth_soc-add-ipv6-flow-offload-suppo.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-06-net-ethernet-mtk_eth_soc-support-TC_SETUP_BLOCK-for-.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-07-net-ethernet-mtk_eth_soc-allocate-struct-mtk_ppe-sep.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-08-net-ethernet-mtk_eth_soc-rework-hardware-flow-table-.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-09-net-ethernet-mtk_eth_soc-remove-bridge-flow-offload-.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-10-net-ethernet-mtk_eth_soc-support-creating-mac-addres.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
701-00-net-ethernet-mtk_eth_soc-add-support-for-coherent-DM.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch kernel: bump 5.10 to 5.10.109 2022-03-30 18:33:38 +02:00
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: 5.10: backport 100 BaseX SFP support 2021-10-21 00:17:36 +02:00
704-01-netfilter-nft_flow_offload-skip-dst-neigh-lookup-for.patch kernel: backport flow offload fixes to 5.10 2022-05-06 21:47:53 +02:00
704-02-net-fix-dev_fill_forward_path-with-pppoe-bridge.patch kernel: backport flow offload fixes to 5.10 2022-05-06 21:47:53 +02:00
704-03-netfilter-nft_flow_offload-fix-offload-with-pppoe-vl.patch kernel: backport flow offload fixes to 5.10 2022-05-06 21:47:53 +02:00
704-00-netfilter-flowtable-fix-excessive-hw-offload-attempt.patch kernel: backport flow offload fixes to 5.10 2022-05-06 21:47:53 +02:00
705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch kernel: fix corrupted padding on small packets with mt753x dsa 2022-05-06 21:55:20 +02:00
710-bridge-add-knob-for-filtering-rx-tx-BPDU-pack.patch kernel: bump 5.10 to 5.10.111 2022-04-16 14:02:11 +02:00
730-net-phy-at803x-fix-feature-detection.patch kernel: 5.10: backport QCA83x PHY resume fix, DAC amplitude preferred master, debug reg names 2021-10-24 16:56:17 +02:00
760-net-dsa-mv88e6xxx-fix-vlan-setup.patch kernel: bump 5.10 to 5.10.109 2022-03-30 18:33:38 +02:00
762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
763-net-bridge-switchdev-Include-local-flag-in-FDB-notif.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-23 21:10:56 +01:00
764-net-bridge-switchdev-Send-FDB-notifications-for-host.patch kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
765-net-dsa-Include-local-addresses-in-assisted-CPU-port.patch kernel: bump 5.10 to 5.10.68 2021-09-30 22:29:33 +01:00
766-net-dsa-Include-bridge-addresses-in-assisted-CPU-por.patch kernel: bump 5.10 to 5.10.68 2021-09-30 22:29:33 +01:00
767-net-dsa-Sync-static-FDB-entries-on-foreign-interface.patch kernel: bump 5.10 to 5.10.68 2021-09-30 22:29:33 +01:00
768-net-dsa-mv88e6xxx-Request-assisted-learning-on-CPU-port.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
780-ARM-kirkwood-add-missing-linux-if_ether.h-for-ETH_AL.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch kernel: bump 5.10 to 5.10.65 2021-09-30 22:29:33 +01:00
801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch kernel: bump 5.10 to 5.10.102 2022-03-01 21:38:36 +01:00
810-pci_disable_common_quirks.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
811-pci_disable_usb_common_quirks.patch kernel: bump 5.10 to 5.10.78 2021-11-07 19:59:10 +01:00
820-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch
834-ledtrig-libata.patch kernel: bump 5.10 to 5.10.112 2022-04-23 20:46:25 +02:00
840-hwrng-bcm2835-set-quality-to-1000.patch kernel: bump version 5.10 to 5.10.18 2021-02-24 18:45:59 +01:00
842-net-qmi_wwan-add-ZTE-MF286D-modem-19d2-1485.patch generic: kernel: add patches with ZTE MF286D modem 2022-02-05 00:44:35 +01:00
850-0001-PCI-aardvark-Replace-custom-PCIE_CORE_INT_-macros-wi.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0004-PCI-aardvark-Rewrite-IRQ-code-to-chained-IRQ-handler.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0005-PCI-aardvark-Check-return-value-of-generic_handle_do.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0006-PCI-aardvark-Make-MSI-irq_chip-structures-static-dri.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0007-PCI-aardvark-Make-msi_domain_info-structure-a-static.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0008-PCI-aardvark-Use-dev_fwnode-instead-of-of_node_to_fw.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0009-PCI-aardvark-Refactor-unmasking-summary-MSI-interrup.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
850-0010-PCI-aardvark-Add-support-for-masking-MSI-interrupts.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0011-PCI-aardvark-Fix-setting-MSI-address.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0012-PCI-aardvark-Enable-MSI-X-support.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
850-0013-PCI-aardvark-Add-support-for-ERR-interrupt-on-emulat.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0015-PCI-aardvark-Optimize-writing-PCI_EXP_RTCTL_PMEIE-an.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
850-0016-PCI-aardvark-Add-support-for-PME-interrupts.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0017-PCI-aardvark-Fix-support-for-PME-requester-on-emulat.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0018-PCI-aardvark-Use-separate-INTA-interrupt-for-emulate.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0019-PCI-aardvark-Remove-irq_mask_ack-callback-for-INTx-i.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
850-0020-PCI-aardvark-Don-t-mask-irq-when-mapping.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
850-0021-PCI-aardvark-Drop-__maybe_unused-from-advk_pcie_disa.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
850-0022-PCI-aardvark-Update-comment-about-link-going-down-af.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
850-0023-PCI-aardvark-Make-main-irq_chip-structure-a-static-d.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
851-0001-phy-marvell-phy-mvebu-a3700-comphy-Remove-port-from-.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
851-0002-phy-marvell-phy-mvebu-a3700-comphy-Add-native-kernel.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
851-0003-arm64-dts-marvell-armada-37xx-Add-xtal-clock-to-comp.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
851-0004-Revert-ata-ahci-mvebu-Make-SATA-PHY-optional-for-Arm.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
851-0005-Revert-usb-host-xhci-mvebu-make-USB-3.0-PHY-optional.patch kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
851-0006-Revert-PCI-aardvark-Fix-initialization-with-old-Marv.patch kernel: bump 5.10 to 5.10.115 2022-05-16 20:26:38 +02:00
920-mangle_bootargs.patch kernel: bump 5.10 to 5.10.90 2022-01-07 22:30:40 +01:00