This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Simple Redboot Q's
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Matt Sartori <msartori at hanoverdisplays dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 26 Jul 2005 18:30:20 +0200
- Subject: Re: [ECOS] Simple Redboot Q's
- References: <F9885E669725F248A1F6DB9109FDD679357120@Molly.hanover.local>
> >Unless your code is position independent (or very smart), this is most
> certainly your problem.
>
> Ok, good. That's something I can look at then.
> Redboot, despite being a ROM build, says it's using RAM from 0x20000000
> to 0x20005b68, so I've made
> my linker script place CODE at 0x20005b68 and DATA at 0x20008000 (with a
> total RAM range of 0x10000).
> This, I take it, is only significant if I load it as an elf. And, again
> if I understand correctly, when loaded as -r it just goes where I put
> it.
> Obviously there's still something I don't understand correctly 'cause it
> doesn't work.
Find out what position independant means. The comments above make me
think you understand what this means.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss