Hello,
The device tree property fsl,legacy-bch-geometry which was available in kernel 4.19 is no more present in kernel 5.4, could you please explain how to handle the legacy bch geometry in this case? because in kernel 5.4 the rootfs cannot be mounted form nand flash due to the following error: ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB
Note: fsl,legacy-bch-geometry was the solution to fix ubi_io error in 4.19 kernel, below is the thread for reference:
Best Regards,
Mohamed Ali
HI Mohamed
one can look at details provided on :
https://lore.kernel.org/linux-mtd/20210522205136.19465-2-han.xu@nxp.com/T/
http://patches.linaro.org/patch/446301/
MLK-12601
https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_4.9.11_1.0.0_ga&id=a8f5e669719155...
Best regards
igor
Hi Igor,
I am aware about mentioned fix for 4.19 kernel but I am looking for fix of the 5.4 kernel?
Thanks,
Mohamed Ali