
In message 20051114063916.10876.qmail@web30715.mail.mud.yahoo.com you wrote:
This is a followup on use of printf with u-boot-1.1.2 with cross-toolchains 2.95.3 and Codesourcery's 3.4.3 on ARM.
Let me remember that working toolchains have NO problems with all this. In other works, this is not an U-Boot problem per se.
The Makefile for cross-compilation:
Please check exactly what the U-Boot Makefiles are doing. Then fix your Makefile.
On running make clean; make, I get this output:
....
/usr/local/arm/3.4.3/bin/arm-none-linux-gnueabi-ld -Ttext 0x04000000 -e main foo.o -o foo foo.c:1: warning: target CPU does not support interworking
Fix your toolchain problems.
foo.o: In function `main': foo.c:(.text+0x1c): undefined reference to `app_startup' foo.c:(.text+0x24): undefined reference to `putc' make: *** [all] Error 1
foo.o gets created. putc is declard in common.h, but, where is the actual definition? I'd appreciate any input from folks who have done similar style of firmware development with u-boot.
You fail to compile and link examples/stubs.c
It seems you also missed to readthe documentation (i. e. "doc/README.standalone").
Best regards,
Wolfgang Denk