Re: [Yaffs] YAFFS2 on 512byte page NAND

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Sudeep K N
Date:  
To: Charles Manning
CC: yaffs
Subject: Re: [Yaffs] YAFFS2 on 512byte page NAND
Charles,

Thanks for your response.
The YAFFS2 image has a sequence of 2K data chunk followed 64 bytes
of tag/metadata. For 2K page that have access to spare area, this can go
into single page main + spare area. But for 512 byte page NAND device,
how do we need to write this 2048+64 bytes.

I understood the mounting part as you have mentioned in the mail,
we are using boot loader to write the image and would be interested to
know how this data needs to be written on a 512+16 byte page NAND device.

--
Regards,
Sudeep


On Fri, Apr 23, 2010 at 5:55 AM, Charles Manning
<> wrote:
> On Friday 23 April 2010 04:32:58 Sudeep K N wrote:
>> Hi,
>>
>> Has anyone tried to use YAFFS2 on 512byte page NAND device?
>> As I know YAFFS2 supports >=2K byte page size.
>> What are the steps that needs to be taken to get YAFFS2 work on 512
>> byte page NAND?
>> Looks like there is an option of inband tags but I could not understand
>> how to use the same.
>
> There are 2 options:
>
> 1) If you have access to the oob/spare area on the NAND then you can try using
> the yaffs2 code in yaffs1 backward compatibility mode.
>
> # mount -t yaffs /dev/mtdblock0 /y
>
> 2) If you do not have access to the oob/spare area then try the inband tags
> mode.
>
> # mount -t yaffs2 -o"inband-tags" /dev/mtdblock0 /y
>
> -- Charles
>