[Yaffs] The Mtd-tools and nandsim

Vitaly Wool vwool at ru.mvista.com
Mon Jul 17 07:18:30 BST 2006


fs p,

"fs p" <fushipeng at gmail.com> wrote:

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

you should use char MTD interface (ie /dev/mtdX) for nandwrite.

Vitaly



More information about the yaffs mailing list