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: redboot elf loader


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


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