This is the mail archive of the ecos-discuss@sourceware.org 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]

Memory maping in Flash and RAM for AT91SAM7S256


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


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