but as the size of treenode is 32bytes and one treenode contains 8 or 16 physical chunk id. if one chunk equals one page that has 2kb data,so that one file can be as large as  2^16 * 2KB=128MB. that's what i mean.

what does chunk_group and tnode_size used for?
i'm confused about tnode_size and chunk_group in the sourcecode.

2011/12/5 <yaffs-request@lists.aleph1.co.uk>
Send yaffs mailing list submissions to
       yaffs@lists.aleph1.co.uk

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
or, via email, send a message with subject or body 'help' to
       yaffs-request@lists.aleph1.co.uk

You can reach the person managing the list at
       yaffs-owner@lists.aleph1.co.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of yaffs digest..."


Today's Topics:

  1. Re: how to extend the size of a file and the number of    files?
     (Charles Manning)


----------------------------------------------------------------------

Message: 1
Date: Mon, 5 Dec 2011 07:33:50 +1300
From: Charles Manning <manningc2@actrix.gen.nz>
To: yaffs@lists.aleph1.co.uk
Subject: Re: [Yaffs] how to extend the size of a file and the number
       of      files?
Message-ID: <201112050733.50893.manningc2@actrix.gen.nz>
Content-Type: text/plain;  charset="utf-8"

On Friday 02 December 2011 19:24:45 ?? wrote:
> as source code shows,in default mode,yaffs can only locate 128M flash
> memory.

I don't know how you figure that out. yaffs can access many Gbytes of flash no
problem.

> To extend this limition,can use chunk_group or modify tnodesize.
> but how? and what's the limition?

You don't need to do anything. yaffs already handles this.

-- Charles





------------------------------

_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs


End of yaffs Digest, Vol 79, Issue 4
************************************



--
Best wishes for you,
Ezio.