Re: [Yaffs] how much nand size can yaffs recognize ?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] how much nand size can yaffs recognize ?
On Friday 24 October 2008 22:19:59 Ken Yu wrote:
> Hi, all:
> In yaffs_guts.h, YAFFS_MAX_CHUNK_ID is 0x000FFFFF.
> If my nand flash page size is 2048 bytes, it means that the max nand size
> yaffs can recognize is 2GB.
> Am I right?



No.

That chunk Id refers to the chunk Id in a file (ie offset of chunk numbers
into a file).

That limits any one file to approx 2GB with 2048-byte chunks.

This limit can be reasonably easily lifted to cope with larger files.