[Yaffs] mounting shows lost+found only

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Syed Ismail
日付:  
To: yaffs
題目: [Yaffs] mounting shows lost+found only

Hi
I am having problems using yaffs2 on nand chip(2KB page size) on my mx31 ads based board.
I got the yaffs2 from http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/ and integrated it with 2.6.22 kernel.

Did flash_eraseall on a nand mtd partition of 2 MB.
1) Then mounted it as yaffs2 in a directory, mnt
ls showed
lost+found

copied a file into mnt, acceseed,mosidifed file and listed it. Fine
Then unmounted.
Nanddump -p showed data lots of values other than 0xff,meaning data is present.

2)When i mounted same partition again, all i got was lost+found
ls showed
lost+found

The file i copied before dissapeared.
Also nanddump showed only 0xff values throughout the partition.

Any help appreciated.

P.S. I have successfully used jffs2 on the same board and same chip.