public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] - RAM File system
@ 2005-05-21 10:48 rpai
  2005-05-21 15:03 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: rpai @ 2005-05-21 10:48 UTC (permalink / raw)
  To: ecos-discuss


   hello ........

           I have an application that uses data given by the user. So the
question is how can i get data into the redboot , which format
of file I should store the data. I am using the RAM file
system....

       Can any one tell me a way to get data into redboot...


    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] 4+ messages in thread

* Re: [ECOS] - RAM File system
  2005-05-21 10:48 [ECOS] - RAM File system rpai
@ 2005-05-21 15:03 ` Gary Thomas
  2005-05-23  4:58   ` R. Vamshi Krishna
       [not found]   ` <428DFA6D.6010003@cse.iitb.ac.in>
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Thomas @ 2005-05-21 15:03 UTC (permalink / raw)
  To: rpai; +Cc: eCos Discussion

On Fri, 2005-05-20 at 19:06 +0530, rpai@it.iitb.ac.in wrote:
>    hello ........
> 
>            I have an application that uses data given by the user. So the
> question is how can i get data into the redboot , which format
> of file I should store the data. I am using the RAM file
> system....
> 
>        Can any one tell me a way to get data into redboot...

Why would you want the data "into RedBoot?"  If the application
needs the data, have it fetch it itself, e.g. using TFTP.

If you want the data to be permanent, then you could keep it in
a FLASH image (managed by RedBoot).  Since the RAM file system is
dynamic (purely created at runtime), you may need to fetch the
data in some other fashion and then load it into the RAM file system.
Another alternative would be to keep the data in some other form,
e.g. JFFS2 or ROM file system.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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] 4+ messages in thread

* Re: [ECOS] - RAM File system
  2005-05-21 15:03 ` Gary Thomas
@ 2005-05-23  4:58   ` R. Vamshi Krishna
       [not found]   ` <428DFA6D.6010003@cse.iitb.ac.in>
  1 sibling, 0 replies; 4+ messages in thread
From: R. Vamshi Krishna @ 2005-05-23  4:58 UTC (permalink / raw)
  To: eCos Discussion

Gary Thomas wrote:

>On Fri, 2005-05-20 at 19:06 +0530, rpai@it.iitb.ac.in wrote:
>  
>
>>   hello ........
>>
>>           I have an application that uses data given by the user. So the
>>question is how can i get data into the redboot , which format
>>of file I should store the data. I am using the RAM file
>>system....
>>
>>       Can any one tell me a way to get data into redboot...
>>    
>>
>
>Why would you want the data "into RedBoot?"  If the application
>needs the data, have it fetch it itself, e.g. using TFTP.
>
>If you want the data to be permanent, then you could keep it in
>a FLASH image (managed by RedBoot).  Since the RAM file system is
>dynamic (purely created at runtime), you may need to fetch the
>data in some other fashion and then load it into the RAM file system.
>Another alternative would be to keep the data in some other form,
>e.g. JFFS2 or ROM file system.
>
>  
>
And if we also create a file during the execution of the application and 
want to make it available to us
even after the termination of the application, what  do we have to do ?

For instance we would want to keep track of packets that violate a 
condition.
So to keep track of such things, we would want store this info for 
analysis offline.

-- Vamshi

-- 
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] 4+ messages in thread

* Re: [ECOS] - RAM File system
       [not found]   ` <428DFA6D.6010003@cse.iitb.ac.in>
@ 2005-05-23  5:02     ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2005-05-23  5:02 UTC (permalink / raw)
  To: R. Vamshi Krishna; +Cc: eCos Discussion

Please reply to the list so that all may benefit.  Private support
is available under contract only.

On Fri, 2005-05-20 at 20:25 +0530, R. Vamshi Krishna wrote:
> Gary Thomas wrote:
> 
> >On Fri, 2005-05-20 at 19:06 +0530, rpai@it.iitb.ac.in wrote:
> >  
> >
> >>   hello ........
> >>
> >>           I have an application that uses data given by the user. So the
> >>question is how can i get data into the redboot , which format
> >>of file I should store the data. I am using the RAM file
> >>system....
> >>
> >>       Can any one tell me a way to get data into redboot...
> >>    
> >>
> >
> >Why would you want the data "into RedBoot?"  If the application
> >needs the data, have it fetch it itself, e.g. using TFTP.
> >
> >If you want the data to be permanent, then you could keep it in
> >a FLASH image (managed by RedBoot).  Since the RAM file system is
> >dynamic (purely created at runtime), you may need to fetch the
> >data in some other fashion and then load it into the RAM file system.
> >Another alternative would be to keep the data in some other form,
> >e.g. JFFS2 or ROM file system.
> >
> >  
> >
> And if we also create a file during the execution of the application and 
> want to make it available to us
> even after the termination of the application, what  do we have to do ?
> 
> For instance we would want to keep track of packets that violate a 
> condition.
> So to keep track of such things, we would want store this info for 
> analysis offline.

You need some sort of persistent storage.  This could be a simple
snapshot of your data to FLASH (you'd have to just write the data
to the appropriate place in FLASH), or perhaps a real FLASH file
system, e.g. JFFS2

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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] 4+ messages in thread

end of thread, other threads:[~2005-05-20 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-21 10:48 [ECOS] - RAM File system rpai
2005-05-21 15:03 ` Gary Thomas
2005-05-23  4:58   ` R. Vamshi Krishna
     [not found]   ` <428DFA6D.6010003@cse.iitb.ac.in>
2005-05-23  5:02     ` Gary Thomas

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).