Re: [Yaffs] Write and mount nanddump img on flash

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Write and mount nanddump img on flash
On Sunday 12 June 2011 03:06:26 HuangAlex wrote:
> Hi,
>
> I am doing a project that need all of the data include valid and invalid on
> flash. So i just use ./nanddump -p -f rootfs.img /dev/mtd0 and try to get
> the whole information on flash. And when i try to write the new img to
> flash, it says:
>
> Image 519045120 bytes, NAND page 2112 bytes, OOB area 64 bytes, device size
> 268435456 bytes Input file does not fit into device: Success
> Data was only partially written due to error
>
> : Success
>
> Can anyone tell me whats wrong in it?


How did you try to write the image?