[U-Boot] imx6 u-boot update nand ecc issues.
Andy Ng
andreas2025 at gmail.com
Thu Mar 9 07:38:03 UTC 2017
Hi
I did an update from 2013-10 imx6 u-boot to 2016-03, and when I
updated the u-boot, u-boot can't read the old environment regions.
NAND read from offest 110000 failed -74
I have checked the code for 2016-03 and there are a lot of ecc changes
in mxs_nand.c
Was an ecc bug in 2013-10?
Updating the u-boot to 2016-03 and use it to write a ubi filesystem
in NAND, a 3.0.35 kernel can't read those images. It returns
UBI: error: ubi_io_read: error -74 (ECC error) while reading 64 bytes
from PEB 0:0, read 64 bytes..
...
...
UBI: error: ubi_io_read: error -74 (ECC error) while reading 64 bytes
from PEB n:0, read 64 bytes..
So that means that a u-boot update to 2016-03, would need a new kernel too?
Any ideas? It seems strange that old ecc calculations failed.
Andy
More information about the U-Boot
mailing list