Hello,
I am using DVRRDK 3.0 from UDWorks.
Nand flash is Micro MT29F2G16A(256MBytes) on our board.
I have made a jffs2 format root filesystem, and mount successful after kernel booting.
But sometimes mtd->read(0x800 bytes from 0x355f800) returned ECC error happened.
Does any configuration need to modify?
From RDK U-Boot, ECC layout is defined in GPMC_NAND_HW_BCH8_ECC_LAYOUT_DVR
In the __ti81xx_nand_switch_ecc(struct nand_chip *nand, nand_ecc_modes_t hardware, int32_t mode), i have set :
nand->ecc.steps = 8;
nand->ecc.layout = &hw_nand_oob_p4k;
I have no idea to set these parameters. Does anybody give me some clue?
Thank you very much!
Regards,
Steven