Re: [Yaffs] YAFFS on kernel 2.4

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ramesh Chaurasiya
Date:  
To: Nick Bane
CC: Yaffs
Subject: Re: [Yaffs] YAFFS on kernel 2.4
Hi,
In 2.4 series there is no patch available for kernel 2.4.25 for XScale.
You suggested to get 2.4.25, this time I took the following from 2.4.25
1. entire "fs" directory
2. entire "driver/mtd/nand" directory
3. whatever files that were required to get kernel compiled that
includes various header files, many files from "drivers/mtd" source
files from directory "lib" etc etc.

Here also (after mounting yaffs partition) I am getting the same error
"cp: cannot create regular file `abc': Cannot allocate memory"
and finally "df" shows that there is no space on the NAND partition.

>From NAND flash point of view I am using the code from kernel 2.4.25,

which worked for you, so why its giving that error OR is there
anything which I am doing wrong? Please help me to fix it up.


Regards,
Ramesh


On 6/17/05, Nick Bane <> wrote:
> > Hi,
> > Source for kernel 2.4.19 is also there at husaberg.toby-churchill.com,
> > I am working on PXA 255 board with kernel 2.4.19 as no patches are
> > available for kernel 2.4.25 for XScale.
> > I got the NAND flash worked on 2.6 kernel (tried jffs2) but for some
> > reasons, I have to stick with the 2.4 kernel.
> >
> I haven't maitained 2.4.29 for a long while now. I consider ot obsolete. However, I believe it to have worked fine with the mtd/yaffs at that time.
>
> > I used 2.4.19 from the above site, I got YAFFS mounted successfully
> > command "df" shows entire partition is empty but if I copy any data on
> > to the NAND partition it takes too much time and finally gives error
> > message
> > "cp: cannot create regular file `abc': Cannot allocate memory"
> > Now "df" shows that there is no space on the device
> > Can any one help me out to fix it up.
> >
> Hmm. I remember that one. I am pretty sure it was fixed in later versions of the kernel+yaffs.
>
>
> > The source that I got doing wget from husaberg.toby-churchill.com, has
> > few files missing and is not getting compiled therefore from that
> > source I used ...
> > 1. fs/yaffs
> > 2. mtd/mtdpart.c
> > 3. drivers/mtd/nand and
> > 4. required header files only (can this be the reason for?)
> > Is anywhere tar compressed archive available for same source?
> >
> I suggest trying a wget of the 2.4.25 series. The latest can be downloaded via viewcvs and/or subversion.
>
>
>
> Nick
>
> > Thanks,
> > Ramesh
> >
> > On 6/13/05, Nick Bane <> wrote:
> > > Look at husaberg.toby-churchill.com/balloon/ and wget the
> > 2.4.25-vrs2-tcl1 tree.
> > >
> > > Nick Bane
> > >
> > > > -----Original Message-----
> > > > From:
> > > > [mailto:yaffs-admin@stoneboat.aleph1.co.uk]On Behalf Of Ramesh
> > > > Chaurasiya
> > > > Sent: 13 June 2005 16:13
> > > > To:
> > > > Subject: [Yaffs] YAFFS on kernel 2.4
> > > >
> > > >
> > > > Hi,
> > > > I am trying to get NAND flash work on kernel 2.4
> > > > can anyone please tell me from where can I get yaffs source
> > > > appropriate for kernel 2.4
> > > >
> > > > The source available today at
> > http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/
> > > > seems to be meant for kernel 2.6
> > > >
> > > > --
> > > > Thanks,
> > > > Ramesh
> > > >
> > > > _______________________________________________
> > > > yaffs mailing list
> > > >
> > > > http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
> > > > --
> > > > No virus found in this incoming message.
> > > > Checked by AVG Anti-Virus.
> > > > Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/06/2005
> > > >
> > > --
> > > No virus found in this outgoing message.
> > > Checked by AVG Anti-Virus.
> > > Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/06/2005
> > >
> > >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.323 / Virus Database: 267.7.5/18 - Release Date: 15/06/2005
> >
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.7.5/18 - Release Date: 15/06/2005
>
>



--
Regards,
Ramesh