Re: [Yaffs] Access to files on a YAFFS2 image

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Laurie van Someren
Date:  
To: McCash John-GKJN37
CC: Charles Manning, yaffs
Subject: Re: [Yaffs] Access to files on a YAFFS2 image
John,
YAFFS Direct is the 'kernel' or heart of YAFFS. http://www.yaffs.net
has a lot of documentation including the YAFFS Direct User Guide as .pdf

I suggest you take a look at the range there is there.

LvS

On Wed, 2009-12-02 at 08:14 -0500, McCash John-GKJN37 wrote:
> Charles,
>     That sounds interesting, but I have no idea what you mean by
> "yaffs direct" or nand-on-file emulation. (though I'm looking through
> Google now, and I do see some references to "yaffs direct") Can you
> provide a link to documentation for mounting using this technique?
>         Thanks
>             John

>
> -----Original Message-----
> From:
> [mailto:yaffs-bounces@lists.aleph1.co.uk] On Behalf Of Charles Manning
> Sent: Tuesday, December 01, 2009 3:36 PM
> To:
> Subject: Re: [Yaffs] Access to files on a YAFFS2 image
>
> Another approach is to run this up in yaffs direct using a nand-on-file
> emulation.
>
> On Wednesday 02 December 2009 10:26:08 Charles Manning wrote:
> > What I suggest is that you first start off by running yaffs on the
> nandsim
> > then doing a dump from that and checking that looks like it should and
> that
> > you can then nandwrite that back.
> >
> > Once you can make the process work with just one device it is then a
> lot
> > easier to see why things don't work when importing from somewhere
> else.
> >
> > -- Charles
> >
> > On Wednesday 02 December 2009 01:57:04 McCash John-GKJN37 wrote:
> > > Charles,
> > >     OK, so we apparently do have the OOB data in these image dumps
> > > (obtained via the dump_image-arm tool included in nandroid), but
> when we
> > > attempt to upload them to a nand emulator (under Ubuntu) with
> 'nandwrite
> > > -a -o', we're still getting the error:

> > >
> > > Input file is not page-aligned. Use the padding option.
> > > Data was only partially written due to error
> > >
> > > : Success
> > >
> > >     Where do we go from here? Should this work, and if so, how do we
> > > determine exactly what the problem really is?

> > >
> > >         Thanks much for your help
> > >             John McCash

> > >
> > > _______________________________________________
> > > yaffs mailing list
> > >
> > > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
> >
> > _______________________________________________
> > yaffs mailing list
> >
> > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>
>
>
> _______________________________________________
> yaffs mailing list
>
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>
> _______________________________________________
> yaffs mailing list
>
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs

--
Laurie van Someren, Aleph One Ltd, Old Courthouse, Bottisham, CAMBRIDGE
CB25 9BA UK t: +44 (0)1 223 811 679 www.aleph1.co.uk & www.yaffs.net