Re: [Yaffs] yaffs2 image

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] yaffs2 image
On Wednesday 23 June 2010 04:01:40 Viswanathan, Vijay wrote:
> Hello,
>
> I have an old device that uses yaffs2 and it runs I need to take an
> image of it so I could boot it off of it later incase I screw up my
> current files.
>
>
>
> I usually do dd if /dev/mtd1 and of nfsmount/backup-file


dd of a nand device will not record the spare/oob data where the tags are
stroed.

You should use nanddump.

>
>
>
> But unfortunately the backup-file doesn't bootup from my ppcboot.
>
>
>
> It said that it needs the first block to be empty hence I opened the
> binary file and removed the whole block but now it says bad page.


What said that?

This is no longer a requirement.

>
>
>
> Plz help create a bootable yaffs2 image.
>
>
>
> I used the tools ./mkyaffs2image / imagefile


>
>
>
> But the imagefile seems to be too big and got stuck at Object 1231,
> //proc/cpuinfo is a file, 1 data chunks written


How did you write it in?