Temat: Nand flash driver give error ( uncorrectable ECC error )

I compiled openwrt for a new device and the initramfs is booted successfully all functions is working properly but when I try to install permanently flashing factory file on the nand flash I get ( uncorrectable ECC error) the nand flash is ( hynix H27U518S2CT ) ( nand: 64 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16 )
when I reflash the device by the original image the device boot normally so the nand flash is in good condition , I think the problem with the nand driver specially ( subpages ecc corrections )
I also tried ( nand-ecc-mode = "soft") option in my dts file got also error.
any advice will be appreciated

I posted this problem in openwrt forum but not get any reply there
the log through this link
https://forum.openwrt.org/t/nand-flash- … ror/130826

2 (edytowany przez chemik89 2022-12-06 14:51:40)

Odp: Nand flash driver give error ( uncorrectable ECC error )

Generaly i can say that nand support for many chips is broken in openwrt.
got 6x r6220 with after few months  all got bricked partition to the point that OS didnt even boot. No ECC errors at all.
I stick with Serial memory routers for production use.

3

Odp: Nand flash driver give error ( uncorrectable ECC error )

thank you chemik89  for your reply , yes I agree the serial memory is more stable with openwrt and easy to compile new device in openwrt , but this device have high memory and good board in wifi amps also high signal level and if I can make openwrt firmware to it  will have excellent device so I wish to can do it, anyway thanks for your hints.

4 (edytowany przez chemik89 2022-12-08 21:23:54)

Odp: Nand flash driver give error ( uncorrectable ECC error )

You didnt write what router is that.
You can check X-WRT builds/repo, they sometimes use closed source drivers for stuff, but most probably wifi only.