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:
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
Hi,
4, 8 & 16 stands for bit error correction per 512 byte.
Choosing ecc in U-bot by nandecc command.
You can see ecclayout os nand driver.
In case of Linux, <drivers/mtd/nand/omap2.c> &
U-boot, <drivers/mtd/nand/ti81xx_nand.c>
Thanks Avinash
Hi Avinash,
Thank you for the quick reply.
Best regards,