[Yaffs] CONFIG_YAFFS_USE_GENERIC_RW

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ulla
Date:  
To: yaffs
Subject: [Yaffs] CONFIG_YAFFS_USE_GENERIC_RW
Hi,

I am using yaffs (CVS) (linux 2.6.8.1, mtd-snapshot: 20041005), and I am able
to mount the device properly, to write to the flash and erase from the flash.
But with CONFIG_YAFFS_USE_GENERIC_RW disabled copying back (or cat) doesn't
work, it is running in an endless loop. For example, catting a simple text
file will endlessly repeat the contents of that file. Copying a file will
not end & create a huge file at the destination. By enabling
CONFIG_YAFFS_USE_GENERIC_RW everything is ok. Can someone explain what are
the benefits of disabling CONFIG_YAFFS_USE_GENERIC_RW (like it is in the
default Makefile) and what are the exact differences between generic_rw and
yaffs_rw?

Thanks a lot
Ulla
--
Bluewater Systems Ltd - ARM Technology Solution Centre

        Ulrike Eisenmann                        Bluewater Systems Ltd
Phone: +64 3 3779127 (Aus +1 800 148 751)       Level 17, 119 Armagh St
Fax:   +64 3 3779135                            PO Box 13889
Email:                  Christchurch
Web:   http://www.bluewatersys.com              New Zealand