On Thursday 28 September 2006 07:25, Nickolay wrote: > Hello! > > The first problem. > > Checkout today Yaffs2 from CVS, and has problem with unresolved symbols. > Resolve problem by adding to Makefile: > yaffs2-objs += yaffs_nand.o yaffs_checkptrw.o yaffs_qsort.o Thanks. > > The next problem with write speed on yaffs2 partition. > I'm newbe to Yaffs2, and always use jffs2 before. > > What i do: > Create yaffs2 image: mkyaffs2image /some/dir disk.img > write image to the MTD device: nandwrite -p /dev/mtd7 disk.img > mount: mount -t yaffs2 /dev/mtdblock7 /mount/point. > write speed to /mount/point is ~120Kb/sec. > > On the same MTD device, jffs2 show me ~560Kb/sec. > > Why such difference? What does your test file look like? If it is highly comressable, then jffs2 will be much faster. See some recent postings on this. Also, you might be having some tags corruption problems which will slow the speed. Try staring with an erased flash.