Hi:<br>I am attempting to use yaffs on the&nbsp; nandsim . But there is a problem when&nbsp; I use the nandwrite :<br><br>#mkyaffsimage&nbsp;  /opt&nbsp; yaffs.img<br>#flash_erase /dev/mtdblock0<br>#nandwrite /dev/mtdblock0 yaffs.img<br>MEMGETINFO: Inappropriate ioctl for device
<br><br><br>and I straced it , found :<br><br>ioctl(3, MTRRIOC_SET_ENTRY, 0xbfe952e4) = -1 ENOTTY (Inappropriate ioctl for device)<br><br>Why? I think the problem is cause by nadsim. BTW the flash_eraseall have the same problem.
<br><br>Regards.<br>