[ECOS] both redboot and application 'ROM' startup

Ross Younger wry@ecoscentric.com
Tue Sep 7 09:17:00 GMT 2010


qiulinyuan wrote:
> Gernally, RedBoot use startup type "ROM", and application use startup type "RAM", then we can use RedBoot "load" application into ram and "go" it.
> But I want to set both the redboot and application of ecos execute in flash.
> 
> I have got some informations from this mailing list about this problem.

This is what RedBoot's FIS is for. Build your RAM application as normal,
load it into RedBoot with the "raw" option, then tell RedBoot to write it
into the FIS. You can even have your application automatically boot if you
configure RedBoot to use a startup script.

>I have known that the files rom.ldi and rom.h in the pkgconf directory
should >be modified before compiling the application.

You shouldn't normally need to modify those.


Ross

-- 
Embedded Software Engineer, eCosCentric Limited.
Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK.
Registered in England no. 4422071.                  www.ecoscentric.com

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



More information about the Ecos-discuss mailing list