[Buildroot] [PATCH] package/freescale-imx: add layerscape platform
Arnout Vandecappelle
arnout at mind.be
Wed Aug 24 19:46:45 UTC 2022
On 24/08/2022 14:48, Francois Perrad wrote:
> layerscape is not strictly a member of the IMX family,
> but the NXP layerscape family uses some of components of the IMX family,
> especially the IMX GPU Vivante.
>
> this change allows to use imx-gpu_viv firmware with a layerscape SoC.
I'm not entirely familiar with the NXP product line, but I do know for sure
that "layerscape" does not designate a SoC, it's a _line_ of SoCs. Some of them
are actually PowerPC!
So you definitely can't have "layerscape at the same level as "IMX8MP". I'd
rather expect something like LS21XX or something like that.
It unfortunately pretty much depends on what NXP is going to add later, i.e.
if they're going to add layerscapes that have a different GPU or VPU.
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
> package/freescale-imx/Config.in | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
> index 4a4237fb4..18c65d743 100644
> --- a/package/freescale-imx/Config.in
> +++ b/package/freescale-imx/Config.in
> @@ -57,6 +57,9 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
>
> config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
> bool "imx8x"
> +
> +config BR2_PACKAGE_FREESCALE_LAYERSCAPE_PLATFORM
> + bool "layerscape"
> endchoice
>
> config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
> @@ -76,6 +79,7 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
> default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
> default "IMX8MN" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
> default "IMX8MP" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
> + default "LAYERSCAPE" if BR2_PACKAGE_FREESCALE_LAYERSCAPE_PLATFORM
This is normally how you know the correct designation, because the platform is
used in some libraries. But none of them for the Vivante, so in this case
there's no telling.
Regards,
Arnout
>
> config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
> bool
> @@ -100,7 +104,8 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
> BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \
> BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \
> BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP || \
> - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
> + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X || \
> + BR2_PACKAGE_FREESCALE_LAYERSCAPE_PLATFORM
>
> source "package/freescale-imx/imx-alsa-plugins/Config.in"
> source "package/freescale-imx/imx-codec/Config.in"
More information about the buildroot
mailing list