Hi All,
 
I am working on kernel 2.6.14.3. I could successfully include the YAFFS  in to my kernel.
 
I created a yaffs2.img file using the command
 
"mkyaffs2image /my_dir yaffs2.img"
 
after this I erased the flash using
"flash_eraseall /dev/mtd1"
 
After this I used nand write to write the yaffs2.img to /dev/mtd1
 
nandwrite -a -p /dev/mtd1 /yaffs2.img
 
after this I mount the flash partition
 
mount -t yaffs2 /dev/mtdblock1 /mnt1
 
and do a 'ls'
 
ls  /mnt1
to see only lost+found
 
I then create a file using vi and edit the file
 
I do an "ls" i can see the file and its contents. I "umount" the partition and mount again I again see only lost + found
 
If I do a nanddump  I can see the contents of all the files that I had written!!!
 
Can anyone give me some pointers I have reached a dead end.
 
Thanks in advance.
 
regards,
shivas
 
 
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com