Hi Sergey,
Thanks very much for all of the help.
I've got just one more question, if you don't mind. I promise not
to bug you after this one ;-)
The issue for us in using the mkyaffs2image or the nandwrite is
that we would have to tftp around these huge files that represent
each of our yaffs partitions. So for example, when we want to format
a yaffs partition we would have to do:
flash_eraseall --jffs2 /dev/mtd1
nanddump -l 1 /dev/mtd1 > fs1r.bin
nandwrite -n -o /dev/mtd1 fs1r.bin
I could skip step 2 above but it would require me to tftp over the
fs1r.bin image which is quite large.
It would be really nice if there is a way to yaffs erase a partition
without either 1) making files on-the-fly or 2) tftp'ing over big
partition files. Can you tell me what you think is the best
(easiest?) way to accomplish this?
Thanks very much.
Rick
> On Tue, 17 Jul 2007, Rick Bronson wrote:
>
> Yes, I did.
>
> I did not do mkyaffs. It's not needed. You just erase the NAND with MTD
> utils then copy the image generated with mkyaffs2image with nand_copy or
> however it's called with the option telling that image contains OOB data.
>
> Sorry, I don't have time to return to that YAFFS thing right now, being busy
> with TI DaVinci hardware bringup etc. I will return to it in probably a
> month to properly port it to the new kernels with all the tools etc.
>
> > Hi Sergey,
> >
> > Did you get my last email? Just wondered...
> >
> > Thanks much.
> >
> > Rick
> >
> > ------------------------------------------------------
> > To: ksi@koi8.net
> > In-reply-to: <Pine.LNX.4.64ksi.0707112044110.6146@home-gw.koi8.net>
> > Subject: Re: mkyaffs for yaffs2
> > Reply-To: rick@efn.org
> > References: <E1I8LKZ-0001kX-00@amazonia.comcast.net>
> > <Pine.LNX.4.64ksi.0707102125500.28700@home-gw.koi8.net>
> > <E1I8cfI-00018c-00@amazonia.comcast.net>
> > <Pine.LNX.4.64ksi.0707112044110.6146@home-gw.koi8.net>
> >
> > Oops.
> >
> > Actually, I was looking for a mkyaffs.c that I can use to erase a
> > partition and format it to yaffs. mkyaffs2image doesn't do me much
> > good. Maybe I misunderstood your mailing list posting
> > http://lists.aleph1.co.uk/pipermail/yaffs/2006q2/001985.html
> >
> > Or maybe you are implying that I need to take you changes to
> > mkyaffs2image and apply them to the old mkyaffs.c???
> >
> > Thanks,
> >
> > Rick
> >
>
> ---
> ******************************************************************
> * KSI@home KOI8 Net < > The impossible we do immediately. *
> * Las Vegas NV, USA < > Miracles require 24-hour notice. *
> ******************************************************************
>