AR# 71078

2017.x Zynq-7000 - Embedded Linux: UBI ECC error on S34ML02G1


The UBI read command is failing the S34ML02G1 flash on Zynq-7000 with the following error:

[    1.637859] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry

In Linux, there is an issue with the ECC code stored in the OOB area.

U-boot appears to be using the correct number of bytes for ECC, 12 bytes in position 52-63 of the OOB section, however Linux only uses 3 bytes in position 52-54.



The attached patch will resolve this issue.


文件名 文件大小 File Type
0001-nand-pl35x-Fix-incorrect-ooblayout-offset-update.patch 1 KB PATCH
AR# 71078
日期 05/08/2018
状态 Active
Type 综合文章
Tools More Less