[ECOS] Re: Help -- Creating a FAT Filesystem on a NOR Flash Device

John Dallaway john@dallaway.org.uk
Fri Sep 11 13:51:00 GMT 2009

Hi Ramgopal

Ramgopal Kota wrote:

> I moved over to JFFS2. I created a jffs2.img file using mkfs.jffs2,
> loaded that file from boot loader into flash and all worked fine.  
> I want to know is any way to create a empty JFFS2 file system from
> ecos application itself rather than uploading the file from bootloader.
>     If(mount of JFFS fails) go and create empty File system
>     else continue further.

If JFFS2 is presented with a completely erased area of Flash then it
will create a new filesystem automatically when you call mount().

John Dallaway

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