> 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:[EMAIL PROTECTED] 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to