From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24256 invoked by alias); 27 Mar 2006 08:39:31 -0000 Received: (qmail 24247 invoked by uid 22791); 27 Mar 2006 08:39:30 -0000 X-Spam-Check-By: sourceware.org Received: from web8406.mail.in.yahoo.com (HELO web8406.mail.in.yahoo.com) (202.43.219.154) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 27 Mar 2006 08:39:29 +0000 Received: (qmail 90109 invoked by uid 60001); 27 Mar 2006 08:39:25 -0000 Message-ID: <20060327083925.90107.qmail@web8406.mail.in.yahoo.com> Received: from [61.12.8.66] by web8406.mail.in.yahoo.com via HTTP; Mon, 27 Mar 2006 09:39:25 BST Date: Mon, 27 Mar 2006 09:51:00 -0000 From: Arun Roy To: ecos-discuss@ecos.sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Memory maping in Flash and RAM for AT91SAM7S256 X-SW-Source: 2006-03/txt/msg00219.txt.bz2 Hi all, I am porting ecos for AT91SAM7S256.I have written a sample code for testing the LED on the AT91SAM7S Evaluation board. I compiled the code. And cteated the memory map file through arm-elf-objdump. It is giving same memory address in RAM for VMA and LMA for .data section. I think the LMA should be in ROM and the VMA should be in RAM, as i have build the ecos for ROM.Is it giving correct info or i need to modify any thing in the linker script "arm.ld" I am sending the memory map for your reference. 7 .rom_vectors 00000040 00100000 00100000 000f782f 2**0 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE 8 .text 0000e8cc 00100040 00100040 000f7870 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE 9 .fini 00000000 0010e90c 0010e90c 0010613c 2**0 CONTENTS 10 .rodata 00000270 0010e90c 0010e90c 0010613c 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA 11 .rodata1 00000000 0010eb7c 0010eb7c 001063ac 2**0 CONTENTS 12 .fixup 00000000 0010eb7c 0010eb7c 001063ac 2**0 CONTENTS 13 .gcc_except_table 00000000 0010eb7c 0010eb7c 001063ac 2**0 CONTENTS 14 .fixed_vectors 00000140 00200040 00200040 001063c0 2**5 CONTENTS, READONLY 15 .data 00000368 00200180 00200180 00106500 2**2 ------------------ CONTENTS, ALLOC, LOAD, RELOC, DATA 16 .bss 000042dc 002004e8 002004e8 00106870 2**4 ALLOC 17 .comment 00000534 00000000 00000000 00106870 2**0 CONTENTS, READONLY 18 .debug_ranges 00000428 00000000 00000000 00106da4 2**0 CONTENTS, RELOC, READONLY, DEBUGGING Thanks, Arun Roy __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss