[Yaffs] mkyaffs2image

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Abhishek Jain
Date:  
To: yaffs
Subject: [Yaffs] mkyaffs2image
When I generate a filesystem image thro mkyaffs2image util do i need to
specify any paramter for erasesize, page size, OOB infor etc. When i see the
help options of this util its fairly straight forward with no control
options.

While using nandwrite to flash this file system image I face errors

Writing data to block 0
pwrite: Invalid argument
Erasing failed write from 00000000-0001ffff
Writing data to block 20000
pwrite: Invalid argument
Erasing failed write from 00020000-0003ffff
Writing data to block 40000
pwrite: Invalid argument
Erasing failed write from 00040000-0005ffff
Writing data to block 60000
pwrite: Invalid argument
Erasing failed write from 00060000-0007ffff
Writing data to block 80000
pwrite: Invalid argument
Erasing failed write from 00080000-0009ffff
Writing data to block a0000
pwrite: Invalid argument
Erasing failed write from 000a0000-000bffff
Writing data to block c0000
pwrite: Invalid argument
Erasing failed write from 000c0000-000dffff
Writing data to block e0000
pwrite: Invalid argument
Erasing failed write from 000e0000-000fffff
Writing data to block 100000
pwrite: Invalid argument
Erasing failed write from 00100000-0011ffff
Writing data to block 120000
pwrite: Invalid argument
Erasing failed write from 00120000-0013ffff
Writing data to block 140000
pwrite: Invalid argument
Erasing failed write from 00140000-0015ffff
Writing data to block 160000
pwrite: Invalid argument
Erasing failed write from 00160000-0017ffff
Writing data to block 180000
pwrite: Invalid argument

I suspect this erros are due to mismatch of OOB.
-Abhi