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.

questions on ECC in am335x EVM



Hi all,

I have some questions on ECC algorithm used by am335x EVM.

1. BCH4 BCH8 BCH16: I know BCH is one of ECC algorithm, but what's 4, 8, 16 stand for? Is it the ability of error correction? It's able to correct 4, 8, 16 bit per 512bytes?

2. In the ECC schemes usage table:

ECC schemes usage table
ComponentDefault ECC scheme used by the componentECC scheme to be used to flash the componentECC schemes supported by the component
SPL BCH8 BCH8 BCH8
U-boot Hamming BCH8 Hamming/BCH8
Linux BCH8 BCH8 BCH8
File System NA BCH8 NA
Environment variables NA Hamming NA

why we choose BCH8 and Hamming for flashing File system and Environment variables? I mean how to choose the algorithm?

About "algorithm supported by the component", How we know a component support what kind of algorithm? I think it must lie in  the source code, but where?

Thanks and best regards,

Lihua