From patchwork Tue Jan 21 17:52:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55900 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91DE6C02182 for ; Tue, 21 Jan 2025 17:52:34 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web11.21961.1737481953680401692 for ; Tue, 21 Jan 2025 09:52:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hv1r6MRY; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: afd@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqWYk046359 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jan 2025 11:52:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481952; bh=pYxd+jbQD3tPoSmnWic+ZqAMLKaByD1wXoy9vlqiTj4=; h=From:To:CC:Subject:Date; b=hv1r6MRY92r+sKiVcSKSoyN6kKyCjJ26hiuZvkGsb8K4SyyzWlcOM19fdXtLU4ncu x6qfo2OloZWzXCzxc+XRk6FjTfr1n0xOLfAA7+9F0Mq0hIExJif4RT0S+H4wYGdz9+ IHAPv9hgNUFPFyJIQoGm1PHboMeJyt9I4yKn3aoY= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqWGw026834 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2025 11:52:32 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:32 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:32 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV98097709; Tue, 21 Jan 2025 11:52:32 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 1/7] arago.conf: Remove old and unused config flags Date: Tue, 21 Jan 2025 11:52:25 -0600 Message-ID: <20250121175231.27183-1-afd@ti.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15720 These are no longer used in any layer, remove these. Signed-off-by: Andrew Davis --- Changes for v2: - No changes meta-arago-distro/conf/distro/arago.conf | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 8e094e02..6e8c6cb9 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -140,9 +140,6 @@ JH_RAMFS_IMAGE = "tisdk-jailhouse-inmate" # Enable UI and scripting for perf PERF_FEATURES_ENABLE ?= "perf-scripting perf-tui" -# Do not warn on meta-gnome w/o x11 -SKIP_META_GNOME_SANITY_CHECK = "1" - ARAGO_KERNEL_SUFFIX ?= "" ARAGO_IMAGE_SUFFIX ?= "" @@ -169,17 +166,9 @@ ARAGO_BRAND ??= "core" require conf/distro/include/branding-${ARAGO_BRAND}.inc -# Disable polkit's systemd configuration from meta-oe -POLKITAUTH = "" - # Disable meta-virtualization sanity check and warning SKIP_META_VIRT_SANITY_CHECK = "1" -# Set ENTERPRISE_DISTRO flag to ensure that recipes that have been flagged -# do not attempt to enable features that have potential commercial -# licensing issues. -ENTERPRISE_DISTRO = "1" - # oe-core uses external libav instead of internal libav for gst-ffmpeg. We # disable by default the codecs in libav that causes issues with shipping an # Arago based SDK. No need to prevent gst-ffmpeg from being used since we From patchwork Tue Jan 21 17:52:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55899 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9389DC0218D for ; Tue, 21 Jan 2025 17:52:34 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web11.21963.1737481953853804946 for ; Tue, 21 Jan 2025 09:52:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Tq9ZsGEx; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: afd@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqWk8045920 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Jan 2025 11:52:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481953; bh=DSPODuMR4Y/SpvFLAw4v7Thj6z5l6VAxJ6dox8T0CLw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Tq9ZsGExCpvFBLhEwy9rZAR5jrUwBn8ZBx9uZHFh+bBW2RnqkNrHTr4kLNOoTY+VI 0BFtUen05VnhHqjQF+9Zlv6wPdewmDQlgAKHnVh5GeyRkMgDVPYvT4bz0+LN7+fm9Z 5zI6iUSsYvkNUhtMO2anDDQWSVGdM1q/cpv8cZc0= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqWUF043538; Tue, 21 Jan 2025 11:52:32 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:32 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:32 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV99097709; Tue, 21 Jan 2025 11:52:32 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 2/7] arago.conf: Remove leftover comments around security protections Date: Tue, 21 Jan 2025 11:52:26 -0600 Message-ID: <20250121175231.27183-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250121175231.27183-1-afd@ti.com> References: <20250121175231.27183-1-afd@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15721 These flags, along with many more updated ones, can all be set using security_flags.inc from oe-core now. Signed-off-by: Andrew Davis --- Changes for v2: - No changes meta-arago-distro/conf/distro/arago.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 6e8c6cb9..f1948523 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -153,10 +153,6 @@ ARAGO_SYSTEST_ENABLE ?= "0" ARAGO_KERNEL_SUFFIX:append = "${@oe.utils.conditional("ARAGO_SYSTEST_ENABLE", "1", "-systest", "", d)}" IMAGE_FSTYPES:remove = "${@['','ubi ubifs'][d.getVar('ARAGO_SYSTEST_ENABLE') == '1']}" -# Enable basic stack and buffer overflow protections -#TARGET_CPPFLAGS += "-fstack-protector -D_FORTIFY_SOURCE=1" -#TARGET_CPPFLAGS += "-fstack-protector" - # Load default preferences require conf/distro/include/arago-prefs.inc From patchwork Tue Jan 21 17:52:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55902 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92AF3C0218B for ; Tue, 21 Jan 2025 17:52:34 +0000 (UTC) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) by mx.groups.io with SMTP id smtpd.web11.21962.1737481953800389375 for ; Tue, 21 Jan 2025 09:52:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=X0Bngf1a; spf=pass (domain: ti.com, ip: 198.47.23.234, mailfrom: afd@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXrd865610 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jan 2025 11:52:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481953; bh=FXH+RbSYyvurlLjfy81NVPgEBOvI5VxxQ0BUjyqm5lY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=X0Bngf1agBTNIxKxDvFbmeV3OUL65w0lOekIoEmu1dEMjIJjmi715tEL9VsKeAERp dpq5oqhR4gR0Q+qq76AplcHXhcMlb9ofMUFQmvP+qY6WOne1i8peQjz6riOjQZJ7HP wwG4UtjPEyKZ8bPFbenSpPHjRxWYsJ+O2E2rEd4I= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqWXe129568 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2025 11:52:32 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:32 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:32 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV9A097709; Tue, 21 Jan 2025 11:52:32 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 3/7] arago-prefs.inc: Remove PREFERRED_PROVIDER for jpeg Date: Tue, 21 Jan 2025 11:52:27 -0600 Message-ID: <20250121175231.27183-3-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250121175231.27183-1-afd@ti.com> References: <20250121175231.27183-1-afd@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15722 There is now only one provider for libjpeg, the other provider was dropped from oe-core ~10 years ago. Remove this very outdated PREFERRED_PROVIDER. Signed-off-by: Andrew Davis --- Changes for v2: - No changes meta-arago-distro/conf/distro/include/arago-prefs.inc | 2 -- .../packagegroups/packagegroup-arago-standalone-sdk-target.bb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc index a518a857..f8e39830 100644 --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc @@ -8,8 +8,6 @@ PREFERRED_PROVIDER_virtual/gettext = "gettext" PREFERRED_PROVIDER_virtual/kernel:append = "${ARAGO_KERNEL_SUFFIX}" -PREFERRED_PROVIDER_jpeg = "libjpeg-turbo" - # Setting PREFERRED_VERSIONS due to selecting a specific version of a library or # application that does not have a GPLv3 license PREFERRED_VERSION_crda = "3.18" diff --git a/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb b/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb index 9c5a2644..78ffe567 100644 --- a/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb +++ b/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb @@ -21,7 +21,7 @@ RDEPENDS:${PN} = "\ curl-dev \ i2c-tools-dev \ freetype-dev \ - ${@oe.utils.conditional('PREFERRED_PROVIDER_jpeg', 'libjpeg-turbo', 'libjpeg-turbo-dev', 'jpeg-dev', d)} \ + libjpeg-turbo-dev \ lzo-dev \ opkg-dev \ libpng-dev \ From patchwork Tue Jan 21 17:52:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55901 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB70AC0218C for ; Tue, 21 Jan 2025 17:52:34 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web11.21964.1737481953949845763 for ; Tue, 21 Jan 2025 09:52:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KpWQazdW; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: afd@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXXN046365 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Jan 2025 11:52:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481953; bh=9zXOD+XkZSe6W4lLqWEd06lTuN9PrzzrCz1uyufXAYQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KpWQazdWifFvBUx49K5nosmrjQ+7bT5S49rf3gfYKxIbb4xfSaZ6b017aBaZAnHPH LkD+aqtctyf/hPIZuc5VBTM7rPVd1QskfOzktfSX4hvwocMD4avu/Z/K1ybQZV7iCq 2Qom+9wo9pXRLEzDq4aw4J7Ej21Cp5WWJakyfw6s= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqXQP043544; Tue, 21 Jan 2025 11:52:33 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:32 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:32 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV9B097709; Tue, 21 Jan 2025 11:52:32 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 4/7] opencv: Remove OpenCV customization and DISTRO_FEATURE Date: Tue, 21 Jan 2025 11:52:28 -0600 Message-ID: <20250121175231.27183-4-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250121175231.27183-1-afd@ti.com> References: <20250121175231.27183-1-afd@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15723 These customizations are leftover from when we had DSP acceleration for OpenCV. Remove these. Also, If you need OpenCV for a package you should just DEPEND on it in the recipe, not check for it as a DISTRO_FEATURE. Fix that. This then means "opencv" is no longer used as a DISTRO_FEATURE anywhere in Arago or other lower layer, so drop it from DISTRO_FEATUREs. Signed-off-by: Andrew Davis --- Changes for v2: - Clarify commit message - point-cloud-viewer fix DEPENDS .../point-cloud-viewer/point-cloud-viewer_git.bb | 7 ++----- meta-arago-distro/conf/distro/arago.conf | 5 ++--- .../recipes-support/opencv/opencv/am57xx-evm/setupEnv.sh | 3 --- .../recipes-support/opencv/opencv/dra7xx-evm/setupEnv.sh | 3 --- .../recipes-support/opencv/opencv/keystone/setupEnv.sh | 3 --- .../recipes-support/opencv/opencv/setupEnv.sh | 2 -- meta-arago-distro/recipes-support/opencv/opencv_%.bbappend | 3 --- 7 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv/am57xx-evm/setupEnv.sh delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv/dra7xx-evm/setupEnv.sh delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv/keystone/setupEnv.sh delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv/setupEnv.sh delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv_%.bbappend diff --git a/meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb b/meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb index 0388a2e0..9211c653 100644 --- a/meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb +++ b/meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb @@ -3,10 +3,6 @@ HOMEPAGE = "https://git.ti.com/processor-sdk/point-cloud-viewer/" LICENSE = "TI-TSPA" LIC_FILES_CHKSUM := "file://PointCloudViewer_manifest.html;md5=7ea694db2dd8d82fd91a18cab8c2c2db" -inherit features_check - -REQUIRED_DISTRO_FEATURES = "opencv" - PR = "r2" COMPATIBLE_MACHINE = "dra7xx" @@ -21,7 +17,8 @@ PV = "2.2" S = "${WORKDIR}/git" -RDEPENDS:${PN} = "opencv libxkbcommon" +DEPENDS += "opencv" +RDEPENDS:${PN} = "libxkbcommon" do_install() { install -d ${D}${bindir} diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index f1948523..baa526a9 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -50,13 +50,12 @@ DISTRO_FEATURES:append = " pam wayland opengl" DISTRO_FEATURES:remove = "x11" #DISTRO_FEATURES:append = " opencl" DISTRO_FEATURES:append = " vulkan" -DISTRO_FEATURES:append = " opencv" DISTRO_FEATURES:append = " openmp" # Normally target distro features will not be applied to native builds: # Native distro features on this list will use the target feature value -DISTRO_FEATURES_FILTER_NATIVE:append = " opencl opencv openmp" -DISTRO_FEATURES_FILTER_NATIVESDK:append = " opencl opencv openmp" +DISTRO_FEATURES_FILTER_NATIVE:append = " opencl openmp" +DISTRO_FEATURES_FILTER_NATIVESDK:append = " opencl openmp" # Set global runtime providers for major components ARAGO_SYSVINIT ??= "0" diff --git a/meta-arago-distro/recipes-support/opencv/opencv/am57xx-evm/setupEnv.sh b/meta-arago-distro/recipes-support/opencv/opencv/am57xx-evm/setupEnv.sh deleted file mode 100644 index 3ad25601..00000000 --- a/meta-arago-distro/recipes-support/opencv/opencv/am57xx-evm/setupEnv.sh +++ /dev/null @@ -1,3 +0,0 @@ -export OPENCV_BUILDDIR=/usr/share/OpenCV/samples -export OPENCV_TEST_DATA_PATH=/usr/share/OpenCV/testdata -export OPENCV_OPENCL_DEVICE='TI AM57:ACCELERATOR:TI Multicore C66 DSP' diff --git a/meta-arago-distro/recipes-support/opencv/opencv/dra7xx-evm/setupEnv.sh b/meta-arago-distro/recipes-support/opencv/opencv/dra7xx-evm/setupEnv.sh deleted file mode 100644 index 3ad25601..00000000 --- a/meta-arago-distro/recipes-support/opencv/opencv/dra7xx-evm/setupEnv.sh +++ /dev/null @@ -1,3 +0,0 @@ -export OPENCV_BUILDDIR=/usr/share/OpenCV/samples -export OPENCV_TEST_DATA_PATH=/usr/share/OpenCV/testdata -export OPENCV_OPENCL_DEVICE='TI AM57:ACCELERATOR:TI Multicore C66 DSP' diff --git a/meta-arago-distro/recipes-support/opencv/opencv/keystone/setupEnv.sh b/meta-arago-distro/recipes-support/opencv/opencv/keystone/setupEnv.sh deleted file mode 100644 index 5b6bdb78..00000000 --- a/meta-arago-distro/recipes-support/opencv/opencv/keystone/setupEnv.sh +++ /dev/null @@ -1,3 +0,0 @@ -export OPENCV_BUILDDIR=/usr/share/OpenCV/samples -export OPENCV_TEST_DATA_PATH=/usr/share/OpenCV/testdata -export OPENCV_OPENCL_DEVICE='TI KeyStone II:ACCELERATOR:TI Multicore C66 DSP' diff --git a/meta-arago-distro/recipes-support/opencv/opencv/setupEnv.sh b/meta-arago-distro/recipes-support/opencv/opencv/setupEnv.sh deleted file mode 100644 index 5bf7afd3..00000000 --- a/meta-arago-distro/recipes-support/opencv/opencv/setupEnv.sh +++ /dev/null @@ -1,2 +0,0 @@ -export OPENCV_BUILDDIR=/usr/share/OpenCV/samples -export OPENCV_TEST_DATA_PATH=/usr/share/OpenCV/testdata diff --git a/meta-arago-distro/recipes-support/opencv/opencv_%.bbappend b/meta-arago-distro/recipes-support/opencv/opencv_%.bbappend deleted file mode 100644 index 2ee6bff7..00000000 --- a/meta-arago-distro/recipes-support/opencv/opencv_%.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -inherit features_check - -REQUIRED_DISTRO_FEATURES = "opencv" From patchwork Tue Jan 21 17:52:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55904 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86C33C0218D for ; Tue, 21 Jan 2025 17:52:44 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web10.22140.1737481954544381834 for ; Tue, 21 Jan 2025 09:52:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ad9VNyGW; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: afd@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXIR846973 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jan 2025 11:52:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481953; bh=TVCyneJLjIiS0j7OI5sODBSGuTy+hN2aB3PoFmck4h0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ad9VNyGWstHHLV154Ry1mJCIY8QEtxVICXocud/88TvyJxRpLXm20PWyOPHIwdmAt R3N1rVKVahiYCkJkSm1CgejPZkEm+GTub1EF5S4V+uEqGRQoqjwUd+PivXhtIRqQd2 PYwVceNz66Va4NDvGBKorC8foo6I6fOVZZYYiMTo= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXUc115814 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2025 11:52:33 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:33 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:33 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV9C097709; Tue, 21 Jan 2025 11:52:32 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 5/7] arago.conf: Remove OpenMP as a DISTRO_FEATURE Date: Tue, 21 Jan 2025 11:52:29 -0600 Message-ID: <20250121175231.27183-5-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250121175231.27183-1-afd@ti.com> References: <20250121175231.27183-1-afd@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15725 The "openmp" DISTRO_FEATURE is now unused after DSP accelerated OpenCL and OpenMP recipes were dropped. Remove this as a DISTRO_FEATURE. Signed-off-by: Andrew Davis --- Changes for v2: - New patch meta-arago-distro/conf/distro/arago.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index baa526a9..9f51ac26 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -50,12 +50,11 @@ DISTRO_FEATURES:append = " pam wayland opengl" DISTRO_FEATURES:remove = "x11" #DISTRO_FEATURES:append = " opencl" DISTRO_FEATURES:append = " vulkan" -DISTRO_FEATURES:append = " openmp" # Normally target distro features will not be applied to native builds: # Native distro features on this list will use the target feature value -DISTRO_FEATURES_FILTER_NATIVE:append = " opencl openmp" -DISTRO_FEATURES_FILTER_NATIVESDK:append = " opencl openmp" +DISTRO_FEATURES_FILTER_NATIVE:append = " opencl" +DISTRO_FEATURES_FILTER_NATIVESDK:append = " opencl" # Set global runtime providers for major components ARAGO_SYSVINIT ??= "0" From patchwork Tue Jan 21 17:52:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55903 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F162C02182 for ; Tue, 21 Jan 2025 17:52:44 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web11.21967.1737481954473805834 for ; Tue, 21 Jan 2025 09:52:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=W1Mot7v6; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: afd@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXTx846971 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Jan 2025 11:52:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481953; bh=nRKfI2JmNpm4Om58h9eB4FmAMywLXtki0wG3ZPu6kDc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=W1Mot7v6UC/bJUoXut3UBlRK+pNDx/VarAxQUQ9/pzBPNaoTZVZETC22cE4jt7BSt 7x0cAhhlOJibDNQaWszZ2mrlPkdjDz9D70ePOagZ5Qse4orvG/qByz0SNfw62IBYGF EGCcli4G316rmEM9mF/h06/n29uG7QVNoCWA8KK0= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqXha043547; Tue, 21 Jan 2025 11:52:33 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:33 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:33 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV9D097709; Tue, 21 Jan 2025 11:52:33 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 6/7] arago.conf: Remove unneeded LICENSE_FLAGS_ACCEPTED items Date: Tue, 21 Jan 2025 11:52:30 -0600 Message-ID: <20250121175231.27183-6-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250121175231.27183-1-afd@ti.com> References: <20250121175231.27183-1-afd@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15724 netperf is no longer marked as non-commercial (587fe5877 in meta-oe). faad2 is still marked commercial and AAC is still covered under several patents that may require royalties. Not sure why we decided to whitelist this, the commit adding it has no message. So, what can be added without explanation can be removed without explanation :) gst-ffmpeg is no longer a package, remove this too. Signed-off-by: Andrew Davis --- Changes for v2: - Explain each change better in commit message meta-arago-distro/conf/distro/arago.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 9f51ac26..033b8fcd 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -167,7 +167,7 @@ SKIP_META_VIRT_SANITY_CHECK = "1" # disable by default the codecs in libav that causes issues with shipping an # Arago based SDK. No need to prevent gst-ffmpeg from being used since we # disable troublesome software. -LICENSE_FLAGS_ACCEPTED = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav commercial_faad2 non-commercial_netperf" +LICENSE_FLAGS_ACCEPTED = "commercial_gstreamer1.0-libav" # Do not package own copy of perl into devkit, rely on host one ASSUME_PROVIDED += "nativesdk-perl" From patchwork Tue Jan 21 17:52:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 55905 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 858CBC0218C for ; Tue, 21 Jan 2025 17:52:44 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.22141.1737481954804567392 for ; Tue, 21 Jan 2025 09:52:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tHG5o9Xn; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: afd@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXqs045926 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jan 2025 11:52:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737481954; bh=kF7zKtJyOP8JXIvAoH0jkoyzEOiSsrvItM5sh+e0PuY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tHG5o9XnEzQ/bzQG6YemZAIzuHPORH5wNVRGoowsDdV7f0QpT1dcFF6BWV14uRoV+ 8K1lWbudfdr2w16ugu4ylmfhtG72beooPYkPoI3YsaZvSIDF5sQEBLN4oKLFVvz8cD b3T41bhRh15lNUzBduCN/2kbJqMQeQ2YhGCtBzvs= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50LHqXCX115817 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2025 11:52:33 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 11:52:33 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 11:52:33 -0600 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LHqV9E097709; Tue, 21 Jan 2025 11:52:33 -0600 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][scarthgap/master][PATCH v2 7/7] ffmpeg: Remove bbappend to disable x264 Date: Tue, 21 Jan 2025 11:52:31 -0600 Message-ID: <20250121175231.27183-7-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250121175231.27183-1-afd@ti.com> References: <20250121175231.27183-1-afd@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 17:52:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15726 The x264 codec is no longer enabled by default in oe-core, remove the extra disabling. The x264 codec is not the only codec that makes this package license flag commercial, so removing that flag after only disabling one codec is not correct. All potentially troublesome codecs should be evaluated before setting LICENSE_FLAGS_ACCEPTED to approve of the license flags. Signed-off-by: Andrew Davis --- Changes for v2: - Move some LICENSE_FLAGS_ACCEPTED items to previous patch meta-arago-distro/conf/distro/arago.conf | 9 ++++----- .../recipes-multimedia/ffmpeg/ffmpeg_%.bbappend | 4 ---- 2 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 033b8fcd..f27a6128 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -163,11 +163,10 @@ require conf/distro/include/branding-${ARAGO_BRAND}.inc # Disable meta-virtualization sanity check and warning SKIP_META_VIRT_SANITY_CHECK = "1" -# oe-core uses external libav instead of internal libav for gst-ffmpeg. We -# disable by default the codecs in libav that causes issues with shipping an -# Arago based SDK. No need to prevent gst-ffmpeg from being used since we -# disable troublesome software. -LICENSE_FLAGS_ACCEPTED = "commercial_gstreamer1.0-libav" +# Codecs in libav and ffmpeg with questionable patent statuses are not +# included by default. If you enable any of those codecs you should check +# if the below acceptance flags still work for your software distribution +LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg commercial_gstreamer1.0-libav" # Do not package own copy of perl into devkit, rely on host one ASSUME_PROVIDED += "nativesdk-perl" diff --git a/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend b/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend deleted file mode 100644 index d2f22d8e..00000000 --- a/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -PR:append = ".arago0" - -PACKAGECONFIG:remove = "x264" -LICENSE_FLAGS = ""