On 2/4/22 00:48, Hauke Mehrtens wrote:
Hi,

We would like to switch the bcm63xx target to kernel 5.10. Paul created a pull request for that:
https://github.com/openwrt/openwrt/pull/4616

There is still a problem with Macronix NAND flash chips, see the comments from the pull request.

Could someone please have a look into this problem.

Does this change in the upstream kernel help?
https://github.com/torvalds/linux/commit/22ca05b82d3e3abc2b116a11ee41b6b692b95530

Hauke

Hi,

I read that Daniel's device is now completely broken, probably bootloader was overwritten.

The bcm63xx target is the last one using kernel 5.4. We would like to remove kernel 5.4 support from OpenWrt master soon and branch off the next major release. How do we want to go forward with this topic?

Should we apply this hack?
---------------
--- a/drivers/mtd/nand/raw/nand_macronix.c
+++ b/drivers/mtd/nand/raw/nand_macronix.c
@@ -323,7 +323,7 @@

        macronix_nand_fix_broken_get_timings(chip);
        macronix_nand_onfi_init(chip);
-       macronix_nand_block_protection_support(chip);
+       //macronix_nand_block_protection_support(chip);
        macronix_nand_deep_power_down_support(chip);

        return 0;
---------------
https://github.com/openwrt/openwrt/pull/4616
Will this workaround the problem?
Can we expect a real fix soon?

Should we remove the bcm63xx target for from the next release?

If the hack works, I would prefer to apply it and switch bcm63xx to kernel 5.10 too. If someone finds a real fix for the problem we should apply the real fix and remove the hack.

Hauke

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to