Thanks for your help.
I did verify my environment variables, here is what they are set to:
- Code: Select all
$ echo $ARCH
arm
- Code: Select all
$ echo $CROSS_COMPILE
arm-none-linux-gnueabi-
- Code: Select all
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/daniel/CodeSourcery/Sourcery_G++_Lite/bin
I executed you gcc call, that's what I get
- Code: Select all
$ ${CROSS_COMPILE}gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/home/daniel/CodeSourcery/Sourcery_G++_Lite/bin/../libexec/gcc/arm-none-linux-gnueabi/4.5.1/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /scratch/nathan/arm-lite/src/gcc-4.5-2010.09/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-arch=armv5te --with-gnu-as --with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables} -D__CS_SOURCERYGXX_MAJ__=2010 -D__CS_SOURCERYGXX_MIN__=9 -D__CS_SOURCERYGXX_REV__=50 %{O2:%{!fno-remove-local-statics: -fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: -fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared --enable-lto --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2010.09-50' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/nathan/arm-lite/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpc=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-ppl=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-cloog=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-libelf=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/nathan/arm-lite/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/nathan/arm-lite/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)
I don't know if this is all right.
I branched into the folder of u-boot
- Code: Select all
pwd
/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand
when I executed "make -j4 wandboard" that's what I get
- Code: Select all
$ make -j4 wandboard
Configuring for wandboard - Board: wandboard, Options: IMX_CONFIG=board/wandboard/imx6image.cfg,MX6QDL,SPL,FSL_ENV_IN_MMC
make
make[1]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand'
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
make[1]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand'
make[1]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand'
Generating include/spl-autoconf.mk
Generating include/tpl-autoconf.mk
arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-Os -s -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -mfloat-abi=softfp -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x17800000 -I/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -fno-builtin -ffreestanding -nostdinc -isystem /home/daniel/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
if [ -f arch/arm/cpu/armv7/mx6/asm-offsets.c ];then \
arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-Os -s -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -mfloat-abi=softfp -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x17800000 -I/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -fno-builtin -ffreestanding -nostdinc -isystem /home/daniel/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security \
-o arch/arm/cpu/armv7/mx6/asm-offsets.s arch/arm/cpu/armv7/mx6/asm-offsets.c -c -S; \
else \
touch arch/arm/cpu/armv7/mx6/asm-offsets.s; \
fi
Generating include/generated/asm-offsets.h
tools/scripts/make-asm-offsets arch/arm/cpu/armv7/mx6/asm-offsets.s include/generated/asm-offsets.h
Generating include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h
for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 ; do \
make -C $dir _depend ; done
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools'
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/examples/standalone'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/examples/standalone'
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/examples/api'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/examples/api'
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu/armv7'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu/armv7'
make -C tools all
make -C arch/arm/cpu/armv7 start.o
make -C /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu/ u-boot.lds
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu'
make[2]: Nothing to be done for `u-boot.lds'.
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu'
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu/armv7'
arm-none-linux-gnueabi-gcc -D__ASSEMBLY__ -Os -s -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -mfloat-abi=softfp -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x17800000 -I/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -fno-builtin -ffreestanding -nostdinc -isystem /home/daniel/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -o start.o start.S -c
make[2]: Entering directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include2 -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/lib/libfdt -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools -DCONFIG_SYS_TEXT_BASE=0x17800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o bmp_logo.o bmp_logo.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include2 -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/lib/libfdt -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools -DCONFIG_SYS_TEXT_BASE=0x17800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o gen_eth_addr.o gen_eth_addr.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include2 -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/lib/libfdt -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools -DCONFIG_SYS_TEXT_BASE=0x17800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o img2srec.o img2srec.c -c
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/arch/arm/cpu/armv7'
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include2 -idirafter /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/lib/libfdt -I /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools -DCONFIG_SYS_TEXT_BASE=0x17800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -c -o crc32.o /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/lib/crc32.c
In file included from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/compiler.h:19:0,
from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h:12,
from <command-line>:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
In file included from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/compiler.h:19:0,
from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h:12,
from <command-line>:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
In file included from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/compiler.h:19:0,
from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h:12,
from <command-line>:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
compilation terminated.
In file included from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/compiler.h:19:0,
from /home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/include/libfdt_env.h:12,
from <command-line>:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
make[2]: *** [img2srec.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gen_eth_addr.o] Error 1
make[2]: *** [bmp_logo.o] Error 1
make[2]: *** [crc32.o] Error 1
make[2]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/daniel/Downloads/Freescale/Wandboard_SDK/wandboard-sdk-20131225/u-boot-2013.10-wand'
make: *** [wandboard] Error 2
I hope this means something for you.
Can you see from that what I might have done wrong, or what might still be missing?
Thank you
Daniel