Hi
I'm back from a few days away...
Your approach is correct for these devices. Most devices are 32 pages of 512
bytes per block. These are 16 pages per device.
To work with the devices yoiu mentiuon, you need to use 16 chunks per block
as you have done.
-- Charles
On Tuesday 30 September 2003 18:40, Skumar wrote:
> Hi,
> you did not reply to this mail
>
> thanks
> Sharath kumar
> ----- Original Message -----
> From: "Skumar" <skumar@mistralsoftware.com>
> To: <manningc2@actrix.gen.nz>
> Sent: Friday, September 26, 2003 2:43 PM
> Subject: Re: Re:YAFFS URGENT No space left on device though space is there
>
> > Hi,
> > i am using samsung NAND flash part no K9F6408U0C
> >
> > Regards
> > Sharath
> > ----- Original Message -----
> > From: "Charles Manning" <manningc2@actrix.gen.nz>
> > To: "Skumar" <skumar@mistralsoftware.com>
> > Sent: Friday, September 26, 2003 1:00 PM
> > Subject: Re: Re:YAFFS URGENT No space left on device though space is
> > there
> >
> > > What kind of flash has 16 pages per block?
> > >
> > > On Thursday 25 September 2003 17:13, you wrote:
> > > > Hi,
> > > > the problem seems to be solved.
> > > > i changed
> > > > #define YAFFS_CHUNKS_PER_BLOCK 32
> > > > to
> > > > #define YAFFS_CHUNKS_PER_BLOCK 16
> > > > in yaffs_guts.h
> > > >
> > > > my NAND flash has 16 pages per block
> > > > i want to know what i have done is correct or not
> > > > should the user has to change this #define according to NAND flash?
> > > >
> > > > thanks
> > > > Reagrds
> > > > Sharath kumar
> > > >
> > > > ----- Original Message -----
> > > > From: "Charles Manning" <manningc2@actrix.gen.nz>
> > > > To: "Skumar" <skumar@mistralsoftware.com>; "yaffs"
> > > > <yaffs@toby-churchill.org>
> > > > Sent: Tuesday, September 23, 2003 12:21 AM
> > > > Subject: Re:YAFFS URGENT No space left on device though space is
> > > > there
> > > >
> > > > > When describing things like this I also need to see the contents of
> > > > > /proc/yaffs. Preferably take a snapshot of /proc/yaffs before and
> >
> > after
> >
> > > > the
> > > >
> > > > > problem isf it is easy to reproduce.
> > > > >
> > > > > How big is the file?
> > > > >
> > > > > -- CHarles
> > > > >
> > > > > On Monday 22 September 2003 21:23, Skumar wrote:
> > > > > > Hi,
> > > > > > i have done the following
> > > > > >
> > > > > > [root@Linux NAND]$df
> > > > > > Filesystem 1k-blocks Used Available Use% Mounted
> > > > > > on /dev/ram0 7931 4938 2584 66% /
> > > > > > /dev/mtdblock1 4080 128 3952 3% /mnt/NAND
> > > > > > [root@Linux NAND]$rz
> > > > > > rz waiting to receive.S[root@Linux NAND]$ls
> > > > > > lost+found plani.nv2
> > > > > > [root@Linux NAND]$cp plan plan1
> > > > > > [root@Linux NAND]$cp plan plan2
> > > > > > [root@Linux NAND]$cp plan plan3
> > > > > > [root@Linux NAND]$cp plan plan4
> > > > > > [root@Linux NAND]$cp plan plan5
> > > > > > cp: write: No space left on device
> > > > > > [root@Linux NAND]$df
> > > > > > Filesystem 1k-blocks Used Available Use% Mounted
> > > > > > on /dev/ram0 7931 4938 2584 66% /
> > > > > > /dev/mtdblock1 4080 2132 1948 52% /mnt/NAND
> > > > > > [root@Linux NAND]$cp plani.nv2 plani.nv25
> > > > > > cp: write: No space left on device
> > > > > > [root@Linux NAND]$
> > > > > >
> > > > > > there is a bad block in the mtd partition.this block is in the
> >
> > middle
> >
> > > > > > of this partition
> > > > > > i feel because of this problem has come.
> > > > > > the values in data block & out of band data is 0x00
> > > > > > How to solve this problem?
> > > > > >
> > > > > > Regards
> > > > > > Sharath
> >
> > -------------------------------------------------------------------------
> >
> > > > >-
> > > >
> > > > -
> > > >
> > > > > >------------ This mailing list is hosted by Toby Churchill open
> >
> > software
> >
> > > > > > (www.toby-churchill.org). If mailing list membership is no longer
> > > > > > wanted you can remove yourself from the list by sending an email
>
> to
>
> > > > > > yaffs-request@toby-churchill.org with the text "unsubscribe"
> >
> > (without
> >
> > > > the
> > > >
> > > > > > quotes) as the subject.
> >
> > -------------------------------------------------------------------------
> >
> > > > >-
> > > >
> > > > -------------
> > > >
> > > > > This mailing list is hosted by Toby Churchill open software
> > > >
> > > > (www.toby-churchill.org).
> > > >
> > > > > If mailing list membership is no longer wanted you can remove
>
> yourself
>
> > > > from the list by
> > > >
> > > > > sending an email to yaffs-request@toby-churchill.org with the text
> > > >
> > > > "unsubscribe"
> > > >
> > > > > (without the quotes) as the subject.
---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (
www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to
yaffs-request@toby-churchill.org with the text "unsubscribe"
(without the quotes) as the subject.