From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22581 invoked by alias); 10 Oct 2003 06:42:04 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 22573 invoked from network); 10 Oct 2003 06:42:03 -0000 Received: from unknown (HELO GWOUT.thalesgroup.com) (195.101.39.227) by sources.redhat.com with SMTP; 10 Oct 2003 06:42:03 -0000 Received: from thalescan.corp.thales (200.3.2.3) by GWOUT.thalesgroup.com (NPlex 6.5.026) id 3F80F9440007DD09 for ecos-discuss@sources.redhat.com; Fri, 10 Oct 2003 08:35:26 +0200 Received: from tccplex.tcc.thomson-csf.com ([200.3.1.11]) by thalescan with InterScan Messaging Security Suite; Fri, 10 Oct 2003 08:32:17 +0200 Received: from NODALNET.clb.tcfr.thales (146.11.5.4) by tccplex.tcc.thomson-csf.com (NPlex 6.5.026) id 3EC391A2002AC003 for ecos-discuss@sources.redhat.com; Fri, 10 Oct 2003 08:33:53 +0200 Received: by NODALNET.clb.tcfr.thales with Internet Mail Service (5.5.2653.19) id <4SK357YR>; Fri, 10 Oct 2003 08:32:17 +0200 Message-ID: <66CE949D18BCB249ABE8D9AF48C4F1CE94B198@helios.clb.tcfr.thales> From: Matthieu.GIRARDIN@fr.thalesgroup.com To: ecos-discuss@sources.redhat.com Date: Fri, 10 Oct 2003 06:42:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: [ECOS] Memory problems (layout ...) X-SW-Source: 2003-10/txt/msg00166.txt.bz2 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