From bf15b1ae9167be813a51e5d80c17a0c0d1a2fab5 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Tue, 8 Jul 2025 15:34:11 +0200 Subject: [PATCH] x-linux-ai: recipes-samples: move Digi webcam patch to config-npu bbappend Since the release of X-LINUX-AI v6.0.1, AI support has been split between devices with NPU and those relying solely on CPU. As a result, the Digi custom patch to enable USB webcam support was no longer applied, because the config_board_npu.sh script is now handled by the new config-npu.bb recipe. This commit addresses the issue by introducing a new bbappend for config-npu, ensuring that the webcam-related patch is correctly applied for NPU-enabled platforms. https://onedigi.atlassian.net/browse/DEL-9721 Signed-off-by: Arturo Buzarra --- .../resources/application-resources.bbappend | 1 - .../recipes-samples/resources/config-npu.bbappend | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/config-npu.bbappend diff --git a/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/application-resources.bbappend b/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/application-resources.bbappend index bdc044640..0b3f5d21e 100644 --- a/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/application-resources.bbappend +++ b/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/application-resources.bbappend @@ -3,7 +3,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI += " \ - file://patches/0001-config_board-fix-support-for-web-camera-with-STM32MP.patch \ file://patches/0002-setup_camera_main_isp-fix-support-for-web-camera.patch \ file://patches/0003-setup_camera_main_isp-fix-support-for-CSI-DCMIPP-cam.patch \ " diff --git a/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/config-npu.bbappend b/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/config-npu.bbappend new file mode 100644 index 000000000..4413c3167 --- /dev/null +++ b/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-samples/resources/config-npu.bbappend @@ -0,0 +1,7 @@ +# Copyright (C) 2025, Digi International Inc. + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +SRC_URI += " \ + file://patches/0001-config_board-fix-support-for-web-camera-with-STM32MP.patch \ +"