From: Gary Thomas <gthomas@redhat.com>
To: Cristiano Ligieri Pereira <cpereira@ics.uci.edu>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Port to Accelent IDP StrongARM SA1110
Date: Thu, 19 Jul 2001 10:24:00 -0000 [thread overview]
Message-ID: <XFMail.20010719112400.gthomas@redhat.com> (raw)
In-Reply-To: <Pine.SOL.4.20.0107190947460.19838-100000@washoe.ics.uci.edu>
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)
>>
next prev parent reply other threads:[~2001-07-19 10:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-18 15:50 Cristiano Ligieri Pereira
2001-07-18 19:32 ` Jonathan Larmour
2001-07-18 22:35 ` Cristiano Ligieri Pereira
2001-07-19 5:56 ` Gary Thomas
2001-07-19 9:57 ` Cristiano Ligieri Pereira
2001-07-19 10:24 ` Gary Thomas [this message]
2001-07-19 10:42 ` Cristiano Ligieri Pereira
2001-07-19 10:58 ` Gary Thomas
2001-07-19 12:02 ` Jonathan Larmour
2001-07-23 10:19 ` Cristiano Ligieri Pereira
2001-07-23 11:11 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=XFMail.20010719112400.gthomas@redhat.com \
--to=gthomas@redhat.com \
--cc=cpereira@ics.uci.edu \
--cc=ecos-discuss@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).