[meta-freescale] Linux kernel version
Eric Nelson
eric.nelson at boundarydevices.com
Tue Jun 24 14:36:20 PDT 2014
Hi Jens,
On 06/23/2014 07:30 AM, Jens Rehsack wrote:
> Hi,
>
> I'm trying to get a Yocto based image built for a modified sabre board.
>
> I received some kernel patches against uboot 2009.08 and imx-linux-3.0.35-4.0.0.
>
You're going to need to update your kernel to 3.10.17 in order to
use the libraries in Daisy.
> When I build a default project (eg. fsl-image-dfb) for machine
> imx6dlsabresd (I didn't manage to add an own machine configuration, but
> will dig developer manual before asking regarding that ...), always
> linux-imx-3.10.17-ga_1.0.0 is built. Setting
>
> PREFERRED_VERSION_linux-imx_mx6 = "3.0.35"
>
> causes in build-errors of imx-lib_mx6:
>
> | arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/home/sno/fsl-release-bsp/first-test/tmp/sysroots/mediapilot -DIMX6Q -I/home/sno/fsl-release-bsp/first-test/tmp/sysroots/mediapilot/usr/src/kernel/include/uapi -I/home/sno/fsl-release-bsp/first-test/tmp/sysroots/mediapilot/usr/src/kernel/include -I/home/sno/fsl-release-bsp/first-test/tmp/sysroots/mediapilot/usr/src/kernel/drivers/mxc/security/rng/include -I/home/sno/fsl-release-bsp/first-test/tmp/sysroots/mediapilot/usr/src/kernel/drivers/mxc/security/sahara2/include -Wall -O2 -fPIC -c pxp_lib.c -o pxp_lib.o
> | In file included from pxp_lib.c:26:0:
> | pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or directory
> | #include <linux/pxp_device.h>
> | ^
> | compilation terminated.
> | make[1]: *** [pxp_lib.o] Error 1
> | make[1]: Leaving directory `/home/sno/fsl-release-bsp/first-test/tmp/work/mediapilot-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/pxp'
>
Even if you get past imx-lib's compilation issues, you'll be left with
a mis-match of kernel and at least GPU ABI mismatches.
Regards,
Eric
More information about the meta-freescale
mailing list