Hi Arpitha,
Use ".mask_flags = 0," for your data( filesystem) partitions
You can flash the "jffs2" image by following the commands
# flash_eraseall -j /dev/mtd4 (-j for jffs2 image (with cleanmarker))
# nandwrite -pm /dev/mtd4 rootfs.jffs2
OR
make your whole filesystem into tar ball
then boot ur device through NFS
# flash_eraseall -j /dev/mtd4 (-j for jffs2 image (with cleanmarker))
# mount -t jffs2 /dev/mtdblock4 /mnt
# cd /mnt
# tar -xf /rootfs.tar
Regards,
Titus S.