From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2631 invoked by alias); 30 May 2007 21:41:51 -0000 Received: (qmail 2623 invoked by uid 22791); 30 May 2007 21:41:50 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.lvl7.com (HELO lvl7-trend01.lvl7.com) (66.192.95.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 May 2007 21:41:49 +0000 Received: from lvl7in-mail01.lvl7.com ([10.240.1.18]) by lvl7-trend01.lvl7.com with InterScan VirusWall; Wed, 30 May 2007 17:41:45 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 30 May 2007 21:58:00 -0000 Message-ID: References: <20070530191758.GF32489@lunn.ch> <20070530210643.GH32489@lunn.ch> From: "Alok Singh" To: "Andrew Lunn" Cc: Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] JFFS2 - readme.txt X-SW-Source: 2007-05/txt/msg00196.txt.bz2 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.=20 I erased the flash before running the test program. I think jffs2 file system was created, as seen from the logs- INFO>: reading directory / : entry . [mode 00016f01 ino 80184530 nlink 1 size 0] : 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:andrew@lunn.ch]=20 Sent: Thursday, May 31, 2007 2:37 AM To: Alok Singh Cc: Andrew Lunn; ecos-discuss@ecos.sourceware.org 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?=20 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