[meta-freescale] Recipe validation

Gary Thomas gary at mlbassoc.com
Wed Dec 3 14:28:16 PST 2014


On 2014-12-03 14:40, Riccardo Stronati wrote:
> No way, The imx-* recipes are kernel version related, I suppose...
>
> I tried and I get:
>
> | make -C pxp all
> | make[1]: Entering directory `/yocto-dizzy/build/tmp/work/
> edm_fairy_imx6-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/pxp'
> | arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6 -DIMX6Q
> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include/uapi -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include
> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/drivers/mxc/security/rng/include
> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/drivers/mxc/security/sahara2/include -Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -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>

This happens if you try to use an older kernel.  The imx-lib is now based
on kernel 3.10+

If you really want to continue using older kernels, you can use the attached
.bbappend as the pxp stuff isn't of much use (and won't work with the older
kernel anyway).

>
> 2014-11-30 23:51 GMT+01:00 Riccardo Stronati <r.stronati at gmail.com <mailto:r.stronati at gmail.com>>:
>
>     I think the main problem could be the kernel. The edm bsp has a lot of kernel patch and I have to try to port them to the newer kernel version.
>
>
>
>
>     2014-11-30 19:06 GMT+01:00 Marco Cavallini <cavallini.koan at gmail.com <mailto:cavallini.koan at gmail.com>>:
>
>         Wouldn't be better to get out the BSP (bootloader and kernel) from the
>         meta-fsl-arm-extra provided by Technexion and get a greater benefit
>         using a more recent Yocto branch like 'DAISY'?
>
>         Just my 2 cents.
>         --
>         Marco Cavallini | KOAN sas | Bergamo - Italia
>           embedded and real-time software engineering
>         Phone:+39-035-255.235 <tel:%2B39-035-255.235> - Fax:+39-178-22.39.748 <tel:%2B39-178-22.39.748>
>         http://www.KoanSoftware.com
>         http://www.KaeilOS.com
>
>         2014-11-30 14:59 GMT+01:00 Riccardo Stronati <r.stronati at gmail.com <mailto:r.stronati at gmail.com>>:
>         > Hi everyone,
>         >
>         > I'd like to build a custom image with qt4 embedded, phonon-gstreamer with
>         > opengl and so gpu hardware acceleration.
>         >
>         > These are my recipe files can somebody validate them?
>         >
>         > I'm using yocto dora since the technexion bsp for edm1-fairy with imx6 do
>         > not support the newer yocto versions.
>         >
>         > Thanks you.
>         >
>         >
>         >
>         >
>         >
>         > --
>         > _______________________________________________
>         > meta-freescale mailing list
>         >meta-freescale at yoctoproject.org <mailto:meta-freescale at yoctoproject.org>
>         >https://lists.yoctoproject.org/listinfo/meta-freescale
>         >
>         --
>         _______________________________________________
>         meta-freescale mailing list
>         meta-freescale at yoctoproject.org <mailto:meta-freescale at yoctoproject.org>
>         https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
#
# 2014-09-26
# This recipe does not build with kernels older than 3.10.17
# The problem is that the 'pxp' directory is using functionality
# only introduced in newer kernels.  None of the rest of the i.MX6
# tools currently need this support, so we can just not build the
# 'pxp' bits.  Luckily, the rest of the library builds fine if the
# pxp directory is simply removed.
#

do_compile_prepend() {
    rm -fr ${S}/pxp
}


More information about the meta-freescale mailing list