Re: [Yaffs] The Mtd-tools and nandsim

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Vitaly Wool
Date:  
To: yaffs
Subject: Re: [Yaffs] The Mtd-tools and nandsim
fs p,

"fs p" <> 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