public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RAM File System..........
@ 2005-05-31  8:51 rpai
  0 siblings, 0 replies; 2+ messages in thread
From: rpai @ 2005-05-31  8:51 UTC (permalink / raw)
  To: ecos-discuss


  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [ECOS] RAM File System..........
@ 2005-05-31 12:20 Retallack, Mark (Siemens)
  0 siblings, 0 replies; 2+ messages in thread
From: Retallack, Mark (Siemens) @ 2005-05-31 12:20 UTC (permalink / raw)
  To: rpai; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-31  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-31  8:51 [ECOS] RAM File System rpai
2005-05-31 12:20 Retallack, Mark (Siemens)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).