This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How do I run applications from flash?
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: 15 May 2003 15:58:20 +0100
- Subject: Re: [ECOS] How do I run applications from flash?
- References: <000301c31ae6$a2c733b0$73dea8c0@lair>
Øyvind Harboe <oyvind.harboe@zylin.com> writes:
> I'm having trouble finding any documentation on how to
> configure my build environment to build applications that
> run from flash.
>
> Where should I look?
>
> A knudge in the right direction would be greatly appreciated.
>
>
>
> All the samples I find seem to assume that Redboot is
> written to flash, and then the application is loaded
> into ram before it is executed. (Either via a terminal
> program or GDB).
>
> I'm using EB40a, which has 2MB flash and 256k ram, hence
> I can't run the entire appliation from RAM.
>
> I'm guessing its going to be along the lines of:
>
>
> ecosconfig new eb40a default
> ecosconfig import <flashapp.ecm>
> ecosconfig tree
> make
>
>
> I've started to modify the repository to add a "flashapp.ecm",
> but it seems odd that such a configuration exists for redboot_ROM.ecm,
> but not for the application running from flash.
>
It should in theory just be a change of startup type from RAM to ROM
for the application. Something that most people do in the configtool.
There shouldn't be any real need for a flashapp.ecm file in the
repository.
You're right, however, that there doesn't appear to be any clear
explanation of how the startup types are used.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss