[U-Boot-Users] building u-boot

Wolfgang Denk wd at denx.de
Wed Jun 8 09:02:15 CEST 2005


Dear Greg,

in message <MPEAJFOFNNOAIMOHBACICENIDPAA.gl4jalopi at earthlink.net> you wrote:
> I'm trying to build u-boot for the first time for a intel xscale pxa250.
> I've got an existing working install of arm-linux-gcc v3.4.  I get the

GCC 3.4 is not supported yet.

...
> make -C examples all
> make[1]: Entering directory `/usr/src/u-boot-1.1.2/examples'
> arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-
> float -D__KERNEL__ -DTEXT_BASE=0xa3080000 -I/usr/src/u-boot-1.1.2/include -f
> no-builtin -ffreestanding -nostdinc -isystem
> /usr/local/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/arm-linux/3.4.1
> /include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=stronga
> rm1100 -Wall -Wstrict-prototypes -g  -Os   -fno-strict-aliasing  -fno-common
>  -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0xa3080000 -I/usr/src/u-bo
> ot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem
> /usr/local/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/arm-linux/3.4.1
> /include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=stronga
> rm1100 -I.. -Bstatic -T
> /usr/src/u-boot-1.1.2/board/cerf250/u-boot.lds -Ttext 0xa3080000
> hello_world.c   -o hello_world

This doesn't look like what I'd expect (but I tried the current code only).

> /usr/local/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/arm-linux/3.4.1
> /../../../../arm-linux/bin/ld: cannot find cpu/pxa/start.o

This is completely wrong here.

> It looks like I've got something misconfigured.  Any help would be
> appreciated.

I recommend: rety the build after runnin "make mrproper" first.

If this fails, then try using the current versionof  U-Boot  (top  of
tree in CVS).

If this still fails, then try using a  known-to-be-working  toolchain
(like ELDK 3.1.1).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Testing can show the presense of bugs, but not their absence.
                                                   -- Edsger Dijkstra




More information about the U-Boot mailing list