This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Port to Accelent IDP StrongARM SA1110
- To: Cristiano Ligieri Pereira <cpereira at ics dot uci dot edu>
- Subject: Re: [ECOS] Port to Accelent IDP StrongARM SA1110
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Thu, 19 Jul 2001 11:24:00 -0600 (MDT)
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat, Inc.
On 19-Jul-2001 Cristiano Ligieri Pereira wrote:
>
> What if I want to load RedBoot a couple of megs from the start of RAM. Say
> 3 Megs after. I'm not clear on how exaclty this affects the memory map (if
> it affects whatsoever).
>
> The OS Loader on the board reads a special format generated by the
> Accelent proprietary tool. There you specify where one wants to load the
> images (RAM or ROM) and where the image must be loaded into (pretty much
> an offset from the RAM start).
>
> Do I have to add this offset to the addresses specified below?
>
Yes. The numbers [below] should be the exact base addresses for where
you want to load things.
Note: on the SA11x0, I don't think that you really want to be loading
RedBoot, or any eCos application, to such an address. Set up the memory
mapping to move the RAM to location 0 and then use standard memory maps.
> Thanks,
> Cristiano.
>
> ------------------------------------------------------------
> Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira
>
> On Thu, 19 Jul 2001, Gary Thomas wrote:
>
>>
>> On 19-Jul-2001 Cristiano Ligieri Pereira wrote:
>> >#include <cyg/infra/cyg_type.inc>
>> >
>> > MEMORY
>> > {
>> > ram : ORIGIN = 0x80000000, LENGTH = 0x2000000
>> > }
>> >
>> > SECTIONS
>> > {
>> > SECTIONS_BEGIN
>> > SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
>> > SECTION_rom_vectors (ram, 0x20000, LMA_EQ_VMA)
>> &&&&&&&
>>
>> These numbers (0x20, 0x20000) need to be within the "ram" section.
>> You probably want this
>>
>> > SECTION_fixed_vectors (ram, 0x80000020, LMA_EQ_VMA)
>> > SECTION_rom_vectors (ram, 0x800020000, LMA_EQ_VMA)
>>