From patchwork Thu Oct 6 15:06:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13607 X-Patchwork-Delegate: denis@denix.org 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 30E6DC4167D for ; Thu, 6 Oct 2022 15:06:41 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web12.193.1665068791841235037 for ; Thu, 06 Oct 2022 08:06:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=cneXvDYn; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: afd@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 296F6Uxs063475; Thu, 6 Oct 2022 10:06:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1665068790; bh=8jHNTZQiNeMwBl3L5OQmfxYWcnYVoB7k2z0ya7jl12g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=cneXvDYnou8hOGURHC2PArqFfvB9iF7WQp2rCrS+2kkwchOKgEfKP2H2VkmG+OW+R m/tJBGWQq4n9Kaqk56yloH7ptkTa9OH2ZBlMbae1tOfuEZdNAvSWVfS2qwohZziVm/ 0WriHAZ6tfEwalydaxR++M0FcgMA4OZIPbt6FkaQ= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 296F6UH0038882 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Oct 2022 10:06:30 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) 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.6; Thu, 6 Oct 2022 10:06:30 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Thu, 6 Oct 2022 10:06:30 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 296F6STa021833; Thu, 6 Oct 2022 10:06:30 -0500 From: Andrew Davis To: Denys Dmytriyenko , Ryan Eatmon , CC: Andrew Davis Subject: [meta-arago][master/kirkstone][PATCH 6/7] ti-tisdk: Remove uio-module-drv kernel module Date: Thu, 6 Oct 2022 10:06:27 -0500 Message-ID: <20221006150628.17044-6-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221006150628.17044-1-afd@ti.com> References: <20221006150628.17044-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 ; Thu, 06 Oct 2022 15:06:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14053 UIO drivers are generally frowned upon and were only used here for some K2 devices and PRUs before RPMSG. With these uses finally gone, lets remove this out-of-tree module. Signed-off-by: Andrew Davis --- .../conf/distro/include/arago-source-ipk.inc | 3 -- ...ackagegroup-arago-tisdk-addons-sdk-host.bb | 9 ------ .../packagegroup-arago-tisdk-addons.bb | 20 ------------- .../ti-tisdk-makefile/Makefile_uio-module-drv | 28 ------------------- .../ti-tisdk-makefile_1.0.bb | 4 --- 5 files changed, 64 deletions(-) delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc index a709fd00..5e5aad48 100644 --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc @@ -334,9 +334,6 @@ SRCIPK_INSTALL_DIR:pn-boot-monitor ?= "board-support/${PN}-${PV}" CREATE_SRCIPK:pn-hplib-mod ?= "1" SRCIPK_INSTALL_DIR:pn-hplib-mod ?= "board-support/extra-drivers/${PN}-${PV}" -CREATE_SRCIPK:pn-uio-module-drv ?= "1" -SRCIPK_INSTALL_DIR:pn-uio-module-drv ?= "board-support/extra-drivers/${PN}-${PV}" - CREATE_SRCIPK:pn-pru-icss ?= "1" SRCIPK_INSTALL_DIR:pn-pru-icss ?= "example-applications/${PN}-${PV}" diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb index 1814137b..9efc2cae 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb @@ -50,7 +50,6 @@ UTILS:append:am64xx = " \ EXTRA_LIBS = "" EXTRA_LIBS:append:omap-a15 = " \ - uio-module-drv-source \ big-data-ipc-demo-source \ " @@ -59,14 +58,6 @@ EXTRA_LIBS:append:omap-a15 = " \ # gdbserverproxy-module-drv-source \ #" -EXTRA_LIBS:append:ti33x = " \ - uio-module-drv-source \ -" - -EXTRA_LIBS:append:ti43x = " \ - uio-module-drv-source \ -" - PDM_ANOMALY_PKG_SRC = "\ ${@bb.utils.contains('MACHINE_FEATURES', 'gpu', 'pdm-anomaly-detection-source', '', d)} \ " diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb index f8c07164..f4e72a89 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb @@ -34,16 +34,12 @@ UTILS_DSP = " \ UTILS:append:ti33x = " mmc-utils \ switch-config \ pru-icss \ - uio-module-drv-test \ - uio-test-pruss \ " UTILS:append:ti43x = " mmc-utils \ switch-config \ libdrm-omap \ pru-icss \ - uio-module-drv-test \ - uio-test-pruss \ " UTILS:append:omap-a15 = " mmc-utils \ @@ -51,8 +47,6 @@ UTILS:append:omap-a15 = " mmc-utils \ libdrm-omap \ pru-icss \ ti-ipc-rtos-fw \ - uio-test-pruss \ - uio-module-drv-test \ " UTILS:append:k3 = " mmc-utils \ @@ -78,19 +72,6 @@ UTILS:append:dra7xx = " \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','glsdk-example-apps','',d)} \ " -EXTRA_LIBS = "" -EXTRA_LIBS:append:omap-a15 = " \ - uio-module-drv \ -" - -EXTRA_LIBS:append:ti43x = " \ - uio-module-drv \ -" - -EXTRA_LIBS:append:ti33x = " \ - uio-module-drv \ -" - EXTRA_PACKAGES = " \ nodejs \ nodejs-npm \ @@ -118,7 +99,6 @@ EXTRA_PACKAGES:append:omap-a15 = " \ RDEPENDS:${PN} = "\ ${UTILS} \ ${UTILS_UBOOT_FW} \ - ${EXTRA_LIBS} \ " RDEPENDS:${PN}-extra = "\ diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv deleted file mode 100644 index 544e0eb8..00000000 --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv +++ /dev/null @@ -1,28 +0,0 @@ -uio-module-drv: linux - @echo ================================ - @echo Building uio-module-drv - @echo ================================ - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -type d -name "uio-module-drv*"`; \ - make ARCH=__KERNEL_ARCH__ KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) - -uio-module-drv_clean: - @echo ================================ - @echo Cleaning uio-module-drv - @echo ================================ - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -type d -name "uio-module-drv*"`; \ - make ARCH=__KERNEL_ARCH__ KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) clean - -uio-module-drv_install: - @echo ================================ - @echo Installing uio-module-drv - @echo ================================ - @if [ ! -d $(DESTDIR) ] ; then \ - echo "The extracted target filesystem directory doesn't exist."; \ - echo "Please run setup.sh in the SDK's root directory and then try again."; \ - exit 1; \ - fi - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -type d -name "uio-module-drv*"`; \ - make ARCH=__KERNEL_ARCH__ KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) INSTALL_MOD_PATH=$(DESTDIR) PREFIX=$(SDK_PATH_TARGET) INSTALL_MOD_STRIP=$(INSTALL_MOD_STRIP) modules_install diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb index c4d8c408..68d0f458 100644 --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb @@ -36,7 +36,6 @@ SRC_URI = "\ file://Makefile_opencl-examples \ file://Makefile_boot-monitor \ file://Makefile_hplib-mod \ - file://Makefile_uio-module-drv \ file://Makefile_pru-icss \ file://Makefile_qt-opencv-opencl-opengl-multithreaded \ file://Makefile_openmpacc-examples \ @@ -77,7 +76,6 @@ MAKEFILES:append:ti33x = " u-boot-spl \ cryptodev \ ti-sgx-ddk-km \ pru-icss \ - uio-module-drv \ mmwavegesture-hmi \ pdm-anomaly-detection \ " @@ -88,7 +86,6 @@ MAKEFILES:append:ti43x = " u-boot-spl \ image-gallery \ ti-sgx-ddk-km \ pru-icss \ - uio-module-drv \ mmwavegesture-hmi \ pdm-anomaly-detection \ " @@ -110,7 +107,6 @@ MAKEFILES:append:omap-a15 = " u-boot-spl \ pru-icss \ ti-gc320-driver \ barcode-roi \ - uio-module-drv \ mmwavegesture-hmi \ pdm-anomaly-detection \ ti-ipc \