We are using DM365 with IPNC 5.1, but when kernel loads squashfs then bad blocks becomes in NAND.Actually they are not bad blocks, because these blocks are giving real data after nand dump command.
We are making nine mtd partition, which are :
[ 1.373905] Creating 9 MTD partitions on "davinci_nand.0":
[ 1.379714] 0x000000000000-0x000000200000 : "bootloader"
[ 1.390978] 0x000000200000-0x000000400000 : "params"
[ 1.401996] 0x000000400000-0x000000900000 : "kernel"
[ 1.413263] 0x000000900000-0x000002900000 : "filesystem"
[ 1.424992] 0x000002900000-0x000003000000 : "config"
[ 1.436564] 0x000003000000-0x000003500000 : "kernel_recovery"
[ 1.448311] 0x000003500000-0x000004500000 : "filesystem_recovery"
[ 1.460446] 0x000004500000-0x000004f00000 : "syslog"
[ 1.471575] 0x000004f00000-0x000008000000 : "data1"
And first four bad blocks from nand bad command are :
02900000
02920000
02940000
02960000
First bad block is becoming just after filesystem partition.Due to this its not able to find any space on nand and so rest partition will not be made and board gets stucked.
Squashfs is not able to handle bad blocks,so anyone give any idea to resolve this problem.