From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31770 invoked by alias); 15 Jun 2005 19:48:51 -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 31707 invoked by uid 22791); 15 Jun 2005 19:48:40 -0000 Received: from sta-206-168-96-204.rockynet.com (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 15 Jun 2005 19:48:40 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id DCB8B10005A; Wed, 15 Jun 2005 13:48:36 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 080B210000F; Wed, 15 Jun 2005 13:48:36 -0600 (MDT) From: Gary Thomas To: Ali Sina Cc: eCos Discussion In-Reply-To: References: Content-Type: text/plain Date: Wed, 15 Jun 2005 19:48:00 -0000 Message-Id: <1118864915.13965.149.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] E7T ROMRAM startup anyone? Alternatives? X-SW-Source: 2005-06/txt/msg00111.txt.bz2 On Wed, 2005-06-15 at 19:39 +0000, Ali Sina wrote: > Hello all, > > another E7T question - > has anyone succeeded at implementing a ROMRAM startup for the ARM E7T? > > Or what other options are there for having an app. stored in ROM (see my > previous posts) and have it run from RAM? > > Can I somehow use Redboot "mcopy" in an automated way (i.e. upon startup) to > copy it from ROM to RAM and start it from RAM? (assuming the app was > compiled to run from RAM, of course) > > Any other ideas of how to achieve ROMRAM type of behavior? ROMRAM startup mode is really only for *the* monitor program, e.g. RedBoot. It's purpose is to take a program which has to run from FLASH/ROM from the start (e.g. the system initialization code) and allow it to run from RAM after some suitable minimal setup. RedBoot has FIS (FLASH Image System) which can store images. These can be programs or data. You simply put your RAM program into a FIS image then load and execute it at boot time. Sadly, I think the E7T has such little FLASH &/or RAM that these features are normally left turned off. -- ------------------------------------------------------------ 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