[U-Boot-Users] building u-boot

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 following error whether I configure for lubbock or cerf250:
$ make cerf250_config Configuring for cerf250 board... $ make all make[1]: Entering directory `/usr/src/u-boot-1.1.2/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/usr/src/u-boot-1.1.2/tools' make[1]: Entering directory `/usr/src/u-boot-1.1.2/examples' make[1]: `.depend' is up to date. make[1]: Leaving directory `/usr/src/u-boot-1.1.2/examples' make[1]: Entering directory `/usr/src/u-boot-1.1.2/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/usr/src/u-boot-1.1.2/post' make[1]: Entering directory `/usr/src/u-boot-1.1.2/post/cpu' make[1]: `.depend' is up to date. make[1]: Leaving directory `/usr/src/u-boot-1.1.2/post/cpu' make -C tools all make[1]: Entering directory `/usr/src/u-boot-1.1.2/tools' gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3080000 -DUSE_HOSTCC -O -c envcrc.c gcc -g -idirafter ../include -DTEXT_BASE=0xa3080000 -DUSE_HOSTCC -c environment.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3080000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o make[1]: Leaving directory `/usr/src/u-boot-1.1.2/tools' 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 /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 collect2: ld returned 1 exit status make[1]: *** [hello_world] Error 1 make[1]: Leaving directory `/usr/src/u-boot-1.1.2/examples' make: *** [examples] Error 2
It looks like I've got something misconfigured. Any help would be appreciated.
Greg
Secrecy, being an instrument of conspiracy, ought never to be the system of a regular government. -Jeremy Bentham, jurist and philosopher (1748-1832)

Dear Greg,
in message MPEAJFOFNNOAIMOHBACICENIDPAA.gl4jalopi@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

Wolfgang,
-----Original Message-----
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).
I had already pulled everything from the cvs tree so I had the current version but I hadn't tried make mrproper, that did the trick.
Thanks for the tip. I wouldn't have thought of that, didn't know any one outside of the kernel people used mrproper to do a super clean. Again, thanks.
Greg

Dear Greg,
in message MPEAJFOFNNOAIMOHBACIMEOJDPAA.gl4jalopi@earthlink.net you wrote:
I had already pulled everything from the cvs tree so I had the current version but I hadn't tried make mrproper, that did the trick.
Thanks for the tip. I wouldn't have thought of that, didn't know any one outside of the kernel people used mrproper to do a super clean. Again, thanks.
You can run "make distclean" as well, which is a synonym. See the Makefile.
Best regards,
Wolfgang Denk
participants (2)
-
Greg Lindberg
-
Wolfgang Denk