Re: [Yaffs] Difficulties upgrading to Kernel 2.6 and Yaffs2

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: ian@brightstareng.com
Date:  
To: yaffs, Stephen Beaver
Subject: Re: [Yaffs] Difficulties upgrading to Kernel 2.6 and Yaffs2
Stave,

On Wednesday 25 July 2007 11:22, Stephen Beaver wrote:
> CONFIG_YAFFS_FS=y
> CONFIG_YAFFS_YAFFS1=y
> CONFIG_YAFFS_9BYTE_TAGS=y


You probably don't want the (new) option CONFIG_YAFFS_9BYTE_TAGS
turned on, do you? This option was on by default when Charles
merged the "9 byte tags" support on July 18th. This was fixed
in moduleconfig.h revision 1.7 2007-07-23 19:10:11, where it
is now off by default.

This may not have anything to do with your bad-block markings.
I recommend you disable bad-block marking by hacking MTD
while you get Yaffs working.

To check if the Yaffs/MTD setup is working for your particular
Yaffs/MTD versions, try running Yaffs with MTD's nandsim. After
you populate the Yaffs fs with some test files, you can unmount
and remount the fs to see if Yaffs can reconstruct the fs from
the nand(sim) data, and you and compare the files. This should
give you/us some confidence that your Yaffs/MTD config/api is
workable.

-imcd