This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Copy redboot from Rom to RAM
- From: Gary Thomas <gthomas at redhat dot com>
- To: "Agarwal, Lomesh" <lomesh dot agarwal at intel dot com>
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 14 Apr 2002 05:40:16 -0600
- Subject: Re: [ECOS] Copy redboot from Rom to RAM
- References: <01BDB7EEF8D4D3119D95009027AE999512F65F46@FMSMSX33>
On Fri, 2002-04-12 at 14:20, Agarwal, Lomesh wrote:
> I am using ROM start up type. I saw in vectors.s that redboot is only
> copying exception handlers and rom_data_start - rom_data_end and then it
> zeors bss section.
> What about other sections?
> Shouldn't it text section also?
No, ROM startup mode means that the eCos program (or RedBoot) will
execute from the ROM - in situ.
If you want the program (eCos or RedBoot) to live in ROM but execute
from RAM, use ROMRAM startup mode (suitable for RedBoot or if your
embedded device only runs a single application) or put the application
into ROM/FLASH and use RedBoot to load it into RAM for execution.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss