[ECOS] Creating a file in JFFS2 within FIS
Paul D. DeRocco
pderocco@ix.netcom.com
Tue Jul 24 00:24:00 GMT 2007
> 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
More information about the Ecos-discuss
mailing list