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: Help -- Creating a FAT Filesystem on a NOR Flash Device


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


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