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: Memory layout


"Agarwal, Lomesh" wrote:
> 
> Actually I copied and pasted the wrong file.
> My rom.ldi file is as follows:
> MEMORY
> {
>     ram  : ORIGIN = 0x00000000, LENGTH = 0x10000000
>     rom  : ORIGIN = 0x00000000, LENGTH = 0x01000000
> }

These shouldn't overlap. The comments I wrote before about using the
unaliased addresses still holds, so almost certainly your ROM address above
should be different and your platform start up code needs to be
appropriately written to do the unaliasing/remapping.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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