[U-Boot-Users] [PATCH] objcopy for srec and bin files should be done on .o files

Martin Hicks mort at bork.org
Wed Apr 5 20:59:08 CEST 2006


On Wed, Apr 05, 2006 at 08:33:23PM +0200, Wolfgang Denk wrote:
> In message <20060405162645.GU27792 at bork.org> you wrote:
> > 
> > The Makefile rule for creating srec and bin files fails for me frequently.
> 
> Plewase explain what "fails for me  means"  (error  message(s),  used
> toolchain and versions of the binutils, host environment etc.).

mort at descartes:~/src/targa/u-boot2$ make ASH405_config CROSS_COMPILE=powerpc-405-linux-gnu-
Configuring for ASH405 board...
mort at descartes:~/src/targa/u-boot2$ make CROSS_COMPILE=powerpc-405-linux-gnu-

[snip]

powerpc-405-linux-gnu-gcc -g  -Os   -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xFFFC0000 -I/home/mort/src/targa/u-boot2/include -fno-builtin -ffreestanding -nostdinc -isystem /home/mort/src/targa/powerpc-linux/gcc-3.4.5-glibc-2.3.6/powerpc-405-linux-gnu/bin/../lib/gcc/powerpc-405-linux-gnu/3.4.5/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -Wa,-m405 -mcpu=405 -msoft-float -Wall -Wstrict-prototypes -c -o stubs.o stubs.c
powerpc-405-linux-gnu-ar crv libstubs.a  ppc_longjmp.o ppc_setjmp.o stubs.o
r - ppc_longjmp.o
r - ppc_setjmp.o
r - stubs.o
make[1]: *** No rule to make target `hello_world.srec', needed by `all'.  Stop.
make[1]: Leaving directory `/home/mort/src/targa/u-boot2/examples'
make: *** [examples] Error 2
mort at descartes:~/src/targa/u-boot2$ 


That's your git HEAD.  The problem is also present at the 1.1.4 tag.
I"m not actually using the ASH405, but I just used it as an example...

The compiler is a gcc-3.4.5/binutils-2.15 (and glibc-2.3.6) x86->ppc405
cross compiler built by crosstools-0.42

mh

-- 
Martin Hicks || mort at bork.org || PGP/GnuPG: 0x4C7F2BEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060405/312ee1ed/attachment.pgp 


More information about the U-Boot mailing list