[Buildroot] [PATCH] freescale-imx: add BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 29 14:55:11 UTC 2016


Hello,

On Tue, 29 Mar 2016 16:45:32 +0200, Gary Bisson wrote:

> > People who want to use those Freescale specific packages are indeed
> > supposed to use Freescale specific kernels. Just like it's the case for
> > i.MX6 I believe, no?
> 
> Yes it is true. The difference is that the i.MX6 kernel is still
> active and moving forward whereas those old platforms are stuck with a
> 2.6.x kernel. My understanding of Yocto move is that those 2.6 kernels
> won't even build with recent toolchains (gcc > 5.1) but I might be
> wrong.

We still provided gcc 4.8 and 4.9 in Buildroot, which are believe are
OK to build 2.6 kernels. And people can still use external toolchains
to get even older gcc versions if needed. We support things all the way
to gcc 4.3, since that's what the Blackfin external toolchain is using.

> > However, what I don't really understand here is whether imx-lib in its
> > latest version packaged in BR will build/work fine or not for those old
> > Freescale platforms (of course, provided you build the Freescale
> > specific kernel that is relevant for that old platform).
> >
> > If the latest version of imx-lib still supports those old platforms,
> > then I don't see where the problem is.
> 
> The imx-lib package will still be fine for those platforms as long as
> their 2.6.x kernel can build.

So we're good. imx-lib has anyway never built with anything but the
Freescale specific kernel, so the issue you're raising is not new.


> >> +ifeq ($(BR2_PACKAGE_FREESCALE_IMX_HAS_VPU),y)
> >> +GST_FSL_PLUGINS_DEPENDENCIES += libfslvpuwrap
> >> +endif
> >
> > So the gst-fsl-plugins code autodetects if libfslvpuwrap is available?
> 
> No actually in this case it will build vpu-related plugins only if the
> $PLATFORM supports it.

OK. So it indeed autodetects the availability of libfslvpuwrap to
decide whether it should build the VPU plugins or not.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list