Andrew, I'll use current CVS version now. The ecos reference manual says that - No file system needs to be created in advance for JFFS2. A new file system image will be instantiated if JFFS2 is pointed at an erased Flash area. Similarly if JFFS2 is pointed at a non-erased Flash area that does not contain valid JFFS2 markers, it will refuse to mount it to prevent destruction of data. I erased the flash before running the test program. I think jffs2 file system was created, as seen from the logs- INFO>: reading directory / <INFO>: entry . [mode 00016f01 ino 80184530 nlink 1 size 0] <INFO>: entry .. [mode 00016f01 ino 80184530 nlink 1 size 0]
Plz let me know if my understanding is correct or do I need to create a test file system.. regards, Alok -----Original Message----- From: Andrew Lunn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 2:37 AM To: Alok Singh Cc: Andrew Lunn; [email protected] Subject: Re: [ECOS] JFFS2 - readme.txt On Thu, May 31, 2007 at 02:30:27AM +0530, Alok Singh wrote: > Andrew, > I'm using v2_0 jffs2. Old, very old, 4 years and 10 days old. I would suggest you update to anoncvs. I'm running the test fileio1.c under jffs2/tests > folder. I'm getting errors in creating the file "foo". Any pointers > here. Do you put the test filesystem into the flash? Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
