[yocto] Issue when integrating different bsp-layers on a single bblayers.conf

Iván Castell icastell at nayarsystems.com
Fri Jun 8 00:22:08 PDT 2018


Hello.

Many thanks for your explanation Mr. Trevor. That makes sense to me. At
least now we know we are in the good way.

2018-06-07 18:47 GMT+02:00 Trevor Woerner <twoerner at gmail.com>:

> Hi Iván,
>
> On Thu 2018-06-07 @ 04:39:11 PM, Iván Castell wrote:
> > When setting the "build" directory with a bblayers.conf customized for a
> > single platform, each platform builds the image recipe properly.
> >
> > However, when I have integrated all bsp-layers in a single bblayers.conf,
> > the compilation of some platforms has been broken.
>
> This is a problem that comes up fairly often, and is a bug with the BSP
> layer
> itself. All BSP layers are supposed to be created so that they work well
> when
> intermixed with other BSP layers, but often they don't. See Angstrom:
>
>         http://www.angstrom-distribution.org/
>
> > The specific problem is this: one bsp layer (meta-rockchip +
> > meta-rockchip-extra) defines a recipes-graphics/mesa/mesa_%.bbappend
> with
> > this content inside:
>
> I am the maintainer of the non-vendor meta-rockchip layer:
>
>         https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/
>
> The fact you mention this problem and meta-rockchip-extra implies to me
> that
> you're using the vendor-provided meta-rockchip and meta-rockchip-extra:
>
>         https://github.com/rockchip-linux/meta-rockchip
>         https://github.com/rockchip-linux/meta-rockchip-extra
>

Exactly those are the layers we are using. We use all hardware platforms to
play videos using a Qt + gstreamer application.

The problem is, the vendor is only interested in their own hardware, so to
> them there's no reason to ever mix their BSP layer with any other BSP
> layer.
> There's no interest on their part to "play well" with others or to check
> whether their layers comply with community guidelines.
>
> As a person who likes OpenEmbedded as a whole, I try my best to make sure
> any
> layer I'm interested in plays well within the entire OpenEmbedded
> ecosystem.
> However, because mali graphics are currently all binary blobs and projects
> like Lima and Panfrost aren't yet ready for prime-time, there isn't much
> support yet for _accelerated_ graphics in the non-vendor layer.
>

I hope some of these open projects will success to improve the current
situation.



> >     - Can you suggest a fix to solve this issue?
>
> Fix the problem in the layer by using MACHINE-specific OVERRIDES and submit
> a pull request to the owners. However, I've noticed there haven't been any
> updates to their OE layers in the past 4 months or more, so I can't help
> wonder if they've abandoned them.
>

Will try to fix it as suggested and will send the PR.



> Out of curiosity, which MACHINE(s) are you interested in?
>

Current working platforms are:
    * Intel Celeron J1900 (meta-intel).
    * Rockchip RK3288 Merrii-K2 (meta-rockchip)

Planning to start working with some Allwinner-based board (meta-sunxi).

Have a nice day! :-)

Kind regards,
  --  Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180608/ba16e4db/attachment.html>


More information about the yocto mailing list