Hi,
I am working on TI OMAP3 platform and was looking to reduce the JFFS2 mount 
time (NAND). 

I have selected CONFIG_JFFS2_SUMMARY, but not working fully, its giving ECC 
error (at end of this email) after add a new file in JFFS2. 

Without this option its working fine; but taking long time to mount. Please let 
me know if I am missing anything 
-http://dev.omapzoom.org/pub/scm/integration/kernel-omap3.git

[*] JFFS2 summary support (EXPERIMENTAL)
i.e. CONFIG_JFFS2_SUMMARY=y
=> I have created and flushed jffs2 image with summary nodes, as-
sumtool -n -e 0x20000 -p -i rootdir.jffs2 -o rootdir-sum.jffs2


# mount -t jffs2 /dev/mtdblock4 /mnt
JFFS2 notice: (640) jffs2_build_xattr_subsystem: complete building xattr 
subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) 
found.
# umount /mnt
==> I checked this multiple time and no issue. 

# 
# mount -t jffs2 /dev/mtdblock4 /mnt
JFFS2 notice: (644) jffs2_build_xattr_subsystem: complete building xattr 
subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) 
found.
# vi /mnt/test.c (created a new file)
# umount /mnt

# mount -t jffs2 /dev/mtdblock4 /mnt
mtd->read(0x1fb04 bytes from 0x8de04fc) returned ECC error
mtd->read(0x9a74 bytes from 0x8df658c) returned ECC error
Empty flash at 0x08df6588 ends at 0x08df6800
JFFS2 notice: (656) jffs2_build_xattr_subsystem: complete building xattr 
subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) 
found.
mtd->read(0x7bc bytes from 0x8df6844) returned ECC error

Is there another way to fix the problem? Am I missing any patch or missing any 
configuration?

Thanks & regards,
Ghorai
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to