[U-Boot] cubieboard sunxi u-boot help me

Jagan Teki jagan at openedev.com
Fri Nov 4 17:50:39 CET 2016


On Fri, Nov 4, 2016 at 6:03 PM, 崔超 <13671369456 at 163.com> wrote:
> 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"

U-boot has very feasible way to build the source, try buildman.

Set-up:
tools/buildman/README

For build:
./tools/buildman/buildman -k <defconfig_file>

for your case:
./tools/buildman/buildman -k Cubieboard

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list