[meta-freescale] u-boot fails building with gk802 (hdmi dongle) as MACHINE, hard-float issue?

Christian Betz christian.betz at gmail.com
Tue Aug 27 18:25:51 PDT 2013


I found the answer and I was able to build u-boot (and
core-image-base) successfully after modifying
arch/arm/cpu/armv7/config.mk as described at the link below [1]

A patch will be forthcoming in the early AM.

>From my build configuration which is printed when I run bitbake, I
have the following variables:

TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"

Should I be checking for callconvention-hard in TUNE_FEATURES? Or is
it OK if I just check DEFAULTTUNE_mx6 directly? (since this is a
u-boot for a specific machine)

--christian

1. https://code.google.com/p/chromium/issues/detail?id=213120#c1

On Tue, Aug 27, 2013 at 1:26 PM, Christian Betz
<christian.betz at gmail.com> wrote:
> i've already gotten a dylan build working on a imx6qsabresd, but I'm
> trying to test out the latest bleeding edge code in master-next with a
> zealz gk802 HDMI dongle.
>
> I am using master-next for all the meta-fsl-* layers and master for
> the other repos and attempting to bitbake core-image-base. all sources
> were fetched fresh last night.
>
> "bitbake core-image-base" works fine if I change MACHINE back to
> 'imx6qsabresd'. but u-boot will not build when machine is 'gk802'.
>
> i'm going to start digging later tonight but I'd figure I'd at least
> ask if anyone knows of a quick fix first. i'll reply to this thread
> with any additional info I can gather.
>
> a portion of the error is shown below.
>
> --christian
>
> | arm-poky-linux-gnueabi-ld.bfd: error:
> /mnt/arm/dongle/fsl-community-bsp/build/tmp/sysroots/gk802/usr/lib/arm-poky-linux-gnueabi/4.8.1/libgcc.a(bpabi.o)
> uses VFP register arguments, u-boot does not
> | arm-poky-linux-gnueabi-ld.bfd: failed to merge target specific data
> of file /mnt/arm/dongle/fsl-community-bsp/build/tmp/sysroots/gk802/usr/lib/arm-poky-linux-gnueabi/4.8.1/libgcc.a(bpabi.o)
> | arm-poky-linux-gnueabi-ld.bfd: error:
> /mnt/arm/dongle/fsl-community-bsp/build/tmp/sysroots/gk802/usr/lib/arm-poky-linux-gnueabi/4.8.1/libgcc.a(_divdi3.o)
> uses VFP register arguments, u-boot does not
> | arm-poky-linux-gnueabi-ld.bfd: failed to merge target specific data
> of file /mnt/arm/dongle/fsl-community-bsp/build/tmp/sysroots/gk802/usr/lib/arm-poky-linux-gnueabi/4.8.1/libgcc.a(_divdi3.o)
> | arm-poky-linux-gnueabi-ld.bfd: error:
> /mnt/arm/dongle/fsl-community-bsp/build/tmp/sysroots/gk802/usr/lib/arm-poky-linux-gnueabi/4.8.1/libgcc.a(_udivdi3.o)
> uses VFP register arguments, u-boot does not
> | arm-poky-linux-gnueabi-ld.bfd: failed to merge target specific data
> of file /mnt/arm/dongle/fsl-community-bsp/build/tmp/sysroots/gk802/usr/lib/arm-poky-linux-gnueabi/4.8.1/libgcc.a(_udivdi3.o)
> | 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
> /mnt/arm/dongle/fsl-community-bsp/build/tmp/work/gk802-poky-linux-gnueabi/u-boot-imx6dongle/git-r0/temp/log.do_compile.5488)
> ERROR: Task 74 (/mnt/arm/dongle/fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-bsp/u-boot/u-boot-imx6dongle_git.bb,
> do_compile) failed with exit code '1'



-- 
"the new garbage collector will be an arena-based, quad-color
incremental, generational, non-copying, high-speed, cache-optimized
garbage collector" -- LuaJIT Roadmap



More information about the meta-freescale mailing list