This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: JFFS2 - readme.txt


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 /
<INFO>: entry              . [mode 00016f01 ino 80184530 nlink 1 size 0]
<INFO>: entry             .. [mode 00016f01 ino 80184530 nlink 1 size 0]
<INFO>: create file /foo size 202
<FAIL>: 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] 
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. 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]