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: objcopy error in redboot makefile


Henri wrote:
Hi all

I get the following error with ecos v 2  and not with an earlier version
from feb 2002. A successful version of Redboot was produced with the older
version of ecos and config tool . The recent version of ecos 2.0 (this
month) and configtool 2.11 produce the objcopy error.

Any hints of what to look for ???
Weird. It isn't even changing format - it's just ELF to ELF. Can you do a "mipsisa32-elf-objdump -h redboot.elf" ?

And can you show the relevant bit of the map file? And which target is it so we can look at the MLT files?

Jifl

the mlt file is the same as was working before with the older version of
ecos and was generated with the 1.3.1.2 config tool.

the rom.map file shows that shure enough the section that causes trouble is
at the address shown in the message.

mipsisa32-elf-objcopy --strip-all
/ecos-d/cygwin/redbootdir/output/install/bin/redboot.elf
/ecos-d/cygwin/redbootdir/output/install/bin/redboot.img
BFD: Error: First section in segment (.sdata) starts at 0x800023c0
BFD:        whereas segment starts at 0x80002000
mipsisa32-elf-objcopy:
/ecos-d/cygwin/redbootdir/output/install/bin/redboot.img: error 0
BFD: Error: First section in segment (.sdata) starts at 0x800023c0
BFD:        whereas segment starts at 0x80002000
mipsisa32-elf-objcopy:
/ecos-d/cygwin/redbootdir/output/install/bin/redboot.img: error 0
make.exe[1]: *** [/ecos-d/cygwin/redbootdir/output/install/bin/redboot.srec]
Error 1
make.exe[1]: Leaving directory `/redbootdir/output/hal/mips/c2r2/current'
make.exe: *** [build] Error 2




--
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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