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


I am using IQ80310 board and it doesn't support ROMRAM startup type. So, to
convert ROM startup type to ROMRAM, what needs to be done?
One thing which I know is to copy whole RedBoot in RAM. I looked at mips
sources and it looks like that I should copy (starting address of ROM to
__ram_data_end) from flash to RAM. Right?
Is there anything which needs to be done?

Thanks,
Lomesh

-----Original Message-----
From: Gary Thomas [mailto:gthomas@redhat.com] 
Sent: Sunday, April 14, 2002 4:40 AM
To: Agarwal, Lomesh
Cc: eCos Discuss
Subject: Re: [ECOS] 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]