vxwirks tools for new compiler
Aparna Upadhya
aparna.upadhya@gmail.com
Mon Feb 25 04:39:00 GMT 2008
Hi,
I am trying to upgrade gcc from 2.95.3 to 3.4.5 on vxWorks. The
target processors are power PC - MPC 8260, 8360, 860, 850 ,7410... .
I am facing few problems.
I have re-compiled all the bootroms on these targets, and also
recompiled (WIND_BASE)/target/src directory.
I could successfully build , burn and bring up bootrom_uncmp -
uncompressed images on these targets. But when I convert them to
bootrom.bin - compressed images, somewhere it is lost. The processor
hangs on some branch instruction and the emulator goes for reset.
Here is the make sequence I execute.
clearmake -C gnu bootram
$(WIND_BASE)/host/sun4-solaris2/bin/elfToBin < bootram > bootram.bin
$(WIND_BASE)/host/sun4-solaris2/bin/deflate < bootram.bin > tmp.Z
$(WIND_BASE)//host/sun4-solaris2/bin/binToAsm tmp.Z >bootrom.Z.s
clearmake -C gnu bootrom
objcopyppc -O bootrom bootrom.bin
But the board goes for reset on some branch instruction. I am not
sure if something went wrong in deflating the image. But the
uncompressed image comes up successfully on the board.
Do we need the following tools separately for new compiler from
vxworks ? - binToAsm , deflate , elfToBin, elfXsyms ,romsize , vxsize or
does GNU provides these utilities as well ?
thanks
aparna
More information about the Binutils
mailing list