Re: [Yaffs] YAFFS2 on 512byte page NAND

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