* [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
` (11 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
In the case of the vivante sdk, the deprecated-wl-shell option needs to
be enabled. Otherwise, apps using the sdk cannot run on weston/wayland.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/weston/Config.in | 7 +++++++
package/weston/weston.mk | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/package/weston/Config.in b/package/weston/Config.in
index 3b4e932b7d..c560c32b50 100644
--- a/package/weston/Config.in
+++ b/package/weston/Config.in
@@ -164,4 +164,11 @@ comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland ba
!BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
!BR2_PACKAGE_HAS_LIBEGL_WAYLAND || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+config BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL
+ bool "deprecated wl shell"
+ help
+ In the case of the vivante sdk, the deprecated-wl-shell option
+ needs to be enabled. Otherwise, apps using the sdk cannot
+ run on weston/wayland.
+
endif
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index e6c54ee7aa..ad4d81425e 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -186,4 +186,8 @@ else
WESTON_CONF_OPTS += -Ddemo-clients=false
endif
+ifeq ($(BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL),y)
+WESTON_CONF_OPTS += -Ddeprecated-wl-shell=true
+endif
+
$(eval $(meson-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: " Chris Dimich
` (10 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
To match NXP 5.15.32-2.0.0 release.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
.../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash | 2 +-
.../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
index ee105ef82c..ccb28bc4f6 100644
--- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
+++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
@@ -1,3 +1,3 @@
# locally computed
-sha256 257c6cd8b01cfb6543827cbeb78409e6a2ad4ae321891751dcea1abc47d89379 kernel-module-imx-gpu-viv-ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5.tar.gz
+sha256 b816ab94b1d248cfc5fe5f6381422346c273d01760bb324303e0298e10bd46e2 kernel-module-imx-gpu-viv-82c6cb6c607424403b8d76805bb17e7be74292f6.tar.gz
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
index 10505fdf17..f94890a438 100644
--- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
+++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
@@ -4,7 +4,7 @@
#
################################################################################
-KERNEL_MODULE_IMX_GPU_VIV_VERSION = ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5
+KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6 #6.4.3.p4.2
KERNEL_MODULE_IMX_GPU_VIV_SITE = \
$(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION))
KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
` (9 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
To match NXP 5.15.32-2.0.0 release.
EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash | 8 ++++----
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
index 312eeb6f82..b6d206d21d 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
@@ -1,5 +1,5 @@
# Locally calculated
-sha256 1324b1aaf190110b80ad9a6f6533f4f50dce9e9ab8d49d8503f59764b151d219 imx-gpu-viv-6.4.3.p2.0-aarch32.bin
-sha256 003c30baefb1655790b475c3cdfa5cefbf81ea89ef37c6649b64f151dd23a52e imx-gpu-viv-6.4.3.p2.0-aarch64.bin
-sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
-sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
+sha256 89197fdb13dfc21c49968297c2e8b5cb8dd5563502278151d36b2dce2a2092ed imx-gpu-viv-6.4.3.p4.2-aarch32.bin
+sha256 52921c0b59529f1598084e991eda1863100754f28a7744ba958158dff8074b3b imx-gpu-viv-6.4.3.p4.2-aarch64.bin
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 COPYING
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 EULA
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 1d76d79e2b..b139e423eb 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
@@ -5,9 +5,9 @@
################################################################################
ifeq ($(BR2_aarch64),y)
-IMX_GPU_VIV_VERSION = 6.4.3.p2.0-aarch64
+IMX_GPU_VIV_VERSION = 6.4.3.p4.2-aarch64
else
-IMX_GPU_VIV_VERSION = 6.4.3.p2.0-aarch32
+IMX_GPU_VIV_VERSION = 6.4.3.p4.2-aarch32
endif
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (2 preceding siblings ...)
2022-08-24 19:25 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: " Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
` (8 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
To match NXP 5.15.32-2.0.0 release.
EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash | 8 ++++----
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
index 4d28b037d0..181d85a575 100644
--- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
+++ b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
@@ -1,5 +1,5 @@
# Locally calculated
-sha256 39fe307916e19a0892a514621121086e276a43858af90230372a1344852116a2 imx-gpu-g2d-6.4.3.p2.0-arm.bin
-sha256 2642a49e088daae4cf568a150d01e7c095995e8a6ff1883c02c3fa6d26d254b3 imx-gpu-g2d-6.4.3.p2.0-aarch64.bin
-sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
-sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
+sha256 0ba9806c4efa0154fc9f7be406e42bc2c50b975abd32cbe322cf7bcf6ae0d350 imx-gpu-g2d-6.4.3.p4.2-arm.bin
+sha256 ff50ddfee2d989798a2aba84ef9114e01f8d867293891dc0aacfab1640cbf8a3 imx-gpu-g2d-6.4.3.p4.2-aarch64.bin
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 COPYING
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 EULA
diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
index 0e4078a962..cb40e5940b 100644
--- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
+++ b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
@@ -5,9 +5,9 @@
################################################################################
ifeq ($(BR2_aarch64),y)
-IMX_GPU_G2D_VERSION = 6.4.3.p2.0-aarch64
+IMX_GPU_G2D_VERSION = 6.4.3.p4.2-aarch64
else
-IMX_GPU_G2D_VERSION = 6.4.3.p2.0-arm
+IMX_GPU_G2D_VERSION = 6.4.3.p4.2-arm
endif
IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE)
IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (3 preceding siblings ...)
2022-08-24 19:25 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
` (7 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
-To match NXP 5.15.32-2.0.0 release.
-EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
-Add an INSTALL_STAGING_CMDS define as libraries needed by imx-vpu-hantro-daemon.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
.../imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash | 6 +++---
.../freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk | 9 ++++++++-
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash
index aadf5b121f..df2cae6ca8 100644
--- a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash
+++ b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash
@@ -1,4 +1,4 @@
# Locally computed:
-sha256 d5efae484c4271c098286d007590d6bf40c272d4f35702ff65625f2362715ab3 imx-vpu-hantro-vc-1.4.0.bin
-sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
-sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
+sha256 8af665f8e06e0e467f563e372f43583d94128f0d37f75321965bc26bd4404b2b imx-vpu-hantro-vc-1.7.0.bin
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 COPYING
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 EULA
diff --git a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk
index b07e116674..91f1db656e 100644
--- a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk
+++ b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk
@@ -4,10 +4,11 @@
#
################################################################################
-IMX_VPU_HANTRO_VC_VERSION = 1.4.0
+IMX_VPU_HANTRO_VC_VERSION = 1.7.0
IMX_VPU_HANTRO_VC_SITE = $(FREESCALE_IMX_SITE)
IMX_VPU_HANTRO_VC_SOURCE = imx-vpu-hantro-vc-$(IMX_VPU_HANTRO_VC_VERSION).bin
IMX_VPU_HANTRO_VC_DEPENDENCIES = linux
+IMX_VPU_HANTRO_VC_INSTALL_STAGING = YES
IMX_VPU_HANTRO_VC_LICENSE = NXP Semiconductor Software License Agreement
IMX_VPU_HANTRO_VC_LICENSE_FILES = EULA COPYING
@@ -17,6 +18,12 @@ define IMX_VPU_HANTRO_VC_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_VC_DL_DIR)/$(IMX_VPU_HANTRO_VC_SOURCE))
endef
+define IMX_VPU_HANTRO_VC_INSTALL_STAGING_CMDS
+ cp -r $(@D)/usr/include/hantro_VC8000E_enc $(STAGING_DIR)/usr/include/
+ cp $(@D)/usr/lib/libhantro_vc8000e.so $(STAGING_DIR)/usr/lib/
+ cp $(@D)/usr/lib/libhantro_vc8000e.so.1 $(STAGING_DIR)/usr/lib/
+endef
+
define IMX_VPU_HANTRO_VC_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/usr/lib/libhantro_vc8000e.so $(TARGET_DIR)/usr/lib/libhantro_vc8000e.so
$(INSTALL) -D -m 0755 $(@D)/usr/lib/libhantro_vc8000e.so.1 $(TARGET_DIR)/usr/lib/libhantro_vc8000e.so.1
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (4 preceding siblings ...)
2022-08-24 19:25 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-24 19:25 ` [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (6 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
i.MX Hantro V4L2 Daemon. Provides the vsidaemon, which is needed for
V4L2 nodes to work.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/freescale-imx/Config.in | 1 +
.../imx-vpu-hantro-daemon/Config.in | 20 +++++++++++
.../imx-vpu-hantro-daemon.hash | 4 +++
.../imx-vpu-hantro-daemon.mk | 36 +++++++++++++++++++
4 files changed, 61 insertions(+)
create mode 100644 package/freescale-imx/imx-vpu-hantro-daemon/Config.in
create mode 100644 package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
create mode 100644 package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
index 4a4237fb42..13d611b696 100644
--- a/package/freescale-imx/Config.in
+++ b/package/freescale-imx/Config.in
@@ -115,6 +115,7 @@ source "package/freescale-imx/imx-vpuwrap/Config.in"
source "package/freescale-imx/firmware-imx/Config.in"
source "package/freescale-imx/imx-sc-firmware/Config.in"
source "package/freescale-imx/imx-seco/Config.in"
+source "package/freescale-imx/imx-vpu-hantro-daemon/Config.in"
source "package/freescale-imx/imx-vpu-hantro-vc/Config.in"
if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53)
source "package/freescale-imx/gpu-amd-bin-mx51/Config.in"
diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/Config.in b/package/freescale-imx/imx-vpu-hantro-daemon/Config.in
new file mode 100644
index 0000000000..2ab9f97081
--- /dev/null
+++ b/package/freescale-imx/imx-vpu-hantro-daemon/Config.in
@@ -0,0 +1,20 @@
+comment "imx-vpu-hantro-daemon needs an i.MX-specific Linux kernel to be built"
+ depends on !BR2_LINUX_KERNEL
+
+comment "imx-vpu-hantro needs an i.MX platform with Hantro VPU"
+ depends on BR2_LINUX_KERNEL
+ depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
+
+config BR2_PACKAGE_IMX_VPU_HANTRO_DAEMON
+ bool "imx-vpu-hantro"
+ depends on BR2_LINUX_KERNEL
+ depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
+ select BR2_PACKAGE_IMX_VPU_HANTRO
+ select BR2_PACKAGE_IMX_VPU_HANTRO_VC if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
+ help
+ i.MX Hantro V4L2 Daemon specific for the NXP i.MX SoC
+ integrating a Hantro Video Processing Unit (VPU) such as the
+ i.MX8MQ/i.MX8MM/i.MX8MP.
+
+ This library is provided by NXP as-is and doesn't have an
+ upstream.
diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
new file mode 100644
index 0000000000..811f8b21a3
--- /dev/null
+++ b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
@@ -0,0 +1,4 @@
+# Locally computed:
+sha256 77e25ad1e1860f0a3983f07d6beb9a04ff32763bacf26db9aefd16559e6eea9b imx-vpu-hantro-daemon-1.1.2.tar.gz
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 COPYING
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 EULA
diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
new file mode 100644
index 0000000000..e9d628bef4
--- /dev/null
+++ b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
@@ -0,0 +1,36 @@
+################################################################################
+#
+# imx-vpu-hantro-daemon
+#
+################################################################################
+
+IMX_VPU_HANTRO_DAEMON_VERSION = 1.1.2
+IMX_VPU_HANTRO_DAEMON_SITE = $(FREESCALE_IMX_SITE)
+IMX_VPU_HANTRO_DAEMON_SOURCE = imx-vpu-hantro-daemon-$(IMX_VPU_HANTRO_DAEMON_VERSION).tar.gz
+IMX_VPU_HANTRO_DAEMON_DEPENDENCIES = linux
+IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro
+ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP),y)
+IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro-vc
+endif
+
+IMX_VPU_HANTRO_DAEMON_MAKE_ENV = \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
+ SDKTARGETSYSROOT=$(STAGING_DIR) \
+ LINUX_KERNEL_ROOT=$(LINUX_DIR) \
+ CTRLSW_HDRPATH="$(STAGING_DIR)/usr/include" \
+ PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
+
+IMX_VPU_HANTRO_DAEMON_LICENSE = NXP Semiconductor Software License Agreement
+IMX_VPU_HANTRO_DAEMON_LICENSE_FILES = EULA COPYING
+IMX_VPU_HANTRO_DAEMON_REDISTRIBUTE = NO
+
+define IMX_VPU_HANTRO_DAEMON_BUILD_CMDS
+ $(MAKE1) -C $(@D) $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV)
+endef
+
+define IMX_VPU_HANTRO_DAEMON_INSTALL_TARGET_CMDS
+ $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV) $(MAKE1) -C $(@D) \
+ DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install
+endef
+
+$(eval $(generic-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (5 preceding siblings ...)
2022-08-24 19:25 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-28 15:29 ` Yann E. MORIN
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
` (5 subsequent siblings)
12 siblings, 1 reply; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
Updated to gcc 11.2, gdb 11, binutils 2.37, glibc 2.34.
See "Release Note":
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads-1
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
.../toolchain-external-arm-aarch64/Config.in | 2 +-
.../toolchain-external-arm-aarch64.hash | 6 +++---
.../toolchain-external-arm-aarch64.mk | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in b/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
index 9eb5d64a9d..b5b4d137b8 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
@@ -6,7 +6,7 @@ config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64
select BR2_TOOLCHAIN_HAS_SSP
select BR2_INSTALL_LIBSTDCPP
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
- select BR2_TOOLCHAIN_GCC_AT_LEAST_10
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_11
select BR2_TOOLCHAIN_HAS_FORTRAN
select BR2_TOOLCHAIN_HAS_OPENMP
help
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
index ca1ea48bcb..6d81f58594 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
@@ -1,4 +1,4 @@
-# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz.asc
-md5 07bbe2b5277b75ba36a924e9136366a4 gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
+# From https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-elf.tar.xz
+md5 712ee3fa6247ac3f619dd193f714fbc1 gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz
# locally calculated
-sha256 1e33d53dea59c8de823bbdfe0798280bdcd138636c7060da9d77a97ded095a84 gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
+sha256 52dbac3eb71dbe0916f60a8c5ab9b7dc9b66b3ce513047baa09fae56234e53f3 gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
index 356e0810b3..3d340ea0d7 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
@@ -4,9 +4,9 @@
#
################################################################################
-TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2021.07
-TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel
+TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2022.02
+TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/11.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel
-TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz
+TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-11.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz
$(eval $(toolchain-external-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02
2022-08-24 19:25 ` [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
@ 2022-08-28 15:29 ` Yann E. MORIN
0 siblings, 0 replies; 26+ messages in thread
From: Yann E. MORIN @ 2022-08-28 15:29 UTC (permalink / raw)
To: Chris Dimich
Cc: Gary Bisson, Refik Tuzakli, Thomas Petazzoni, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
Chris, All,
On 2022-08-24 12:25 -0700, Chris Dimich spake thusly:
> Updated to gcc 11.2, gdb 11, binutils 2.37, glibc 2.34.
Thomas already applied that patch from a previous iteration of your
series, as far as I can see:
https://lore.kernel.org/buildroot/20220824131545.3f3d245e@windsurf/
https://git.buildroot.org/buildroot/commit/?h=next&id=34cf3a15c9da81afb6cab6c56babd5a2096e44ca
Regards,
Yann E. MORIN.
> See "Release Note":
> https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads-1
>
> Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> ---
> .../toolchain-external-arm-aarch64/Config.in | 2 +-
> .../toolchain-external-arm-aarch64.hash | 6 +++---
> .../toolchain-external-arm-aarch64.mk | 6 +++---
> 3 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in b/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
> index 9eb5d64a9d..b5b4d137b8 100644
> --- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
> +++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
> @@ -6,7 +6,7 @@ config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64
> select BR2_TOOLCHAIN_HAS_SSP
> select BR2_INSTALL_LIBSTDCPP
> select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
> - select BR2_TOOLCHAIN_GCC_AT_LEAST_10
> + select BR2_TOOLCHAIN_GCC_AT_LEAST_11
> select BR2_TOOLCHAIN_HAS_FORTRAN
> select BR2_TOOLCHAIN_HAS_OPENMP
> help
> diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
> index ca1ea48bcb..6d81f58594 100644
> --- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
> +++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
> @@ -1,4 +1,4 @@
> -# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz.asc
> -md5 07bbe2b5277b75ba36a924e9136366a4 gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
> +# From https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-elf.tar.xz
> +md5 712ee3fa6247ac3f619dd193f714fbc1 gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz
> # locally calculated
> -sha256 1e33d53dea59c8de823bbdfe0798280bdcd138636c7060da9d77a97ded095a84 gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
> +sha256 52dbac3eb71dbe0916f60a8c5ab9b7dc9b66b3ce513047baa09fae56234e53f3 gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz
> diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
> index 356e0810b3..3d340ea0d7 100644
> --- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
> +++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
> @@ -4,9 +4,9 @@
> #
> ################################################################################
>
> -TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2021.07
> -TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel
> +TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2022.02
> +TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/11.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel
>
> -TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz
> +TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-11.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz
>
> $(eval $(toolchain-external-package))
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (6 preceding siblings ...)
2022-08-24 19:25 ` [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
@ 2022-08-24 19:25 ` Chris Dimich
2022-08-28 15:15 ` Yann E. MORIN
2022-08-24 19:26 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
` (4 subsequent siblings)
12 siblings, 1 reply; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:25 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
In the case of the vivante sdk, the deprecated-wl-shell option needs to
be enabled. Otherwise, apps using the sdk cannot run on weston/wayland.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/weston/Config.in | 7 +++++++
package/weston/weston.mk | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/package/weston/Config.in b/package/weston/Config.in
index 3b4e932b7d..c560c32b50 100644
--- a/package/weston/Config.in
+++ b/package/weston/Config.in
@@ -164,4 +164,11 @@ comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland ba
!BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
!BR2_PACKAGE_HAS_LIBEGL_WAYLAND || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+config BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL
+ bool "deprecated wl shell"
+ help
+ In the case of the vivante sdk, the deprecated-wl-shell option
+ needs to be enabled. Otherwise, apps using the sdk cannot
+ run on weston/wayland.
+
endif
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index e6c54ee7aa..ad4d81425e 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -186,4 +186,8 @@ else
WESTON_CONF_OPTS += -Ddemo-clients=false
endif
+ifeq ($(BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL),y)
+WESTON_CONF_OPTS += -Ddeprecated-wl-shell=true
+endif
+
$(eval $(meson-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
@ 2022-08-28 15:15 ` Yann E. MORIN
2022-09-02 18:22 ` Chris Dimich
0 siblings, 1 reply; 26+ messages in thread
From: Yann E. MORIN @ 2022-08-28 15:15 UTC (permalink / raw)
To: Chris Dimich
Cc: Gary Bisson, Refik Tuzakli, Thomas Petazzoni, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
Chris, All,
On 2022-08-24 12:25 -0700, Chris Dimich spake thusly:
> In the case of the vivante sdk, the deprecated-wl-shell option needs to
> be enabled. Otherwise, apps using the sdk cannot run on weston/wayland.
Note that this option has been entirely removed upstream in e6b8f5a5e40c
(remove wl_shell), commited 2022-03-08, and present in tag 10.0.91,
which means that the next release of weston will no longer have that
option.
I am a bit relunctant at adding this in Buildroot, because that means
the vivante stuff will be broken when we bump weston, or we won't be
able to bump weston.
Besides, your series does not even make use of that new option; i.e.
nothing selects BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL.
So, I would prefer not to add that option at all, knowing that it will
soon be removed.
Regards,
Yann E. MORIN.
> Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> ---
> package/weston/Config.in | 7 +++++++
> package/weston/weston.mk | 4 ++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/package/weston/Config.in b/package/weston/Config.in
> index 3b4e932b7d..c560c32b50 100644
> --- a/package/weston/Config.in
> +++ b/package/weston/Config.in
> @@ -164,4 +164,11 @@ comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland ba
> !BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
> !BR2_PACKAGE_HAS_LIBEGL_WAYLAND || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
>
> +config BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL
> + bool "deprecated wl shell"
> + help
> + In the case of the vivante sdk, the deprecated-wl-shell option
> + needs to be enabled. Otherwise, apps using the sdk cannot
> + run on weston/wayland.
> +
> endif
> diff --git a/package/weston/weston.mk b/package/weston/weston.mk
> index e6c54ee7aa..ad4d81425e 100644
> --- a/package/weston/weston.mk
> +++ b/package/weston/weston.mk
> @@ -186,4 +186,8 @@ else
> WESTON_CONF_OPTS += -Ddemo-clients=false
> endif
>
> +ifeq ($(BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL),y)
> +WESTON_CONF_OPTS += -Ddeprecated-wl-shell=true
> +endif
> +
> $(eval $(meson-package))
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config
2022-08-28 15:15 ` Yann E. MORIN
@ 2022-09-02 18:22 ` Chris Dimich
0 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-09-02 18:22 UTC (permalink / raw)
To: Yann E. MORIN
Cc: Gary Bisson, Refik Tuzakli, Thomas Petazzoni, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
[-- Attachment #1.1: Type: text/plain, Size: 3330 bytes --]
Hi Yann,
Okay, understood. This should be dropped if mainline removed it completely.
Thanks,
Chris Dimich
Boundary Devices, LLC
www.boundarydevices.com
7 Orchard Road, Suite 102*|*Lake Forest, CA 92630
On Sun, Aug 28, 2022 at 8:15 AM Yann E. MORIN <yann.morin.1998@free.fr>
wrote:
> Chris, All,
>
> On 2022-08-24 12:25 -0700, Chris Dimich spake thusly:
> > In the case of the vivante sdk, the deprecated-wl-shell option needs to
> > be enabled. Otherwise, apps using the sdk cannot run on weston/wayland.
>
> Note that this option has been entirely removed upstream in e6b8f5a5e40c
> (remove wl_shell), commited 2022-03-08, and present in tag 10.0.91,
> which means that the next release of weston will no longer have that
> option.
>
> I am a bit relunctant at adding this in Buildroot, because that means
> the vivante stuff will be broken when we bump weston, or we won't be
> able to bump weston.
>
> Besides, your series does not even make use of that new option; i.e.
> nothing selects BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL.
>
> So, I would prefer not to add that option at all, knowing that it will
> soon be removed.
>
> Regards,
> Yann E. MORIN.
>
> > Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> > ---
> > package/weston/Config.in | 7 +++++++
> > package/weston/weston.mk | 4 ++++
> > 2 files changed, 11 insertions(+)
> >
> > diff --git a/package/weston/Config.in b/package/weston/Config.in
> > index 3b4e932b7d..c560c32b50 100644
> > --- a/package/weston/Config.in
> > +++ b/package/weston/Config.in
> > @@ -164,4 +164,11 @@ comment "demo clients needs an OpenGL ES provider,
> an OpenEGL-capable Wayland ba
> > !BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
> > !BR2_PACKAGE_HAS_LIBEGL_WAYLAND ||
> !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> >
> > +config BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL
> > + bool "deprecated wl shell"
> > + help
> > + In the case of the vivante sdk, the deprecated-wl-shell option
> > + needs to be enabled. Otherwise, apps using the sdk cannot
> > + run on weston/wayland.
> > +
> > endif
> > diff --git a/package/weston/weston.mk b/package/weston/weston.mk
> > index e6c54ee7aa..ad4d81425e 100644
> > --- a/package/weston/weston.mk
> > +++ b/package/weston/weston.mk
> > @@ -186,4 +186,8 @@ else
> > WESTON_CONF_OPTS += -Ddemo-clients=false
> > endif
> >
> > +ifeq ($(BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL),y)
> > +WESTON_CONF_OPTS += -Ddeprecated-wl-shell=true
> > +endif
> > +
> > $(eval $(meson-package))
> > --
> > 2.34.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot@buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
>
> --
>
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___
> |
> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is
> no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v
> conspiracy. |
>
> '------------------------------^-------^------------------^--------------------'
>
[-- Attachment #1.2: Type: text/html, Size: 5454 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (7 preceding siblings ...)
2022-08-24 19:25 ` [Buildroot] [PATCH 2/7] package/weston: add BR2_PACKAGE_WESTON_DEPRECATED_WL_SHELL config Chris Dimich
@ 2022-08-24 19:26 ` Chris Dimich
2022-08-28 15:44 ` Yann E. MORIN
2022-08-24 19:26 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: " Chris Dimich
` (3 subsequent siblings)
12 siblings, 1 reply; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:26 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
To match NXP 5.15.32-2.0.0 release.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
.../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash | 2 +-
.../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
index ee105ef82c..ccb28bc4f6 100644
--- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
+++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
@@ -1,3 +1,3 @@
# locally computed
-sha256 257c6cd8b01cfb6543827cbeb78409e6a2ad4ae321891751dcea1abc47d89379 kernel-module-imx-gpu-viv-ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5.tar.gz
+sha256 b816ab94b1d248cfc5fe5f6381422346c273d01760bb324303e0298e10bd46e2 kernel-module-imx-gpu-viv-82c6cb6c607424403b8d76805bb17e7be74292f6.tar.gz
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
index 10505fdf17..f94890a438 100644
--- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
+++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
@@ -4,7 +4,7 @@
#
################################################################################
-KERNEL_MODULE_IMX_GPU_VIV_VERSION = ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5
+KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6 #6.4.3.p4.2
KERNEL_MODULE_IMX_GPU_VIV_SITE = \
$(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION))
KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-24 19:26 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
@ 2022-08-28 15:44 ` Yann E. MORIN
2022-08-29 12:51 ` Gary Bisson
0 siblings, 1 reply; 26+ messages in thread
From: Yann E. MORIN @ 2022-08-28 15:44 UTC (permalink / raw)
To: Chris Dimich
Cc: Gary Bisson, Refik Tuzakli, Thomas Petazzoni, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
Chris, All,
On 2022-08-24 12:26 -0700, Chris Dimich spake thusly:
> To match NXP 5.15.32-2.0.0 release.
>
> Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> ---
> .../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash | 2 +-
> .../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> index ee105ef82c..ccb28bc4f6 100644
> --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> +++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> @@ -1,3 +1,3 @@
> # locally computed
> -sha256 257c6cd8b01cfb6543827cbeb78409e6a2ad4ae321891751dcea1abc47d89379 kernel-module-imx-gpu-viv-ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5.tar.gz
> +sha256 b816ab94b1d248cfc5fe5f6381422346c273d01760bb324303e0298e10bd46e2 kernel-module-imx-gpu-viv-82c6cb6c607424403b8d76805bb17e7be74292f6.tar.gz
> sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
> diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> index 10505fdf17..f94890a438 100644
> --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> +++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -KERNEL_MODULE_IMX_GPU_VIV_VERSION = ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5
> +KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6 #6.4.3.p4.2
So not add a comment at the end of the line; this is known to cause
issues in some situations, and we previously had to remove all of them
in the past. Instead, just add such a comment just above the assignment;
# Equivalent to 6.4.3.p4.2
KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6
I also have some relatively minor concerns with this package (not
specifically due to your change, but prompted by it):
The git repository does have tags with the corresponding versions, e.g.:
https://github.com/Freescale/kernel-module-imx-gpu-viv/releases/tag/upstream%2F6.4.3.p4.2
which is tag "upstream/6.4.3.p4.2".
However, here's the corresponding graphlog:
* 82c6cb6 (HEAD -> master, origin/master, origin/HEAD) Merge tag 'upstream/6.4.3.p4.2'
|\
| * c897a6c (tag: upstream/6.4.3.p4.2, origin/upstream) Import 6.4.3.p4.2 original version
* | a482c32 Merge tag 'upstream/6.4.3.p4.0'
|\|
| * 9c2d676 (tag: upstream/6.4.3.p4.0) Import 6.4.3.p4.0 original version
* | 5c7b884 Merge tag 'upstream/6.4.3.p2.4'
|\|
| * 410ce59 (tag: upstream/6.4.3.p2.4) Import 6.4.3.p2.4 original version
* | 5115a2b Merge tag 'upstream/6.4.3.p2.2'
|\|
| * e879a17 (tag: upstream/6.4.3.p2.2) Import 6.4.3.p2.2 original version
* | ae0f3be gc_hal_kernel_platform_imx.config: remove build time/user * macros
* | 20595cd Merge tag 'upstream/6.4.3.p2.0'
|\|
| * 8f1bf96 (tag: upstream/6.4.3.p2.0) Import 6.4.3.p2.0 original version
...
So, basically, we are using the commits on the master branch, but all
that differs from the corresponding tag is (by running: git diff -p
c897a6c..82c6cb6):
- there is an added 'fscl' (or variation thereof, like '+fscl') in 4
locations, all appended to the version string;
- there are two macros that are removed (specifically by ae0f3be).
So, can't we use the tag instead of a sha1, and carry the patch from
ae0f3be localy?
Otherwise, Chris and Gary: could you add tags on the master branch,
maybe?
Thoughts?
Regards,
Yann E. MORIN.
> KERNEL_MODULE_IMX_GPU_VIV_SITE = \
> $(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION))
> KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-28 15:44 ` Yann E. MORIN
@ 2022-08-29 12:51 ` Gary Bisson
2022-09-02 18:43 ` Yann E. MORIN
0 siblings, 1 reply; 26+ messages in thread
From: Gary Bisson @ 2022-08-29 12:51 UTC (permalink / raw)
To: Yann E. MORIN
Cc: Gary Bisson, Romain Naour, Refik Tuzakli, Thomas Petazzoni,
buildroot, Giulio Benetti, Chris Dimich, Thomas De Schampheleire
Hi Yann,
On Sun, Aug 28, 2022 at 05:44:32PM +0200, Yann E. MORIN wrote:
> Chris, All,
>
> On 2022-08-24 12:26 -0700, Chris Dimich spake thusly:
> > To match NXP 5.15.32-2.0.0 release.
> >
> > Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> > ---
> > .../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash | 2 +-
> > .../kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> > index ee105ef82c..ccb28bc4f6 100644
> > --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> > +++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
> > @@ -1,3 +1,3 @@
> > # locally computed
> > -sha256 257c6cd8b01cfb6543827cbeb78409e6a2ad4ae321891751dcea1abc47d89379 kernel-module-imx-gpu-viv-ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5.tar.gz
> > +sha256 b816ab94b1d248cfc5fe5f6381422346c273d01760bb324303e0298e10bd46e2 kernel-module-imx-gpu-viv-82c6cb6c607424403b8d76805bb17e7be74292f6.tar.gz
> > sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
> > diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> > index 10505fdf17..f94890a438 100644
> > --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> > +++ b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
> > @@ -4,7 +4,7 @@
> > #
> > ################################################################################
> >
> > -KERNEL_MODULE_IMX_GPU_VIV_VERSION = ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5
> > +KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6 #6.4.3.p4.2
>
> So not add a comment at the end of the line; this is known to cause
> issues in some situations, and we previously had to remove all of them
> in the past. Instead, just add such a comment just above the assignment;
>
> # Equivalent to 6.4.3.p4.2
> KERNEL_MODULE_IMX_GPU_VIV_VERSION = 82c6cb6c607424403b8d76805bb17e7be74292f6
>
> I also have some relatively minor concerns with this package (not
> specifically due to your change, but prompted by it):
>
> The git repository does have tags with the corresponding versions, e.g.:
>
> https://github.com/Freescale/kernel-module-imx-gpu-viv/releases/tag/upstream%2F6.4.3.p4.2
>
> which is tag "upstream/6.4.3.p4.2".
>
> However, here's the corresponding graphlog:
>
> * 82c6cb6 (HEAD -> master, origin/master, origin/HEAD) Merge tag 'upstream/6.4.3.p4.2'
> |\
> | * c897a6c (tag: upstream/6.4.3.p4.2, origin/upstream) Import 6.4.3.p4.2 original version
> * | a482c32 Merge tag 'upstream/6.4.3.p4.0'
> |\|
> | * 9c2d676 (tag: upstream/6.4.3.p4.0) Import 6.4.3.p4.0 original version
> * | 5c7b884 Merge tag 'upstream/6.4.3.p2.4'
> |\|
> | * 410ce59 (tag: upstream/6.4.3.p2.4) Import 6.4.3.p2.4 original version
> * | 5115a2b Merge tag 'upstream/6.4.3.p2.2'
> |\|
> | * e879a17 (tag: upstream/6.4.3.p2.2) Import 6.4.3.p2.2 original version
> * | ae0f3be gc_hal_kernel_platform_imx.config: remove build time/user * macros
> * | 20595cd Merge tag 'upstream/6.4.3.p2.0'
> |\|
> | * 8f1bf96 (tag: upstream/6.4.3.p2.0) Import 6.4.3.p2.0 original version
> ...
>
> So, basically, we are using the commits on the master branch, but all
> that differs from the corresponding tag is (by running: git diff -p
> c897a6c..82c6cb6):
>
> - there is an added 'fscl' (or variation thereof, like '+fscl') in 4
> locations, all appended to the version string;
'fslc' means that it is maintained by the community (fsl community) so
the purpose of that tag is to show we're building from the external
module source code from github/freescale (which is entirely maintained
by the community).
> - there are two macros that are removed (specifically by ae0f3be).
Yes this is for Yocto builds in order not to break reproducibiliy of the
build/module.
> So, can't we use the tag instead of a sha1, and carry the patch from
> ae0f3be localy?
We could but this approach considers there's only that patch that
matters.
In the past, the community-maintained module had more features than the
driver from NXP, for instance it was supporting PREEMPT_RT when NXP
didn't [1]. But I agree both branches are now very close.
I don't have any strong feelings to be honest, whatever you think is
better for BR will do.
> Otherwise, Chris and Gary: could you add tags on the master branch,
> maybe?
We could add a tag on master if needed. Would need to run it by the
project maintainer (Otavio). Just let me know if you want to go that
route.
Regards,
Gary
[1] https://github.com/Freescale/kernel-module-imx-gpu-viv/commit/f73c35b0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-29 12:51 ` Gary Bisson
@ 2022-09-02 18:43 ` Yann E. MORIN
0 siblings, 0 replies; 26+ messages in thread
From: Yann E. MORIN @ 2022-09-02 18:43 UTC (permalink / raw)
To: Gary Bisson
Cc: Gary Bisson, Chris Dimich, Refik Tuzakli, Thomas Petazzoni,
buildroot, Romain Naour, Giulio Benetti, Thomas De Schampheleire
Gary, All,
On 2022-08-29 14:51 +0200, Gary Bisson spake thusly:
> On Sun, Aug 28, 2022 at 05:44:32PM +0200, Yann E. MORIN wrote:
> > On 2022-08-24 12:26 -0700, Chris Dimich spake thusly:
> > > To match NXP 5.15.32-2.0.0 release.
[--SNIP--]
> > I also have some relatively minor concerns with this package (not
> > specifically due to your change, but prompted by it):
[--SNIP--]
> > So, basically, we are using the commits on the master branch, but all
> > that differs from the corresponding tag is (by running: git diff -p
> > c897a6c..82c6cb6):
> > - there is an added 'fscl' (or variation thereof, like '+fscl') in 4
> > locations, all appended to the version string;
> 'fslc' means that it is maintained by the community (fsl community) so
> the purpose of that tag is to show we're building from the external
> module source code from github/freescale (which is entirely maintained
> by the community).
Arf, and of course, I could not copy a 4-word acronym without making yet
another typo... :-/
> > - there are two macros that are removed (specifically by ae0f3be).
> Yes this is for Yocto builds in order not to break reproducibiliy of the
> build/module.
Ah, but they are also nice for Buildroot, for the same reason! We also
want to be able to do reproducible builds, which is the reason I
suggested backporting that patch.
> > So, can't we use the tag instead of a sha1, and carry the patch from
> > ae0f3be localy?
>
> We could but this approach considers there's only that patch that
> matters.
> In the past, the community-maintained module had more features than the
> driver from NXP, for instance it was supporting PREEMPT_RT when NXP
> didn't [1]. But I agree both branches are now very close.
> I don't have any strong feelings to be honest, whatever you think is
> better for BR will do.
OK, so using the master branch is the best solution overall, then.
> > Otherwise, Chris and Gary: could you add tags on the master branch,
> > maybe?
> We could add a tag on master if needed. Would need to run it by the
> project maintainer (Otavio). Just let me know if you want to go that
> route.
Given that there is a tag for the upstream import, it would be nice to
also have a tag for the community-merged result, but I can't impose that
burden, now that the reason for the master branch is better explained.
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: bump to version 6.4.3.p4.2
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (8 preceding siblings ...)
2022-08-24 19:26 ` [Buildroot] [PATCH 3/7] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p4.2 Chris Dimich
@ 2022-08-24 19:26 ` Chris Dimich
2022-08-24 19:26 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
` (2 subsequent siblings)
12 siblings, 0 replies; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:26 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
To match NXP 5.15.32-2.0.0 release.
EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash | 8 ++++----
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
index 312eeb6f82..b6d206d21d 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
@@ -1,5 +1,5 @@
# Locally calculated
-sha256 1324b1aaf190110b80ad9a6f6533f4f50dce9e9ab8d49d8503f59764b151d219 imx-gpu-viv-6.4.3.p2.0-aarch32.bin
-sha256 003c30baefb1655790b475c3cdfa5cefbf81ea89ef37c6649b64f151dd23a52e imx-gpu-viv-6.4.3.p2.0-aarch64.bin
-sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
-sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
+sha256 89197fdb13dfc21c49968297c2e8b5cb8dd5563502278151d36b2dce2a2092ed imx-gpu-viv-6.4.3.p4.2-aarch32.bin
+sha256 52921c0b59529f1598084e991eda1863100754f28a7744ba958158dff8074b3b imx-gpu-viv-6.4.3.p4.2-aarch64.bin
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 COPYING
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 EULA
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 1d76d79e2b..b139e423eb 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
@@ -5,9 +5,9 @@
################################################################################
ifeq ($(BR2_aarch64),y)
-IMX_GPU_VIV_VERSION = 6.4.3.p2.0-aarch64
+IMX_GPU_VIV_VERSION = 6.4.3.p4.2-aarch64
else
-IMX_GPU_VIV_VERSION = 6.4.3.p2.0-aarch32
+IMX_GPU_VIV_VERSION = 6.4.3.p4.2-aarch32
endif
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (9 preceding siblings ...)
2022-08-24 19:26 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-gpu-viv: " Chris Dimich
@ 2022-08-24 19:26 ` Chris Dimich
2022-09-17 20:15 ` Thomas Petazzoni
2022-08-24 19:26 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
2022-08-24 19:26 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
12 siblings, 1 reply; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:26 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
To match NXP 5.15.32-2.0.0 release.
EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash | 8 ++++----
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
index 4d28b037d0..181d85a575 100644
--- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
+++ b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
@@ -1,5 +1,5 @@
# Locally calculated
-sha256 39fe307916e19a0892a514621121086e276a43858af90230372a1344852116a2 imx-gpu-g2d-6.4.3.p2.0-arm.bin
-sha256 2642a49e088daae4cf568a150d01e7c095995e8a6ff1883c02c3fa6d26d254b3 imx-gpu-g2d-6.4.3.p2.0-aarch64.bin
-sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
-sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
+sha256 0ba9806c4efa0154fc9f7be406e42bc2c50b975abd32cbe322cf7bcf6ae0d350 imx-gpu-g2d-6.4.3.p4.2-arm.bin
+sha256 ff50ddfee2d989798a2aba84ef9114e01f8d867293891dc0aacfab1640cbf8a3 imx-gpu-g2d-6.4.3.p4.2-aarch64.bin
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 COPYING
+sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 EULA
diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
index 0e4078a962..cb40e5940b 100644
--- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
+++ b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
@@ -5,9 +5,9 @@
################################################################################
ifeq ($(BR2_aarch64),y)
-IMX_GPU_G2D_VERSION = 6.4.3.p2.0-aarch64
+IMX_GPU_G2D_VERSION = 6.4.3.p4.2-aarch64
else
-IMX_GPU_G2D_VERSION = 6.4.3.p2.0-arm
+IMX_GPU_G2D_VERSION = 6.4.3.p4.2-arm
endif
IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE)
IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2
2022-08-24 19:26 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
@ 2022-09-17 20:15 ` Thomas Petazzoni
0 siblings, 0 replies; 26+ messages in thread
From: Thomas Petazzoni @ 2022-09-17 20:15 UTC (permalink / raw)
To: Chris Dimich
Cc: Gary Bisson, Yann E . MORIN, Refik Tuzakli, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
On Wed, 24 Aug 2022 12:26:02 -0700
Chris Dimich <chris.dimich@boundarydevices.com> wrote:
> -sha256 39fe307916e19a0892a514621121086e276a43858af90230372a1344852116a2 imx-gpu-g2d-6.4.3.p2.0-arm.bin
> -sha256 2642a49e088daae4cf568a150d01e7c095995e8a6ff1883c02c3fa6d26d254b3 imx-gpu-g2d-6.4.3.p2.0-aarch64.bin
> -sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
> -sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
> +sha256 0ba9806c4efa0154fc9f7be406e42bc2c50b975abd32cbe322cf7bcf6ae0d350 imx-gpu-g2d-6.4.3.p4.2-arm.bin
> +sha256 ff50ddfee2d989798a2aba84ef9114e01f8d867293891dc0aacfab1640cbf8a3 imx-gpu-g2d-6.4.3.p4.2-aarch64.bin
> +sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 COPYING
> +sha256 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517 EULA
This hash seems wrong. You have the same hash for the COPYING file and
the EULA file, and the EULA file hash is incorrect:
>>> imx-gpu-g2d 6.4.3.p4.2-aarch64 Patching
>>> imx-gpu-g2d 6.4.3.p4.2-aarch64 Collecting legal info
ERROR: EULA has wrong sha256 hash:
ERROR: expected: 4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517
ERROR: got : 423c76762d50b82fedd3e15c48e436d7272a7e130f9ebb910f76489345707cf6
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Could you check this on your side, and send an updated version?
When you send an updated version, please always resend the full series,
and increment the version number (using the -v option of git
format-patch).
Thanks a lot!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (10 preceding siblings ...)
2022-08-24 19:26 ` [Buildroot] [PATCH 5/7] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.2 Chris Dimich
@ 2022-08-24 19:26 ` Chris Dimich
2022-09-17 20:21 ` Thomas Petazzoni
2022-08-24 19:26 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
12 siblings, 1 reply; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:26 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
-To match NXP 5.15.32-2.0.0 release.
-EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
-Add an INSTALL_STAGING_CMDS define as libraries needed by imx-vpu-hantro-daemon.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
.../imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash | 6 +++---
.../freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk | 9 ++++++++-
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash
index aadf5b121f..df2cae6ca8 100644
--- a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash
+++ b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash
@@ -1,4 +1,4 @@
# Locally computed:
-sha256 d5efae484c4271c098286d007590d6bf40c272d4f35702ff65625f2362715ab3 imx-vpu-hantro-vc-1.4.0.bin
-sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
-sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
+sha256 8af665f8e06e0e467f563e372f43583d94128f0d37f75321965bc26bd4404b2b imx-vpu-hantro-vc-1.7.0.bin
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 COPYING
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 EULA
diff --git a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk
index b07e116674..91f1db656e 100644
--- a/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk
+++ b/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk
@@ -4,10 +4,11 @@
#
################################################################################
-IMX_VPU_HANTRO_VC_VERSION = 1.4.0
+IMX_VPU_HANTRO_VC_VERSION = 1.7.0
IMX_VPU_HANTRO_VC_SITE = $(FREESCALE_IMX_SITE)
IMX_VPU_HANTRO_VC_SOURCE = imx-vpu-hantro-vc-$(IMX_VPU_HANTRO_VC_VERSION).bin
IMX_VPU_HANTRO_VC_DEPENDENCIES = linux
+IMX_VPU_HANTRO_VC_INSTALL_STAGING = YES
IMX_VPU_HANTRO_VC_LICENSE = NXP Semiconductor Software License Agreement
IMX_VPU_HANTRO_VC_LICENSE_FILES = EULA COPYING
@@ -17,6 +18,12 @@ define IMX_VPU_HANTRO_VC_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_VC_DL_DIR)/$(IMX_VPU_HANTRO_VC_SOURCE))
endef
+define IMX_VPU_HANTRO_VC_INSTALL_STAGING_CMDS
+ cp -r $(@D)/usr/include/hantro_VC8000E_enc $(STAGING_DIR)/usr/include/
+ cp $(@D)/usr/lib/libhantro_vc8000e.so $(STAGING_DIR)/usr/lib/
+ cp $(@D)/usr/lib/libhantro_vc8000e.so.1 $(STAGING_DIR)/usr/lib/
+endef
+
define IMX_VPU_HANTRO_VC_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/usr/lib/libhantro_vc8000e.so $(TARGET_DIR)/usr/lib/libhantro_vc8000e.so
$(INSTALL) -D -m 0755 $(@D)/usr/lib/libhantro_vc8000e.so.1 $(TARGET_DIR)/usr/lib/libhantro_vc8000e.so.1
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0
2022-08-24 19:26 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
@ 2022-09-17 20:21 ` Thomas Petazzoni
0 siblings, 0 replies; 26+ messages in thread
From: Thomas Petazzoni @ 2022-09-17 20:21 UTC (permalink / raw)
To: Chris Dimich
Cc: Gary Bisson, Yann E . MORIN, Refik Tuzakli, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
Hello Chris,
On Wed, 24 Aug 2022 12:26:03 -0700
Chris Dimich <chris.dimich@boundarydevices.com> wrote:
> -To match NXP 5.15.32-2.0.0 release.
> -EULA/COPYING: update to LA_OPT_NXP_Software_License v35.
> -Add an INSTALL_STAGING_CMDS define as libraries needed by imx-vpu-hantro-daemon.
Please split the version bump from the installation to staging into
separate patches. These are unrelated things, so they belong into
separate commits.
> -sha256 d5efae484c4271c098286d007590d6bf40c272d4f35702ff65625f2362715ab3 imx-vpu-hantro-vc-1.4.0.bin
> -sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
> -sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
> +sha256 8af665f8e06e0e467f563e372f43583d94128f0d37f75321965bc26bd4404b2b imx-vpu-hantro-vc-1.7.0.bin
> +sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 COPYING
> +sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 EULA
Here as well, the EULA hash is wrong:
>>> imx-vpu-hantro-vc 1.7.0 Collecting legal info
ERROR: EULA has wrong sha256 hash:
ERROR: expected: 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31
ERROR: got : 30f61825583b4c26d29a798ad7e4c8ef2f2f390b1e964af302d2dc40e93cb0a4
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Please make sure that "make legal-info" works in a configuration where
you have this package enabled.
> +define IMX_VPU_HANTRO_VC_INSTALL_STAGING_CMDS
> + cp -r $(@D)/usr/include/hantro_VC8000E_enc $(STAGING_DIR)/usr/include/
> + cp $(@D)/usr/lib/libhantro_vc8000e.so $(STAGING_DIR)/usr/lib/
> + cp $(@D)/usr/lib/libhantro_vc8000e.so.1 $(STAGING_DIR)/usr/lib/
Please use the same commands as the target installation. The
INSTALL_TARGET_CMDS are using $(INSTALL) -D -m 0755, so you should do
the same here.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package
2022-08-24 19:25 [Buildroot] [PATCH 1/7] toolchain/toolchain-external: update Arm AArch64 toolchain 11.2-2022.02 Chris Dimich
` (11 preceding siblings ...)
2022-08-24 19:26 ` [Buildroot] [PATCH 6/7] package/freescale-imx/imx-vpu-hantro-vc: bump version to 1.7.0 Chris Dimich
@ 2022-08-24 19:26 ` Chris Dimich
2022-09-17 20:26 ` Thomas Petazzoni
12 siblings, 1 reply; 26+ messages in thread
From: Chris Dimich @ 2022-08-24 19:26 UTC (permalink / raw)
To: buildroot
Cc: Gary Bisson, Chris Dimich, Yann E . MORIN, Refik Tuzakli,
Thomas Petazzoni, Giulio Benetti, Romain Naour,
Thomas De Schampheleire
i.MX Hantro V4L2 Daemon. Provides the vsidaemon, which is needed for
V4L2 nodes to work.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
---
package/freescale-imx/Config.in | 1 +
.../imx-vpu-hantro-daemon/Config.in | 20 +++++++++++
.../imx-vpu-hantro-daemon.hash | 4 +++
.../imx-vpu-hantro-daemon.mk | 36 +++++++++++++++++++
4 files changed, 61 insertions(+)
create mode 100644 package/freescale-imx/imx-vpu-hantro-daemon/Config.in
create mode 100644 package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
create mode 100644 package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
index 4a4237fb42..13d611b696 100644
--- a/package/freescale-imx/Config.in
+++ b/package/freescale-imx/Config.in
@@ -115,6 +115,7 @@ source "package/freescale-imx/imx-vpuwrap/Config.in"
source "package/freescale-imx/firmware-imx/Config.in"
source "package/freescale-imx/imx-sc-firmware/Config.in"
source "package/freescale-imx/imx-seco/Config.in"
+source "package/freescale-imx/imx-vpu-hantro-daemon/Config.in"
source "package/freescale-imx/imx-vpu-hantro-vc/Config.in"
if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53)
source "package/freescale-imx/gpu-amd-bin-mx51/Config.in"
diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/Config.in b/package/freescale-imx/imx-vpu-hantro-daemon/Config.in
new file mode 100644
index 0000000000..2ab9f97081
--- /dev/null
+++ b/package/freescale-imx/imx-vpu-hantro-daemon/Config.in
@@ -0,0 +1,20 @@
+comment "imx-vpu-hantro-daemon needs an i.MX-specific Linux kernel to be built"
+ depends on !BR2_LINUX_KERNEL
+
+comment "imx-vpu-hantro needs an i.MX platform with Hantro VPU"
+ depends on BR2_LINUX_KERNEL
+ depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
+
+config BR2_PACKAGE_IMX_VPU_HANTRO_DAEMON
+ bool "imx-vpu-hantro"
+ depends on BR2_LINUX_KERNEL
+ depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
+ select BR2_PACKAGE_IMX_VPU_HANTRO
+ select BR2_PACKAGE_IMX_VPU_HANTRO_VC if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
+ help
+ i.MX Hantro V4L2 Daemon specific for the NXP i.MX SoC
+ integrating a Hantro Video Processing Unit (VPU) such as the
+ i.MX8MQ/i.MX8MM/i.MX8MP.
+
+ This library is provided by NXP as-is and doesn't have an
+ upstream.
diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
new file mode 100644
index 0000000000..811f8b21a3
--- /dev/null
+++ b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
@@ -0,0 +1,4 @@
+# Locally computed:
+sha256 77e25ad1e1860f0a3983f07d6beb9a04ff32763bacf26db9aefd16559e6eea9b imx-vpu-hantro-daemon-1.1.2.tar.gz
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 COPYING
+sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 EULA
diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
new file mode 100644
index 0000000000..e9d628bef4
--- /dev/null
+++ b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
@@ -0,0 +1,36 @@
+################################################################################
+#
+# imx-vpu-hantro-daemon
+#
+################################################################################
+
+IMX_VPU_HANTRO_DAEMON_VERSION = 1.1.2
+IMX_VPU_HANTRO_DAEMON_SITE = $(FREESCALE_IMX_SITE)
+IMX_VPU_HANTRO_DAEMON_SOURCE = imx-vpu-hantro-daemon-$(IMX_VPU_HANTRO_DAEMON_VERSION).tar.gz
+IMX_VPU_HANTRO_DAEMON_DEPENDENCIES = linux
+IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro
+ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP),y)
+IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro-vc
+endif
+
+IMX_VPU_HANTRO_DAEMON_MAKE_ENV = \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
+ SDKTARGETSYSROOT=$(STAGING_DIR) \
+ LINUX_KERNEL_ROOT=$(LINUX_DIR) \
+ CTRLSW_HDRPATH="$(STAGING_DIR)/usr/include" \
+ PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
+
+IMX_VPU_HANTRO_DAEMON_LICENSE = NXP Semiconductor Software License Agreement
+IMX_VPU_HANTRO_DAEMON_LICENSE_FILES = EULA COPYING
+IMX_VPU_HANTRO_DAEMON_REDISTRIBUTE = NO
+
+define IMX_VPU_HANTRO_DAEMON_BUILD_CMDS
+ $(MAKE1) -C $(@D) $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV)
+endef
+
+define IMX_VPU_HANTRO_DAEMON_INSTALL_TARGET_CMDS
+ $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV) $(MAKE1) -C $(@D) \
+ DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install
+endef
+
+$(eval $(generic-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package
2022-08-24 19:26 ` [Buildroot] [PATCH 7/7] package/freescale-imx/imx-vpu-hantro-daemon: add package Chris Dimich
@ 2022-09-17 20:26 ` Thomas Petazzoni
0 siblings, 0 replies; 26+ messages in thread
From: Thomas Petazzoni @ 2022-09-17 20:26 UTC (permalink / raw)
To: Chris Dimich
Cc: Gary Bisson, Yann E . MORIN, Refik Tuzakli, buildroot,
Giulio Benetti, Romain Naour, Thomas De Schampheleire
Hello Chris,
The commit title should be:
package/freescale-imx/imx-vpu-hantro-daemon: new package
On Wed, 24 Aug 2022 12:26:04 -0700
Chris Dimich <chris.dimich@boundarydevices.com> wrote:
> package/freescale-imx/Config.in | 1 +
> .../imx-vpu-hantro-daemon/Config.in | 20 +++++++++++
> .../imx-vpu-hantro-daemon.hash | 4 +++
> .../imx-vpu-hantro-daemon.mk | 36 +++++++++++++++++++
> 4 files changed, 61 insertions(+)
You also need to change the DEVELOPERS file, to add an entry for this
new package.
> diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
> index 4a4237fb42..13d611b696 100644
> --- a/package/freescale-imx/Config.in
> +++ b/package/freescale-imx/Config.in
> @@ -115,6 +115,7 @@ source "package/freescale-imx/imx-vpuwrap/Config.in"
> source "package/freescale-imx/firmware-imx/Config.in"
> source "package/freescale-imx/imx-sc-firmware/Config.in"
> source "package/freescale-imx/imx-seco/Config.in"
> +source "package/freescale-imx/imx-vpu-hantro-daemon/Config.in"
> source "package/freescale-imx/imx-vpu-hantro-vc/Config.in"
Hm, the alphabetic ordering in this file is not great, but oh well, not
your fault.
> diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/Config.in b/package/freescale-imx/imx-vpu-hantro-daemon/Config.in
> new file mode 100644
> index 0000000000..2ab9f97081
> --- /dev/null
> +++ b/package/freescale-imx/imx-vpu-hantro-daemon/Config.in
> @@ -0,0 +1,20 @@
> +comment "imx-vpu-hantro-daemon needs an i.MX-specific Linux kernel to be built"
> + depends on !BR2_LINUX_KERNEL
I think this would need a:
depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
> +comment "imx-vpu-hantro needs an i.MX platform with Hantro VPU"
> + depends on BR2_LINUX_KERNEL
> + depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
I know some other packages have that, but does that really make sense?
> +config BR2_PACKAGE_IMX_VPU_HANTRO_DAEMON
> + bool "imx-vpu-hantro"
> + depends on BR2_LINUX_KERNEL
> + depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
> + select BR2_PACKAGE_IMX_VPU_HANTRO
> + select BR2_PACKAGE_IMX_VPU_HANTRO_VC if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
> + help
> + i.MX Hantro V4L2 Daemon specific for the NXP i.MX SoC
> + integrating a Hantro Video Processing Unit (VPU) such as the
> + i.MX8MQ/i.MX8MM/i.MX8MP.
> +
> + This library is provided by NXP as-is and doesn't have an
This package does not provide a library.
> + upstream.
> diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
> new file mode 100644
> index 0000000000..811f8b21a3
> --- /dev/null
> +++ b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.hash
> @@ -0,0 +1,4 @@
> +# Locally computed:
> +sha256 77e25ad1e1860f0a3983f07d6beb9a04ff32763bacf26db9aefd16559e6eea9b imx-vpu-hantro-daemon-1.1.2.tar.gz
> +sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 COPYING
> +sha256 35188e65dbb9c7da4bbcb77c7726e835607f9f41b8b44149806ea51429ca9a31 EULA
I'm pretty sure the hash of the EULA file is going to be wrong (though
I haven't tested it), because it's exactly the same as the COPYING
file, which looks suspicious.
> diff --git a/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
> new file mode 100644
> index 0000000000..e9d628bef4
> --- /dev/null
> +++ b/package/freescale-imx/imx-vpu-hantro-daemon/imx-vpu-hantro-daemon.mk
> @@ -0,0 +1,36 @@
> +################################################################################
> +#
> +# imx-vpu-hantro-daemon
> +#
> +################################################################################
> +
> +IMX_VPU_HANTRO_DAEMON_VERSION = 1.1.2
> +IMX_VPU_HANTRO_DAEMON_SITE = $(FREESCALE_IMX_SITE)
> +IMX_VPU_HANTRO_DAEMON_SOURCE = imx-vpu-hantro-daemon-$(IMX_VPU_HANTRO_DAEMON_VERSION).tar.gz
> +IMX_VPU_HANTRO_DAEMON_DEPENDENCIES = linux
> +IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro
Just one line:
IMX_VPU_HANTRO_DAEMON_DEPENDENCIES = imx-vpu-hantro linux
> +ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP),y)
> +IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro-vc
> +endif
> +
> +IMX_VPU_HANTRO_DAEMON_MAKE_ENV = \
> + CROSS_COMPILE="$(TARGET_CROSS)" \
> + SDKTARGETSYSROOT=$(STAGING_DIR) \
> + LINUX_KERNEL_ROOT=$(LINUX_DIR) \
> + CTRLSW_HDRPATH="$(STAGING_DIR)/usr/include" \
> + PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
> +
> +IMX_VPU_HANTRO_DAEMON_LICENSE = NXP Semiconductor Software License Agreement
> +IMX_VPU_HANTRO_DAEMON_LICENSE_FILES = EULA COPYING
> +IMX_VPU_HANTRO_DAEMON_REDISTRIBUTE = NO
These 3 lignes should go earlier, probably before the _DEPENDENCIES
variable.
> +define IMX_VPU_HANTRO_DAEMON_BUILD_CMDS
> + $(MAKE1) -C $(@D) $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV)
> +endef
> +
> +define IMX_VPU_HANTRO_DAEMON_INSTALL_TARGET_CMDS
> + $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV) $(MAKE1) -C $(@D) \
> + DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install
> +endef
Use $(TARGET_MAKE_ENV). Also, do you use $(MAKE1) because you
identified a parallel build issue?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread