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.