[Yaffs] yaffs2 two problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nickolay
Date:  
To: yaffs
Subject: [Yaffs] yaffs2 two problems
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

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?

--
Nickolay Vinogradov
Protei Reseach and Development Center
St.Petersburg, 194044, Russia
Tel.: +7 812 449 47 27