This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: v850-stub with ecos ?
- From: "Mauler Karsten (FV/SLM) *" <Karsten dot Mauler at de dot bosch dot com>
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 6 Feb 2002 11:30:42 +0100
- Subject: Re: [ECOS] v850-stub with ecos ?
Hi,
thx for your fast reply.
> "v850-elf-objdump -h" of the ELF executable you will see that
> although the
> VMA of some of the sections is at 0xfc0000, the LMA (load
> address) should
> still be in ROM (or FLASH) addrs. The only exception is BSS,
> and you never
> load that - it won't be marked with the LOAD flag.
It looks like it will be. I have done a v850-elf-objektdump -h on the file
gdb_module.img and this ist the output.
gdb_module.img: file format elf32-v850
Sections:
Idx Name Size VMA LMA File off Algn
0 .rom_vectors 00000340 00000000 00000000 00001000 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .text 00005392 00000340 00000340 00001340 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .fini 00000000 000056d4 000056d4 00007e20 2**0
CONTENTS
3 .rodata 00000390 000056d4 000056d4 000066d4 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .rodata1 00000000 00005a64 00005a64 00007e20 2**0
CONTENTS
5 .fixup 00000000 00005a64 00005a64 00007e20 2**0
CONTENTS
6 .gcc_except_table 00000000 00005a64 00005a64 00007e20 2**0
CONTENTS
7 .ram_vectors 00000540 00180000 00005a64 00007000 2**6
CONTENTS, ALLOC, LOAD, CODE
8 .data 000008e0 00180540 00005fa4 00007540 2**3
CONTENTS, ALLOC, LOAD, DATA
9 .bss 00001ab8 00180e20 00180e20 00007e20 2**2
ALLOC
10 .stab 000154f8 00000000 00000000 00007e20 2**2
CONTENTS, READONLY, DEBUGGING
11 .stabstr 0000d10a 000154f8 000154f8 0001d318 2**0
CONTENTS, READONLY, DEBUGGING
Note, that i used a copy of the CEB Board package. I changed only the
relevant Flash/ROM sizes/adresses. I tried although the plain CEB Board
package and the .data and .ram_vectors are marked LOAD there too.
I used the Template/CEB - package stubs with additional option to build for
flash and the v850 variant SB1.
Where can i have influence on what is marked to LOAD ?
> Otherwise if you are talking about the effort for yourself, I
> don't know off-hand - not _that_ much effort per se, but it's just
I found out, that SB1 and SF1 quite simillar. So i suppose i only need tho
change the memory range of our board to the ceb package.
---
Karsten