[meta-freescale] Linux kernel version for iMX6?

Daiane Angolini daiane.list at gmail.com
Tue Jun 24 06:13:38 PDT 2014

On Tue, Jun 24, 2014 at 9:33 AM, Jens Rehsack <rehsack at gmail.com> wrote:
> Am 24.06.2014 um 14:02 schrieb Daiane Angolini <daiane.list at gmail.com>:
>>>> Are you using FSL Community BSP or meta-fsl-bsp-release?
>>> I started as documented in fsl-yocto-3.10.17_1.0.0, so I assume meta-fsl-bsp-release
>> meta-fsl-bsp-release is not supposed to work with outside
>> L3.10.17-1.0.0-GA release.
>> And it´s only supposed to be a reference static source code. It means,
>> when you need to adapt, change any configuration, or version. You
>> should use FSL Community BSP.
> So it's not reasonable to use yocto-bsp and include meta-fsl-arm/conf/machine/include/imx-base.inc or it that sane?
> /me has some difficulties identifying components.

It´s my main doubt on how to explain yocto bsp to someone that does
not know yocto.

Should I start with components, or should I start with something
usable (like an image) and them mix all the components together.

Maybe it´s the same bottom-up X top-down dilemma

the meta-fsl-bsp-release has several configurations that cannot be
overriden, that´s why your new meta layer does not work.

it´s not the case that your meta layer does not work. It´s the case
that meta-fsl-bsp-release does not allow some configuration in your
layer to get applied.

>>>> What is your target kernel version?
>>> 3.0.35
>> You can find latest 3.0.35 on Dora:
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-kernel/linux/linux-imx_3.0.35.bb?h=dora
>>>> What is your target u-boot version?
>>> 2009.08
>> Are you sure?
> Not at all - clarifying was the intension of asking ;)

2009.08 is from last century :P

>> What Freescale released version?
>> In dora we have imx_3.0.35_4.0.0:
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-bsp/u-boot/u-boot-imx_2009.08.bb?h=dora#n25
>> But I think you can consider to use a newer one.
> I received patches from the board manufacturer against 2009.08 and they don't apply cleanly to 2013.04.
> While I do not expect that I can re-apply the kernel patch to a newer kernel (entire arch/arm/mach-mx6 directory is missing on 3.10.17), chances might be better to port u-boot patch.

"against 2009.08" is not enough. Freescale released thousand 2009.08 releases.

Focus on u-boot first. kernel is 2nd step

Take a look here:

And see how much different u-boot_2009.08 releases Freescale made.
Which one you should use?

>>>> Have you already created your meta layer?
>>> No - I tried but didn't succeed.
>> So, start over, using only FSL Community BSP. Forget about
>> meta-fsl-bsp-release because it will not work for you.
> Ok, will do. I already have checked out the repository fsl-community-bsp-base at sources/base.
> So I need something else?

Yes, remove meta-fsl-bsp-release from your conf/bblayers.conf
replace your manifest to point to the latest (instead of
meta-fsl-bsp-release commit id)

If you don´t know how to do that, start over in a clear directory.

>> When you have only FSL Community BSP, try again to create your own
>> meta layer. Go step-by-step. Any error or stuck point, post here the
>> log of your error. Keep the Yocto Project Manual around you.
> Ok :)
>> My suggested steps:
>> 1- install FSL Community BSP (on dora)
>> 2- bitbake core-image-base (if you have access to a sabre sd board, it
>> would be great to get it tested)
> I have access to a board based on a sabre board, but I don't get
> information on which :(
> It's a bit pita ...
>> 3- detect your target linux and u-boot
>> 4- create your empty meta layer
>> 5- create your machine based on sabresd
>> 6- change the u-boot preferred
> Sounds easy, but I expect catching all pitfalls on the way ;)

For sure you will :D

Babysteps, ok?


More information about the meta-freescale mailing list