AnsweredAssumed Answered

u-boot compilation error

Question asked by Volodymyr Makhitko on Jan 12, 2015
Latest reply on Dec 5, 2016 by wenming feng

Hi all!


I'm following for this manual meta-fsl-bsp-release.git - Freescale i.MX Yocto BSP Release Layer

repo init -u git:// -b imx-3.10.53-1.1.0_ga

repo sync


Building X11
MACHINE=wandboard-dual source -b build-x11 -e x11

bitbake fsl-image-qt5


And I got error on clean source:


| arch/arm/imx-common/built-in.o: In function `arch_preboot_os':

| /home/x0158990/work/os/fsl-arm-yocto-bsp/build-X11/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-imx/2014.04-r0/git/arch/arm/imx-common/cpu.c:203: undefined reference to `ldo_mode_set'

| arm-poky-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.24 assertion fail /home/x0158990/work/os/fsl-arm-yocto-bsp/build-X11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.24-r0/binutils-2.24/bfd/elf32-arm.c:7696

| arm-poky-linux-gnueabi-ld.bfd: error: required section '.rel.plt' not found in the linker script

| arm-poky-linux-gnueabi-ld.bfd: final link failed: Invalid operation

| make: *** [u-boot] Error 1

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/x0158990/work/os/fsl-arm-yocto-bsp/build-X11/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-imx/2014.04-r0/temp/log.do_compile.8980)

ERROR: Task 234 (/home/x0158990/work/os/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/, do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 4851 tasks of which 4821 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:


Please help!