From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9204 invoked by alias); 30 May 2007 21:00:40 -0000 Received: (qmail 9196 invoked by uid 22791); 30 May 2007 21:00:40 -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:00:37 +0000 Received: from lvl7in-mail01.lvl7.com ([10.240.1.18]) by lvl7-trend01.lvl7.com with InterScan VirusWall; Wed, 30 May 2007 17:00:33 -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:03:00 -0000 Message-ID: References: <20070530191758.GF32489@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/msg00192.txt.bz2 Andrew, I'm using v2_0 jffs2. I'm running the test fileio1.c under jffs2/tests folder. I'm getting errors in creating the file "foo". Any pointers here. Device being mounted is - cdl_component CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 { # Flavor: data user_value "\"/dev/flash1\"" # value_source user # Default value: "\"/dev/flash1\"" }; cdl_option CYGNUM_IO_FLASH_BLOCK_OFFSET_1 { # Flavor: data user_value 0x000A0000 /* 0xbc0A0000*/ # value_source user # Default value: 0x00100000 }; cdl_option CYGNUM_IO_FLASH_BLOCK_LENGTH_1 { # Flavor: data user_value 0x800000 /* 8 MB */ # value_source user # Default value: 0x00100000 } **************************************************** INFO>: reading directory / : entry . [mode 00016f01 ino 80184530 nlink 1 size 0] : entry .. [mode 00016f01 ino 80184530 nlink 1 size 0] : create file /foo size 202 : access() returned 286326803 <4>Write error in obliterating obsoleted node at 0x007c0000: 1 <5>Write of %zd bytes at 0x00000044 failed. returned 8126476, retlen %z d <5>Write of %zd bytes at 0x0000002b failed. returned 8126544, retlen %z d regards, Alok -----Original Message----- From: Andrew Lunn [mailto:andrew@lunn.ch]=20 Sent: Thursday, May 31, 2007 12:48 AM To: Alok Singh Cc: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] JFFS2 - readme.txt On Thu, May 31, 2007 at 12:32:19AM +0530, Alok Singh wrote: > Hi, > I'm trying to use jffs2 on my box. Readme.txt under doc says that > minor modifications are necessary to eCos flash drivers(flash.c and > flash_program_buf.c for intel chip) and that these are supplied in > "jffs2/current/src" folder.=20 That is an old document. Ignore it. The current Intel flash drivers should work. 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