Hi,
I'm using EZSDK 5_02_01_59 at DM816x EVM.
I have written some data to NAND flash at u-boot, after linux booting I read the data.
Following messages is occured.
Error: Bad compare! failed
Error: Bad compare! failed
So, I check NAND OOB area.
When I write some data to nand at uboot, the OOB is like as following,
OOB:
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
56 56 ff 9c 9c 44 77 88
1e 00 00 00 ff ff ff ff
ff ff ff ff ff ff ff ff
And I write some data to nand after linux booting, the OOB is
OOB:
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff 04 04 00 fb
04 07 fd 02 07 00 00 00
ECC position is different and ECC valus is simpler.
In my thought, the MTD of EZSDK linux kernel may have some problem.
Is there anyon to help me?