public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Matthieu.GIRARDIN@fr.thalesgroup.com
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Memory problems (layout ...)
Date: Fri, 10 Oct 2003 06:42:00 -0000	[thread overview]
Message-ID: <66CE949D18BCB249ABE8D9AF48C4F1CE94B198@helios.clb.tcfr.thales> (raw)


Hello guys !

1) 

After having read your doc lines about memory mapping, I tried to change my
files mlt_* ...
I would like to have my RAM (2Mo) at addr "0" and my ROM (4Mo) at addr "4
000 000" .
So I tried to modify my rom.mlt. But it didn't generate a good rom.ldi and
rom.h ...
How can I do ? 
I tried then to remove my rom.h rom.ldi, I believed that your makefile would
generate them again
but it didn't work. 
In fact to sum up, with modified rom.mlt, the system didn't generate good
rom.ldi and rom.h so my target.ld isn't right !

2)

Another question: will I use after the previous step, a tool to transfer my
data section to rom from ram in order to flash them to my board ? Because
I've seen
in my nm file (powerpc-eabi-nm toto.elf) that, even if my mapping isn't
completely right (previous question), my data section is in RAM (addr 0 and
more) and not in ROM (addr 4 000 000 and more)

Please help me ...

Thanks by advance.

Matthieu

NB: when I said rom.mlt, you should understand mlt_..._rom.mlt. It was
shorter to write ... ;-)

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

             reply	other threads:[~2003-10-10  6:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-10  6:42 Matthieu.GIRARDIN [this message]
2003-10-10  7:08 James Yates

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66CE949D18BCB249ABE8D9AF48C4F1CE94B198@helios.clb.tcfr.thales \
    --to=matthieu.girardin@fr.thalesgroup.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).