Re: [Yaffs] yaffs filesystem on 8k page nand device!!!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: Murali N
Subject: Re: [Yaffs] yaffs filesystem on 8k page nand device!!!
This is the yaffs discussion list.

Your question is really about how to implement a nand driver.

I suggest you first have a look at the Linux mtd info and ask these questions
in the mtd forum. http://www.linux-mtd.infradead.org/

-- Charles



On Thursday 03 December 2009 03:26:27 Murali N wrote:
> Hi All,
>
> i have another question
>
> If MTD tells the page size as 8K to the YAFFS, then YAFFS generate the
> 8K page aligned to/from addresses.
> Here i am not understanding how do i handle the 8K page read/write
> request on two physically separate NAND 4K page flash devices? ( I am
> assuming i have 8K page device virtually by combining 2 4K devices )
>
> If my driver accept the 8K page read/write request, then it try to
> write the 4K size data into one NAND flash
> and remaining 4K size data into another NAND flash.But ultimately i am
> not writing anything to the next 4K on any
> of the NAND flash device, so waste would be 8K bytes.
>
> If the another page read/write request comes that address aligned to
> 8K page size again.
>
> In this case how do i read/write 8K page request from the YAFFS!!!
>
> Thanks
>
> On Tue, Dec 1, 2009 at 6:55 PM, Murali N <> wrote:
> > Hi All,
> > I am implementing the interleave feature using two 4K page NAND
> > devices.I have few questions like
> >    1) Did any one try the YAFFS file system on 8K page nand devices (
> > this is simulating 8k using two 4K devices )?
> >    2) Does yaffs2 handle the 8K page request from MTD driver as a
> > normal page size requests like 4K & 2K?
> >    3) Do i need to takecare anything additionally while enabling the
> > 8K page request!!!
> >
> > Thanks & Regards
> > murali N