Re: [Yaffs] Search help for read yaffs chunk information

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Search help for read yaffs chunk information
On Wednesday 20 October 2010 17:41:35 黄柏一 wrote:
> Hi guys,
>
> Recently i want to do some research on yaffs. I have a question. I already
> set up a yaffs based flash memory using nandsim. Here i want to do the
> following things. I want to find the information about one specific chunk,
> for example, yaffs is setup by arrange many chunks, i give you a number N
> which is the number in the index. I want to find what is the chunkId,
> parentsId, belongs to which object for this N. Can some one help me to
> figure out this question? Thank you so much.


Hello Alex

For in depth information I suggest you first read this:
http://www.yaffs.net/files/yaffs.net/HowYaffsWorks.pdf

The garbage collection code needs to do what you are asking about. It reads
the tags from the chunks in a block and then figures out what object it
belongs to.

-- CHarles