This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
redboot elf loader
- From: Artur Lipowski <LAL at pro dot onet dot pl>
- To: ecos discuss list <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 29 Sep 2003 12:52:32 +0200
- Subject: [ECOS] redboot elf loader
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.
Regards,
--
Artur Lipowski
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss