I need to place my iMX31 Litekit rootfs in the NAND flash and tried to use JFFS2.
I compiled the kernel BSP R13 with LTIB using the JFFS2 option as filesystem.
LTIB generated a rootfs.jffs2.
I did: flash_eraseall -j /dev/mtd2.
then, nandwrite -p /dev/mtd2 rootfs.jffs2.
but, when I do: mount -t jffs2 /dev/mtdblock2 /mnt/flash ( or other name )...
a lot of: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0xxxxxxx : 0xyyyy instead
appears ( hundreds ... )
I googled a lot, but, apparently, many people have this problems, but, nobody knows the reason and mainly, nobody knows the solution.
Can someone bring light to this issue?