This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Nand ECC Algorithm

 

Hi Everyone:

    We are developing on dm365 platform and program the nand flash with a programer.

    The same kernel, when we use the programer with ECC algorithm "TI Read-Solomon(RS) ECC " ,we get the ECC flows:

ff ff ff ff ff ff d5 66
98 f6 da ae b4 8b 95 67
ff ff ff ff ff ff 36 a0
13 eb bd c8 0d e8 dd 6c
ff ff ff ff ff ff 96 e1
1d cc e5 3c ff 60 07 6f
ff ff ff ff ff ff e3 c4
79 ab 2d 41 8f d4 34 b9

when we use u-boot with  ECC algorithm config "CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST",we get the ECC flows:

ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
d5 66 98 f6 da ae b4 8b
95 67 36 a0 13 eb bd c8
0d e8 dd 6c 96 e1 1d cc
e5 3c ff 60 07 6f e3 c4
79 ab 2d 41 8f d4 34 b9

The kernel programmed by u-boot run ok, but by programmer can not run。

we know there are to ECC  algorithm configs from u-boot code as flows:

CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST

CONFIG_SYS_NAND_4BIT_HW_ECC

can anyone tell me the difference between this two configs  and the " TI Read-Solomon(RS) ECC " ?

thanks !