[meta-freescale] yocto, linux-fslc and xorg

Daiane Angolini daiane.angolini at freescale.com
Mon Sep 16 04:32:32 PDT 2013


On 09/16/2013 03:22 AM, Vanhauwaert Wouter wrote:
> Hello all,
>
> I want to do some tests with the mainline yocto (poky) with the meta-arm-fsl layers and X.
> I want to make use of the latest mainline kernel. I added PREFERRED_PROVIDER_virtual/kernel = "linux-fslc" to my local.conf and do "bitbake core-image-web-kiosk"
>
> Then I'm facing a problem in the build (I'm building it for an imx53qsb):
>
> In file included from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/kgdb.h:16:0,
> |                  from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/fb.h:4,
> |                  from /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/xserver-xorg-video-imx-11.09.01/src/imx_display.c:33:
> | /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory
> |  #include <asm/linkage.h>
> |                          ^
> | compilation terminated.
> | make[2]: *** [imx_display.lo] Error 1
> | make[2]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/temp/log.do_compile.32086)
> ERROR: Task 2827 (/opt/git/poky/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb, do_compile) failed with exit code '1'q
>
> What is happening?

What is happening is that the xf86-video-imxfb_11.09.01 expects the 
kernel headers from kernel 2.6.35_11.09.01 and you only have the kernel 
headers from 3.11, so you face a mismatch.

Are you avalilable to change the xf86-video-imxfb_11.09.01 source code 
in order to get it compatible with both kernels?

Otavio, do you think a bug must be created?


>
> grtz
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane




More information about the meta-freescale mailing list