[Yaffs] The Mtd-tools and nandsim

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: fs p
Date:  
To: yaffs
Subject: [Yaffs] The Mtd-tools and nandsim
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.