[Yaffs] nandwrite ioctl(MEMWRITEOOB): Input/output error

fs p fushipeng at gmail.com
Wed Jul 19 01:15:06 BST 2006


Hi:

I have a board with  512B page size nandflash . I use  the yaffs2 source
code  (because the kernel  I choose is 2.6 and the MTD ... ),but I mount
flash as yaffs .
My problem is after
#nandwrite -a -o /dev/mtd0 root.yaffs
Writing data to block 0
ioctl(MEMWRITEOOB): Input/output error
Data did not fit into device, due to bad blocks
: Illegal seek


I think there is no bad block in the flash( never write it before ).
The root.yaffs is maded by mkyaffsimage ,I think problem is nandwrite OOB
info to flash  .
My step is :
# flash_eraseall /dev/mtd0
#mkyaffsimage root root.yaffs
#nandwrite -a -o /dev/mtd0 root.yaffs
Is there something wrong ?


Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aleph1.co.uk/pipermail/yaffs/attachments/20060719/58d41222/attachment.html


More information about the yaffs mailing list