[meta-freescale] Linux kernel version

Otavio Salvador otavio at ossystems.com.br
Tue Jun 24 14:20:53 PDT 2014


On Mon, Jun 23, 2014 at 11:30 AM, Jens Rehsack
<Jens.Rehsack at rademacher.de> wrote:
> 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.
>
> 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'
>
> Well - I've seen xbmc project from Stephan (https://github.com/wolfgar) provides a libcec which seems to have similar content. I'm a bit torn how to move out of that...
>
> Is it reasonable to port the received kernel patches to linux-imx_mx6 3.10.17 (are all drivers ported?)
> Is it reasonable to use libcec instead of imx-lib?
>
> I also received a configure error of ffmpeg during xbmc compile - but ECANTPARSE. A hint how to figure out what's wrong would be nice.
>
> I used the dora branch as hinted for xbmc - is it sane or is daisy reasonable?.

Please use the FSL Community BSP. As said here in other threads the
release layer is a reference point in time, for validation, not for
use as a product base.

You can see a post which I tried to summarize it:

https://community.freescale.com/message/409716#409716

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list