I was able to compile u-boot from source like described in the Toradex Knowledge Base once executing make apalis-tk1_defconfig
and make -j3 2>&1 | tee build.log
. However when I compiled it a second time (make -j3 2>&1 | tee build.log
) without any modifications of the sources I got the following errors:
common/built-in.o: In function `bootdelay_process':
/home/kromer/ws_gitlab/u-boot-toradex/common/autoboot.c:300: undefined reference to `bootcount_load'
/home/kromer/ws_gitlab/u-boot-toradex/common/autoboot.c:302: undefined reference to `bootcount_store'
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils) 2.25.0 Linaro 2015_10 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~linaro_binutils-2_25-branch/bfd/elf32-arm.c:7827
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils) 2.25.0 Linaro 2015_10 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~linaro_binutils-2_25-branch/bfd/elf32-arm.c:7827
arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script
arm-linux-gnueabihf-ld.bfd: final link failed: Invalid operation
make: *** [u-boot] Error 1
The build of the configuration (make apalis-tk1_defconfig
) stated less files in the output than in the first build:
~/u-boot-toradex$ make apalis-tk1_defconfig
#
# configuration written to .config
#
I used the u-boot git branch “2016.11-toradex” like described in the version mapping with tag Apalis_TK1_LinuxImageV2.7Beta1_20170112.