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]

Re: Copy redboot from Rom to RAM


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


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