Skip to contentSkip to conversation

board/boundarydevices: promote buildroot-external-boundary project

PATCH New Romain Naour 3 participants 6 messages Dec 23, 2020 – Dec 27, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 board/boundarydevices: promote buildroot-external-boundary project

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.

---
v2: remove the warning about "supported branches"

---
 board/boundarydevices/common/readme.txt | 6 ++++++
 1 file changed, 6 insertions(+)
board/boundarydevices/common/readme.txt +6 -0
index d1bb3fa598..307cfb5549 100644
@@ -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
Signature · 1 line
2.21.3
#1 lore raw

PATCH 2/3 package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd)

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

---
 package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 1 +
 1 file changed, 1 insertion(+)
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk +1 -0
index fca8a4d447..06c74869cd 100644
@@ -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 \
Signature · 1 line
2.21.3
#2 lore raw

PATCH 2/3 package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd)

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> 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

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

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 3/3 package/freescale-imx/imx-gpu-viv: is an libopencl provider

In reply to Romain Naour

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.

---
 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(-)
package/freescale-imx/imx-gpu-viv/Config.in +4 -0
index a2deaf2e12..753a71ee00 100644
@@ -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"
 
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk +1 -1
index 06c74869cd..ba41af676f 100644
@@ -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)
Signature · 1 line
2.21.3
#4 lore raw

PATCH 1/3 board/boundarydevices: promote buildroot-external-boundary project

In reply to Romain Naour
Quoted 9 lines · On Wed, 23 Dec 2020 16:33:23 +0100 Romain Naour <[email protected]> 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.

Quoted 7 lines

---
v2: remove the warning about "supported branches"

---
 board/boundarydevices/common/readme.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Series applied, thanks

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

PATCH 1/3 board/boundarydevices: promote buildroot-external-boundary project

In reply to Romain Naour
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> 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

Quoted 7 lines

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

---
v2: remove the warning about "supported branches"

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

Signature · 1 line
Bye, Peter Korsgaard