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: Redboot EB40a problems with flash programming


> I checked with arm-elf-size and it is <64k:
> 
>    text    data     bss     dec     hex filename
>   58539       0   24988   83527   14647 install/bin/redboot.elf

I wouldn't trust that. Instead do 

arm-elf-objdump --headers install/bin/redboot.elf

The one i've just built fits ok into one block.

    Andrew
 
install/bin/redboot.elf:     file format elf32-littlearm
 
Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .debug_aranges 00000f68  00000000  00000000  0000ea6c  2**0
                  CONTENTS, READONLY, DEBUGGING
  1 .debug_pubnames 00001a1a  00000000  00000000  0000f9d4  2**0
                  CONTENTS, READONLY, DEBUGGING
  2 .debug_info   00033550  00000000  00000000  000113ee  2**0
                  CONTENTS, READONLY, DEBUGGING
  3 .debug_abbrev 0000464a  00000000  00000000  0004493e  2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_line   00011f0b  00000000  00000000  00048f88  2**0
                  CONTENTS, READONLY, DEBUGGING
  5 .rom_vectors  00000040  01000000  01000000  00000094  2**0
                  CONTENTS, ALLOC, LOAD, CODE
  6 .text         0000c52c  01000040  01000040  000000d4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .fini         00000000  0100c56c  0100c56c  0005ae93  2**0
                  CONTENTS
  8 .rodata       00001ea4  0100c56c  0100c56c  0000c600  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  9 .rodata1      00000000  0100e410  0100e410  0005ae93  2**0
                  CONTENTS
 10 .fixup        00000000  0100e410  0100e410  0005ae93  2**0
                  CONTENTS
 11 .gcc_except_table 00000000  0100e410  0100e410  0005ae93  2**0
                  CONTENTS
 12 .fixed_vectors 00000140  00000020  00000020  0005aea0  2**5
                  CONTENTS
 13 .data         000005c8  00004000  0100e410  0000e4a4  2**2
                  CONTENTS, ALLOC, LOAD, CODE
 14 .bss          00005f20  000045c8  000045c8  00000094  2**4
                  ALLOC


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