From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4110 invoked by alias); 20 May 2005 15:04:23 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 2215 invoked from network); 20 May 2005 15:03:42 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org with SMTP; 20 May 2005 15:03:42 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 3D1E36FC0CB; Fri, 20 May 2005 09:03:42 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id D559E6FC0C9; Fri, 20 May 2005 09:03:40 -0600 (MDT) From: Gary Thomas To: "R. Vamshi Krishna" Cc: eCos Discussion In-Reply-To: <428DFA6D.6010003@cse.iitb.ac.in> References: <32942.10.129.11.162.1116596162.squirrel@www.it.iitb.ac.in> <1116596583.22383.135.camel@hermes> <428DFA6D.6010003@cse.iitb.ac.in> Content-Type: text/plain Date: Mon, 23 May 2005 05:02:00 -0000 Message-Id: <1116601420.22383.141.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] - RAM File system X-SW-Source: 2005-05/txt/msg00285.txt.bz2 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