This is the mail archive of the ecos-discuss@sources.redhat.com 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: RAM File System..........


What type of file system do you want? If a non-persistent read-only fs
is required you could use the romfs. The image is created by using a
tool that converts a directory structure into a single binary image (on
the host computer) that can then be linked with the application binary. 

A RAM FS is also available for creating files at runtime, but I do not
know of any way to generate an image like the romfs. 

We use the JFFS2 file system and have writen a dummy flash driver that
points to a location of static ram. JFFS2 uses a tool (like the romfs
one) to generate the starting image, and the filesystem can be writen to
at runtime.


-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of
rpai@it.iitb.ac.in
Sent: 29 May 2005 13:12
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] RAM File System..........



  hello........

          I dont have an FLASH memory....  is there another method with
which i can do it...

      only the way is hard code it to a file and include it...as the
included file will be a structure of field needed..... for eg........

like the rule....

struct rul rule[] ={{ 0xa50b810a,2000,0x911e810a,3000,"icmp",'y'},
                    { 0x482e810a,21,0xc1e810a,20002,"ftp",'n'},
                    { 0xbc0b810a,9000,0x9c0b810a,600,"678",'y'}};


but this isn't an efficent way.......  do u hae any other idea regarding
this..........

          Regards
                Pai

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


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