[meta-freescale] [meta-fsl-demos][PATCH v2] packagegroup-fsl-tools-testapps: Install imx-test only for soc that support

Otavio Salvador otavio at ossystems.com.br
Fri Apr 24 05:01:10 PDT 2015


On Thu, Apr 23, 2015 at 11:05 PM, Lauren Post <Lauren.Post at freescale.com> wrote:
> Our goal is to make it clear which packages are i.mx specific.  With the dummy package, it can be brought in for non-i.MX machines.

This is easy solved by adding a COMPATIBLE_MACHINE to the imx-test
dummy recipe. I agree with this point.

> I think it is best to be specific if imx machines have kernels that do not support imx-test.  We do this for slevk.

We shouldn't. The BSP should be easy to extend. This is critical as
the meta-fsl-arm is used for public 3rd party boards but as well for
every custom board product which uses OE-Core-based build system (e.g
Yocto Project).

> One option is put this in meta-fsl-arm-extra as a bbappend.

This imposes more metadata maintenance for no reason. Also breaks
package feeds of current products.

> I don't like the idea of a dummy recipe.  When the dummy package was created it was because the _remove feature was not available.  I think using _remove is better option for those machines that do not support imx-test.

I am sorry but when I created the imx-test dummy, in 2012, it was to
make easy to support non-FSL-kernels without changing image per
machine. It was documented in the commit log:

commit 6f633ce09bf9a5e68134afc642155533d60e1c53
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Sat Sep 15 14:47:06 2012 -0300

    imx-test: Add a dummy package

    The dummy package allows for SoCs without imx-test compatible package
    to be used without the need of SoC specific changes in the default
    images.

    To achive it, we used a version 00.00.00 so it will be the "oldest"
    alternative for the recipe and being used only as a fallback.

    Change-Id: Icbdd2588cc98c8fbb093c7a44736b7ed2292844c
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

The dummy package is not beautiful but a solution which scale. A way
nicer solution would be Freescale to fix imx-test and Linux kernel
mainline to properly support each other.

-- 
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