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: Creating a file in JFFS2 within FIS


> From: Alok Singh
> 
> You can find the sample test code at: 
> ecos/packages/fs/jffs2/current/tests.
> ********************
> mount( CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1, "/", "jffs2" );
> 
> will work. Look for CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 in 
> your ecos.ecc file. It will "/dev/flash1", or something. 
> 
> CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 is the device that will 
> be mounted.
> 
> "/" is fine. This will be your current default directory.

That particular macro and name appear to relate to the legacy driver. It
sounds like what I need to do, with the version 2 driver, is mount
"/dev/flash/fis/jffs2" as "/". I'll try it tomorrow, when I get back to the
board. Thanks.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.com 


-- 
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]