[U-Boot] cubieboard sunxi u-boot help me
崔超
13671369456 at 163.com
Sat Nov 5 06:34:46 CET 2016
Hi ,
I' from China. I am studying u-boot on Cubieboard and I have a problem.
https://github.com/OSer916/u-boot.git .
My code is on the "cubieboard" branch.
When I do "make sunny_defconfig && make CROSS_COMPILE=arm-linux-gnueabihf-", the trouble comes out last:
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
Makefile:1207: recipe for target 'u-boot' failed
make: *** [u-boot] Error 1
I used the compiler version is "gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf"
Hi, thanks!
My mean is that I am porting u-boot to the Cubieboard board from stratch for studying the internal construction of the u-boot.
So I create a new defconfig named "sunny_defconfig".
The "diff" of the branch "cubieboard" and the "master":
https://github.com/OSer916/u-boot/commit/df3b61630806ab2fbcfdfb48aee048a076d78324
When I do "make sunny_defconfig" and "make CROSS_COMPILE=arm-linux-gnueabihf-", I have the trouble that " arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script"
Thanks!
--
OSer
More information about the U-Boot
mailing list