[ECOS] How do I run applications from flash?

Nick Garnett nickg@ecoscentric.com
Thu May 15 17:07:00 GMT 2003


Ø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



More information about the Ecos-discuss mailing list