This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How do I run applications from flash?


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.


Øyvind


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]