U-BOOT build problem

Apr 22, 2004 0 Replies

On March 11, 2004, someone posted a question about u-boot.



An excerpt follows.


-------------------------------------------------------------- ppc_8xx-gcc -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x40000



000 -I/opt/u-boot-1.0.2/include -fno-builtin -ffreestanding -nostdinc -isyst em /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC

-D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft- float -Wall -Wstrict-prototypes -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x40000000 -I/opt/u-boot-1.0.2/include -fno-builtin -ffreestand ing -nostdinc


-isystem /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC



-D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft- float -I.. -Bstatic -T /opt/u-boot-1.0.2/board/tqm8xx/u-boot.lds -Ttext



0x40000000 -n hello_world.c -o hello_world

ppc_8xx-gcc: 0x40000000: No such file or directory



--------------------------------------------------------------



I had a similar problem (in u-boot-1.1.0). I'm still not sure what causes it, but if I edit the Makfile in the examples directory the problem goes away.



at line 125....



%: %.o $(LIB) echo $(EX_LDFLAGS) echo "" $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \ -o $@ -e $(


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required