This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Insight + eCos +Jeeni
- To: "Nicola Bergamin [BW]" <nicola dot bergamin at bluewind dot it>
- Subject: Re: [ECOS] Insight + eCos +Jeeni
- From: Grant Edwards <grante at visi dot com>
- Date: Thu, 23 Aug 2001 10:34:18 -0500
- Cc: ecos-discuss at sources dot redhat dot com
- References: <3B8534CD.10282.1932FCC@localhost>
On Thu, Aug 23, 2001 at 04:52:29PM +0200, Nicola Bergamin [BW] wrote:
> I am using Jeeni with Cirrus Logic
> EP7209(ARM720), plus Gnu GDB toolchain.
>
>
> I don't know how to force GDB to load the code
> starting at phisical address 0 !!!
> Example:
> I try to use Insight to debug the hello.exe eCos
> example.
> We have phisical RAM at zero(ncs0) (this
> replaces program ROM, for debugging pourposes).
>
> I cannot understand where phisically GDB tries
> do load the code.
GDB loads the file wherever the object file says it's supposed
to. That's determined by the linker.
> Ok, the debug informations say that the LMA
> start address is 0xe000,0000, but it is obvious
> that the real, phisical load address should be
> the neat 0x0 (Reset vector).
If you want an LMA of 0, you need to fix your memory layout so
that the LMA is 0. Either edit your HAL's .ldi file, or use
the configtool.
--
Grant Edwards
grante@visi.com