From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13424 invoked by alias); 1 Jun 2006 16:50:02 -0000 Received: (qmail 13359 invoked by uid 22791); 1 Jun 2006 16:50:01 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-27.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 01 Jun 2006 16:49:59 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 999) id 6E5F037C8076; Thu, 1 Jun 2006 09:43:59 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 95E9D195016E; Thu, 1 Jun 2006 09:43:55 -0600 (MDT) From: Gary Thomas To: Ram Sudhir Tadavarthi Cc: ecos-discuss@ecos.sourceware.org In-Reply-To: <20060601135337.89F41215207@gemmini.netco.de> References: <20060601135337.89F41215207@gemmini.netco.de> Content-Type: text/plain Date: Thu, 01 Jun 2006 16:50:00 -0000 Message-Id: <1149176634.7288.132.camel@hermes> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit 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 Subject: Re: [ECOS] any tool/strategy present in eCos to load ram image stored in flash and run it ??? X-SW-Source: 2006-06/txt/msg00008.txt.bz2 On Thu, 2006-06-01 at 16:07 +0200, Ram Sudhir Tadavarthi wrote: > Hi all, > > I am new to eCos. I have redboot working for my platform(PQ2FADS-ZU board). > Now I am creating ram images on the host and loading the ram images to the > target using the redboot load via tftp and running them successfully. > > However in production series, we would like to store the ram image in flash, > copy the image in ram and run it from ram. > > Is there any tool/strategy/option in eCos to do this? Can we configure > redboot to do it? > > In my point of view, most of you might have done this already. Can anybody > give me hint how to do this. This is exactly what the FIS (create/load) commands are for. You can create a boot script to load the image and execute it. To create the image: RedBoot> lo program_image RedBoot> fi create program To run it in your boot script: (boot) fi lo program (boot) g -- ------------------------------------------------------------ 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