This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: both redboot and application 'ROM' startup
- From: Ross Younger <wry at ecoscentric dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 07 Sep 2010 10:17:01 +0100
- Subject: Re: [ECOS] both redboot and application 'ROM' startup
- References: <SNT137-w32229FA4ADC2DBF7A9ACC7A1710@phx.gbl>
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