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: Simple Redboot Q's


> >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


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