[Yaffs] The Mtd-tools and nandsim

fs p fushipeng at gmail.com
Mon Jul 17 04:06:07 BST 2006


Hi:
I am attempting to use yaffs on the  nandsim . But there is a problem when
I use the nandwrite :

#mkyaffsimage  /opt  yaffs.img
#flash_erase /dev/mtdblock0
#nandwrite /dev/mtdblock0 yaffs.img
MEMGETINFO: Inappropriate ioctl for device


and I straced it , found :

ioctl(3, MTRRIOC_SET_ENTRY, 0xbfe952e4) = -1 ENOTTY (Inappropriate ioctl for
device)

Why? I think the problem is cause by nadsim. BTW the flash_eraseall have the
same problem.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aleph1.co.uk/pipermail/yaffs/attachments/20060717/5a8ff409/attachment.htm


More information about the yaffs mailing list