EmbeddedRelated.com
Forums

LPC2478 STK - compiling U-boot loader

Started by Tomislav October 14, 2009
Hi,

I'm trying to compile u-boot loader. I have installed toolchain for Linux and some other packages that are needed. I have managed to compile uClinux with the same toolchain without any problems.

It looks like I don't have right checksumming utilities.Here is my output after executing make command:

user@ncu:~/Documents/u-boot$ make lpc_2478_stk_config
Configuring for lpc_2478_stk board...
user@ncu:~/Documents/u-boot$ make

for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/home/user/Documents/u-boot/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/user/Documents/u-boot/tools'
make[1]: Entering directory `/home/user/Documents/u-boot/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/user/Documents/u-boot/examples'
make[1]: Entering directory `/home/user/Documents/u-boot/api_examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/user/Documents/u-boot/api_examples'
Generating include/autoconf.mk
make -C tools all
make[1]: Entering directory `/home/user/Documents/u-boot/tools'
gcc -Wall -pedantic -idirafter /home/user/Documents/u-boot/include -idirafter /home/user/Documents/u-boot/include2 -idirafter /home/user/Documents/u-boot/include -DTEXT_BASE=0xA3f80000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
crc32.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [mkimage] Error 1
make[1]: Leaving directory `/home/user/Documents/u-boot/tools'
make: *** [tools] Error 2

An Engineer's Guide to the LPC2100 Series

--- In l..., "Tomislav" wrote:
>
> Hi,
>
> I'm trying to compile u-boot loader. I have installed toolchain for Linux and some other packages that are needed. I have managed to compile uClinux with the same toolchain without any problems.
>
> It looks like I don't have right checksumming utilities.Here is my output after executing make command:
>
> user@ncu:~/Documents/u-boot$ make lpc_2478_stk_config
> Configuring for lpc_2478_stk board...
> user@ncu:~/Documents/u-boot$ make
>
> for dir in tools examples api_examples ; do make -C $dir _depend ; done
> make[1]: Entering directory `/home/user/Documents/u-boot/tools'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/user/Documents/u-boot/tools'
> make[1]: Entering directory `/home/user/Documents/u-boot/examples'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/user/Documents/u-boot/examples'
> make[1]: Entering directory `/home/user/Documents/u-boot/api_examples'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/user/Documents/u-boot/api_examples'
> Generating include/autoconf.mk
> make -C tools all
> make[1]: Entering directory `/home/user/Documents/u-boot/tools'
> gcc -Wall -pedantic -idirafter /home/user/Documents/u-boot/include -idirafter /home/user/Documents/u-boot/include2 -idirafter /home/user/Documents/u-boot/include -DTEXT_BASE=0xA3f80000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
> crc32.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make[1]: *** [mkimage] Error 1
> make[1]: Leaving directory `/home/user/Documents/u-boot/tools'
> make: *** [tools] Error 2
>

This is the same errors you got on: Sep 23, 2009 8:20 am

What have you been doing for the past month ???

Studying ?????

don