This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot elf loader
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Artur Lipowski <LAL at pro dot onet dot pl>
- Cc: ecos discuss list <ecos-discuss at sources dot redhat dot com>
- Date: 29 Sep 2003 05:59:42 -0600
- Subject: Re: [ECOS] redboot elf loader
- Organization: MLB Associates
- References: <3F780EF0.7010407@pro.onet.pl>
On Mon, 2003-09-29 at 04:52, Artur Lipowski wrote:
> Hi,
>
> The problem is that I try use different LMA and VMA values in linker
> script and it seems that redboot loader uses (IMHO wrong) VMA instead of
> LMA as a destination address.
>
> The result I want to achieve is to put some code (ISR) in fast internal
> uC memory but because it cannot be done directly during code loading
> phase I do it "manually" by relocating code from initial loading address
> (LMA) to destination address (VMA).
> After I change a few lines of loader source (it now uses LMA address as
> a destination) all works (for me) very well but I am not sure if it is
> right solution.
>
Please show us what you've done (as is, this sounds like Fermat's last
theorem!) I'd like to understand why you think the current behaviour
is wrong and how it should behave.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss