All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/freescale-imx: add layerscape platform
@ 2022-08-24 12:48 Francois Perrad
  2022-08-24 19:46 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2022-08-24 12:48 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Francois Perrad <francois.perrad@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
 
 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"
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/freescale-imx: add layerscape platform
  2022-08-24 12:48 [Buildroot] [PATCH] package/freescale-imx: add layerscape platform Francois Perrad
@ 2022-08-24 19:46 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-08-24 19:46 UTC (permalink / raw)
  To: Francois Perrad, buildroot



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@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"
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-24 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 12:48 [Buildroot] [PATCH] package/freescale-imx: add layerscape platform Francois Perrad
2022-08-24 19:46 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.