All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project
@ 2020-12-23 15:33 Romain Naour
  2020-12-23 15:33 ` [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd) Romain Naour
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Romain Naour @ 2020-12-23 15:33 UTC (permalink / raw)
  To: buildroot

It may be useful for users using Boundary Devices boards to find
more advanced defconfigs that the one provided by Buildroot.

See:
https://github.com/boundarydevices/buildroot-external-boundary#configurations-details

Update the readme.txt to add the link to the br2_external maintained
by Boundary Devices.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
---
v2: remove the warning about "supported branches"
---
 board/boundarydevices/common/readme.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/board/boundarydevices/common/readme.txt b/board/boundarydevices/common/readme.txt
index d1bb3fa598..307cfb5549 100644
--- a/board/boundarydevices/common/readme.txt
+++ b/board/boundarydevices/common/readme.txt
@@ -40,3 +40,9 @@ Where 'sdX' is the device node of the uSD partition.
 To upgrade u-boot, cancel autoboot and type:
 
 > run upgradeu
+
+See Boundary Devices's buildroot-external-boundary project
+for additional and advanced defconfigs using Qt5, gstreamer,
+NXP proprietary packages with demo applications:
+
+https://github.com/boundarydevices/buildroot-external-boundary
-- 
2.21.3

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

* [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd)
  2020-12-23 15:33 [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Romain Naour
@ 2020-12-23 15:33 ` Romain Naour
  2020-12-27  8:35   ` Peter Korsgaard
  2020-12-23 15:33 ` [Buildroot] [PATCH 3/3] package/freescale-imx/imx-gpu-viv: is an libopencl provider Romain Naour
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Romain Naour @ 2020-12-23 15:33 UTC (permalink / raw)
  To: buildroot

Without this file, the clinfo binary provided by the package doesn't
detect the opencl support.

Fixes:
https://github.com/boundarydevices/buildroot-external-boundary/issues/5

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
---
 package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
index fca8a4d447..06c74869cd 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
@@ -108,6 +108,7 @@ define IMX_GPU_VIV_INSTALL_TARGET_CMDS
 	$(IMX_GPU_VIV_INSTALL_EXAMPLES)
 	$(IMX_GPU_VIV_INSTALL_GMEM_INFO)
 	cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr
+	$(INSTALL) -D -m 0644 $(@D)/gpu-core/etc/Vivante.icd $(TARGET_DIR)/etc/OpenCL/vendors/Vivante.icd
 	for lib in EGL GAL GLESv2 VDK; do \
 		for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \
 			case $$f in \
-- 
2.21.3

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

* [Buildroot] [PATCH 3/3] package/freescale-imx/imx-gpu-viv: is an libopencl provider
  2020-12-23 15:33 [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Romain Naour
  2020-12-23 15:33 ` [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd) Romain Naour
@ 2020-12-23 15:33 ` Romain Naour
  2020-12-26 17:33 ` [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Thomas Petazzoni
  2020-12-27  8:31 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Romain Naour @ 2020-12-23 15:33 UTC (permalink / raw)
  To: buildroot

The imx-gpu-viv install libOpenCL.so.1.2 library and cl.h header,
so declare it as a libopencl provider.

With this support we can select the clinfo package provided by
Buildroot instead of the one provided by imx-gpu-viv package.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
---
 package/freescale-imx/imx-gpu-viv/Config.in      | 4 ++++
 package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/freescale-imx/imx-gpu-viv/Config.in b/package/freescale-imx/imx-gpu-viv/Config.in
index a2deaf2e12..753a71ee00 100644
--- a/package/freescale-imx/imx-gpu-viv/Config.in
+++ b/package/freescale-imx/imx-gpu-viv/Config.in
@@ -14,6 +14,7 @@ config BR2_PACKAGE_IMX_GPU_VIV
 	depends on BR2_TOOLCHAIN_USES_GLIBC
 	select BR2_PACKAGE_HAS_LIBEGL
 	select BR2_PACKAGE_HAS_LIBGLES
+	select BR2_PACKAGE_HAS_LIBOPENCL
 	select BR2_PACKAGE_HAS_LIBOPENVG
 	help
 	  Userspace libraries for Vivante GPU on i.MX platforms
@@ -74,6 +75,9 @@ config BR2_PACKAGE_PROVIDES_LIBEGL
 config BR2_PACKAGE_PROVIDES_LIBGLES
 	default "imx-gpu-viv"
 
+config BR2_PACKAGE_PROVIDES_LIBOPENCL
+	default "imx-gpu-viv"
+
 config BR2_PACKAGE_PROVIDES_LIBOPENVG
 	default "imx-gpu-viv"
 
diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
index 06c74869cd..ba41af676f 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
@@ -18,7 +18,7 @@ IMX_GPU_VIV_LICENSE = NXP Semiconductor Software License Agreement
 IMX_GPU_VIV_LICENSE_FILES = EULA COPYING
 IMX_GPU_VIV_REDISTRIBUTE = NO
 
-IMX_GPU_VIV_PROVIDES = libegl libgles libopenvg
+IMX_GPU_VIV_PROVIDES = libegl libgles libopencl libopenvg
 IMX_GPU_VIV_LIB_TARGET = $(call qstrip,$(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT))
 
 ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
-- 
2.21.3

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

* [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project
  2020-12-23 15:33 [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Romain Naour
  2020-12-23 15:33 ` [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd) Romain Naour
  2020-12-23 15:33 ` [Buildroot] [PATCH 3/3] package/freescale-imx/imx-gpu-viv: is an libopencl provider Romain Naour
@ 2020-12-26 17:33 ` Thomas Petazzoni
  2020-12-27  8:31 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2020-12-26 17:33 UTC (permalink / raw)
  To: buildroot

On Wed, 23 Dec 2020 16:33:23 +0100
Romain Naour <romain.naour@smile.fr> wrote:

> It may be useful for users using Boundary Devices boards to find
> more advanced defconfigs that the one provided by Buildroot.
> 
> See:
> https://github.com/boundarydevices/buildroot-external-boundary#configurations-details
> 
> Update the readme.txt to add the link to the br2_external maintained
> by Boundary Devices.
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> Cc: Gary Bisson <gary.bisson@boundarydevices.com>
> ---
> v2: remove the warning about "supported branches"
> ---
>  board/boundarydevices/common/readme.txt | 6 ++++++
>  1 file changed, 6 insertions(+)

Series applied, thanks

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project
  2020-12-23 15:33 [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Romain Naour
                   ` (2 preceding siblings ...)
  2020-12-26 17:33 ` [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Thomas Petazzoni
@ 2020-12-27  8:31 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2020-12-27  8:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Romain" == Romain Naour <romain.naour@smile.fr> writes:

 > It may be useful for users using Boundary Devices boards to find
 > more advanced defconfigs that the one provided by Buildroot.

 > See:
 > https://github.com/boundarydevices/buildroot-external-boundary#configurations-details

 > Update the readme.txt to add the link to the br2_external maintained
 > by Boundary Devices.

 > Signed-off-by: Romain Naour <romain.naour@smile.fr>
 > Cc: Gary Bisson <gary.bisson@boundarydevices.com>
 > ---
 > v2: remove the warning about "supported branches"

Committed to 2020.02.x, 2020.08.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd)
  2020-12-23 15:33 ` [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd) Romain Naour
@ 2020-12-27  8:35   ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2020-12-27  8:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Romain" == Romain Naour <romain.naour@smile.fr> writes:

 > Without this file, the clinfo binary provided by the package doesn't
 > detect the opencl support.

 > Fixes:
 > https://github.com/boundarydevices/buildroot-external-boundary/issues/5

 > Signed-off-by: Romain Naour <romain.naour@smile.fr>
 > Cc: Gary Bisson <gary.bisson@boundarydevices.com>

Committed to 2020.02.x, 2020.08.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2020-12-27  8:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-23 15:33 [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Romain Naour
2020-12-23 15:33 ` [Buildroot] [PATCH 2/3] package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd) Romain Naour
2020-12-27  8:35   ` Peter Korsgaard
2020-12-23 15:33 ` [Buildroot] [PATCH 3/3] package/freescale-imx/imx-gpu-viv: is an libopencl provider Romain Naour
2020-12-26 17:33 ` [Buildroot] [PATCH 1/3] board/boundarydevices: promote buildroot-external-boundary project Thomas Petazzoni
2020-12-27  8:31 ` Peter Korsgaard

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.