[ECOS] loading application on redboot
Satish Kumar
satish@bvt.sc.sanyo.co.jp
Fri Aug 1 09:00:00 GMT 2003
Ok, herez some info about the application and redboot_ROM image.
1. i have used RAM startup and build the hello world application. the
objdump is as shown below:
hello: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .debug_aranges 00001638 00000000 00000000 00017e84 2**0
CONTENTS, READONLY, DEBUGGING
1 .debug_pubnames 00003772 00000000 00000000 000194bc 2**0
CONTENTS, READONLY, DEBUGGING
2 .debug_info 0006e7d5 00000000 00000000 0001cc2e 2**0
CONTENTS, READONLY, DEBUGGING
3 .debug_abbrev 0000adfa 00000000 00000000 0008b403 2**0
CONTENTS, READONLY, DEBUGGING
4 .debug_line 00017006 00000000 00000000 000961fd 2**0
CONTENTS, READONLY, DEBUGGING
5 .debug_frame 000039e8 00000000 00000000 000ad204 2**2
CONTENTS, READONLY, DEBUGGING
6 .debug_str 0000937f 00000000 00000000 000b0bec 2**0
CONTENTS, READONLY, DEBUGGING
7 .fixed_vectors 00000140 00000020 00000020 000b9f80 2**5
CONTENTS, READONLY
8 .rom_vectors 00000040 00100000 00100000 00008000 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
9 .text 0000f7c4 00100040 00100040 00008040 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
10 .fini 00000000 0010f804 0010f804 000ba0c0 2**0
CONTENTS
11 .rodata 0000029c 0010f804 0010f804 00017804 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
12 .rodata1 00000000 0010faa0 0010faa0 000ba0c0 2**0
CONTENTS
13 .fixup 00000000 0010faa0 0010faa0 000ba0c0 2**0
CONTENTS
14 .gcc_except_table 00000000 0010faa0 0010faa0 000ba0c0 2**0
CONTENTS
15 .data 000003e4 0010faa0 0010faa0 00017aa0 2**2
CONTENTS, ALLOC, LOAD, DATA
16 .bss 00004300 0010fe84 0010fe84 00017e84 2**5
ALLOC
17 .comment 00000534 00000000 00000000 000ba0c0 2**0
CONTENTS, READONLY
18 .debug_ranges 00000498 00000000 00000000 000ba5f4 2**0
CONTENTS, READONLY, DEBUGGING
2. i have built the rebootROM startup image, and the object dump of this
is as shown below:
redboot.img: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .rom_vectors 00000040 30000000 30000000 00010000 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .text 00007f10 30000040 30000040 00010040 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .fini 00000000 30007f50 30007f50 00019580 2**0
CONTENTS
3 .rodata 00001630 30007f50 30007f50 00017f50 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .rodata1 00000000 30009580 30009580 00019580 2**0
CONTENTS
5 .fixup 00000000 30009580 30009580 00019580 2**0
CONTENTS
6 .gcc_except_table 00000000 30009580 30009580 00019580 2**0
CONTENTS
7 .fixed_vectors 00000140 00000020 00000020 00019580 2**5
CONTENTS, READONLY
8 .data 00000438 00000800 30009580 00008800 2**2
CONTENTS, ALLOC, LOAD, DATA
9 .bss 00003d0c 00000c38 000017dc 00000c38 2**5
ALLOC
is any of these sections mismatched..?
i find there could be some problem with the .data section in both the
dumps..m i correct..any suggestions..
thanks
satish
--
Satish Kumar <satish@bvt.sc.sanyo.co.jp>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list