From the following information, TI recommends that we use 8-bit BCH when writing U-BOOT to nand.
http://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_U-Boot#Flashing_U-Boot_from_U-Boot
http://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_Flashing_Tools_Guide#Burning_images_to_NAND_Flash_.28using_CCS.29
We would like to boot a kernel that was written to NAND using the Linux mtd-utils program "nandwrite". When we do this we are getting ECC errors when reading the kernel from u-boot.
Questions:
1) How do we configure Linux to use a desired ECC mode?
2) Do U-BOOT and the DM816x support booting U-boot and a kernel using other ECC modes than HW 8-bit BCH?
Thanks,
--B