Hello,
I can't understand what I did miss out ! :-( I wish to recreate the U-boot on my TQM823 board
I did succeed with previous version to generate the U-boot straight, but today... no !
1) I have installed the ELDK v 3.1 -> Intallation OK on /opt/eldk 2) export CROSS_COMPILE=ppc_8xx- 3) PATH=$PATH:/opt/eldk/usr/bin:/opt/eldk/bin/ 4) Did download and untar U-boot-1.1.2.tar => create /opt/eldk/usr/src/u-boot-1.1.2 5) ln -s u-boot-1.1.2 u-boot then... make TQM823L_config -> OK but when I do make all...here is what I have !!(After this, ppc_8xx-gcc seems to be recognized... => path seems to me correct !?)
Thanks and regards
------------------------------
[root@toto u-boot]# make all make[1]: Entering directory `/opt/eldk/usr/src/u-boot-1.1.2/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.1.2/tools' make[1]: Entering directory `/opt/eldk/usr/src/u-boot-1.1.2/examples' make[1]: `.depend' is up to date. make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.1.2/examples' make[1]: Entering directory `/opt/eldk/usr/src/u-boot-1.1.2/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.1.2/post' make[1]: Entering directory `/opt/eldk/usr/src/u-boot-1.1.2/post/cpu' make[1]: `.depend' is up to date. make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.1.2/post/cpu' make -C tools all make[1]: Entering directory `/opt/eldk/usr/src/u-boot-1.1.2/tools' gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x40000000-DUSE_HOSTCC -O -c en vcrc.c gcc -g -idirafter ../include -DTEXT_BASE=0x40000000 -DUSE_HOSTCC -c environment.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x40000000
-DUSE_HOSTCC -O -o envcr c envcrc.o crc32.o environment.o make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.1.2/tools' make -C examples all make[1]: Entering directory `/opt/eldk/usr/src/u-boot-1.1.2/examples' ppc_8xx-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
-D__KERNEL__ -DTEXT_B ASE=0x40000000
-I/opt/eldk/usr/src/u-boot-1.1.2/include -fno-builtin -ffreestanding
-nost dinc -isystem /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/include -pipe
-DCONFIG_PP C -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring
-mcpu=860 -msoft-float -Wall -Wstrict-prototypes -g -Os -fPIC
-ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__
-DTEXT_BASE=0x40000000 -I/opt/eldk/usr/src/u-boot-1.1.2/include
-fno-builtin -ffreestand ing -nostdinc -isystem /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/include -pipe -D CONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring
-mcpu=860 -msoft-fl oat -I.. -Bstatic -T /opt/eldk/usr/src/u-boot-1.1.2/board/tqm8xx/u-boot.lds -Ttext 0x4000
0000 -n hello_world.c -o hello_world ppc_8xx-gcc: 0x40000000: No such file or directory /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/../../../../ppc-linux/bin/as: option `-n ' is ambiguous make[1]: *** [hello_world] Error 2 make[1]: Leaving directory `/opt/eldk/usr/src/u-boot-1.1.2/examples' make: *** [examples] Error 2