Hi to all,
Are there anyone who are able to write jffs2 image to NAND on UBOOT and can mount it?
What I did and could not manage is as follows:
***creating jffs2 image***
target$ mkfs.jffs2 -n -r ram -e 16 -o rootfs.jffs2
***wrting jffs2 image from uboot***
uboot$ tftp 0x82000000 filesys.jffs2
uboot$ nand erase 0x2460000 0xde8200
uboot$ nand write 0x82000000 0x2460000 0xde8200
***mounting the filesys***
mount -t jffs2 /dev/mtdblock4 /mnt/flash
***ERROR messages flowing through***
mtd->read(0x400 bytes from 0x0) returned ECC error
mtd->read(0x3c38 bytes from 0x3c8) returned ECC error
mtd->read(0x400 bytes from 0x4000) returned ECC error
mtd->read(0x3850 bytes from 0x47b0) returned ECC error
***image versions that I used***
ubl: DM644x_FlashAndBootUtils_2_00
uboot: arago boot v2010.09
uImage: mvl_4.0.1
Thanks and best regards,
Ferhat