Update PCIe Endpoint Testing Application
cover Update PCIe Endpoint Testing Application
The 'pcitest' application is obsolete on the 6.18 kernel. Instead, the 'pci_endpoint' selftest is introduced to test functionalities for PCIe in endpoint mode of operation.
This patch series updates the build for PCIe endpoint testing application.
Aksh Garg (2):
ti-test: Remove the pcitest application
kernel-selftest: Add the pci_endpoint selftest application
.../packagegroup-arago-bootstrap.bb | 1 - .../recipes-core/packagegroups/ti-test.bb | 1 - .../kernel-selftest/kernel-selftest-ti.inc | 1 + .../recipes-kernel/pcitest/pcitest_5.10.bb | 18 ------------------ 4 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb
Signature · 1 line
2.34.1
PATCH 1/2 ti-test: Remove the pcitest application
The 'pcitest' application, used to test the PCIe endpoint functionality, is obsolete on the 6.18 kernel. Hence, remove the pcitest application from packagegroups.
--- .../packagegroup-arago-bootstrap.bb | 1 - .../recipes-core/packagegroups/ti-test.bb | 1 - .../recipes-kernel/pcitest/pcitest_5.10.bb | 18 ------------------ 3 files changed, 20 deletions(-) delete mode 100644 meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb +0 -1
@@ -11,7 +11,6 @@ UTILS = " \ evtest \ memtester \ nbench-byte \ - pcitest \ serialcheck \ yavta \ hdparm \
meta-arago-test/recipes-core/packagegroups/ti-test.bb +0 -1
@@ -37,7 +37,6 @@ TI_TEST_BASE = "\ nbench-byte \ openntpd \ ${@"optee-test" if d.getVar('OPTEEMACHINE') else ""} \ - pcitest \ pciutils \ perf \ powertop \
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb deleted +0 -18
@@ -1,18 +0,0 @@ -SUMMARY = "Linux Kernel PCI test" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" - -BRANCH = "ti-linux-5.10.y" -SRCREV = "73aa709ca10103b61fba3a07471dbb4dcb56db45" -SRC_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git;protocol=https;branch=${BRANCH}" - -do_compile () { - cd ${S}/tools/pci - ${CC} ${CFLAGS} ${LDFLAGS} -o pcitest pcitest.c -} - -do_install () { - install -d ${D}${bindir} - install -m 0755 ${S}/tools/pci/pcitest ${D}${bindir} - install -m 0755 ${S}/tools/pci/pcitest.sh ${D}${bindir} -}
Signature · 1 line
2.34.1
Re: [meta-arago][master][PATCH 1/2] ti-test: Remove the pcitest application
We can't just remove this globally. We need to base this on the bsp that is being built.
If you build the 6.12 kernel with master then you will not get a tool that works and will try and include a tool that will not work.
We will need to support this until the 6.12 kernel rolls out of support in master.
More comments inline
Quoted 17 lines · Aksh Garg
The 'pcitest' application, used to test the PCIe endpoint functionality, is obsolete on the 6.18 kernel. Hence, remove the pcitest application from packagegroups.
Signed-off-by Aksh Garg <[email protected]>--- .../packagegroup-arago-bootstrap.bb | 1 - .../recipes-core/packagegroups/ti-test.bb | 1 - .../recipes-kernel/pcitest/pcitest_5.10.bb | 18 ------------------ 3 files changed, 20 deletions(-)delete mode 100644 meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb UTILS = " \ · line 16
Quoted 7 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb +0
-1@@ -11,7 +11,6 @@ UTILS = " \ evtest \ memtester \ nbench-byte \ - pcitest \ serialcheck \ yavta \ hdparm \
UTILS:remove:bsp-ti-6_18 = "pcitest"
meta-arago-test/recipes-core/packagegroups/ti-test.bb TI_TEST_BASE = "\ · line 42
Quoted 12 lines
meta-arago-test/recipes-core/packagegroups/ti-test.bb +0
-1@@ -37,7 +37,6 @@ TI_TEST_BASE = "\ nbench-byte \ openntpd \ ${@"optee-test" if d.getVar('OPTEEMACHINE') else ""} \ - pcitest \ pciutils \ perf \ powertop \
TI_TEST_BASE:remove:bsp-ti-6_18 = "pcitest"
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb
Quoted 2 lines
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb deleted +0
-0
You cannot remove the recipe since it is still needed for 6.12 support.
Quoted 22 lines
index 9ab0dbedf4ba..000000000000
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb deleted +0
-18@@ -1,18 +0,0 @@ -SUMMARY = "Linux Kernel PCI test" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" - -BRANCH = "ti-linux-5.10.y" -SRCREV = "73aa709ca10103b61fba3a07471dbb4dcb56db45" -SRC_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git;protocol=https;branch=${BRANCH}" - -do_compile () { - cd ${S}/tools/pci - ${CC} ${CFLAGS} ${LDFLAGS} -o pcitest pcitest.c -} - -do_install () { - install -d ${D}${bindir} - install -m 0755 ${S}/tools/pci/pcitest ${D}${bindir} - install -m 0755 ${S}/tools/pci/pcitest.sh ${D}${bindir} -}
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Re: [meta-arago][master][PATCH 1/2] ti-test: Remove the pcitest application
Quoted 55 lines · Ryan Eatmon
We can't just remove this globally. We need to base this on the bsp that is being built.
If you build the 6.12 kernel with master then you will not get a tool that works and will try and include a tool that will not work.
We will need to support this until the 6.12 kernel rolls out of support in master.
More comments inline
Quoted 19 lines · Aksh Garg
The 'pcitest' application, used to test the PCIe endpoint functionality, is obsolete on the 6.18 kernel. Hence, remove the pcitest application from packagegroups.
Signed-off-by Aksh Garg <[email protected]>---
.../packagegroup-arago-bootstrap.bb | 1 - .../recipes-core/packagegroups/ti-test.bb | 1 - .../recipes-kernel/pcitest/pcitest_5.10.bb | 18 ------------------3 files changed, 20 deletions(-)delete mode 100644 meta-arago-test/recipes-kernel/pcitest/ pcitest_5.10.bb
meta-arago-distro/recipes-core/ packagegroups/packagegroup-arago-bootstrap.bb renamed from meta-arago-distro/recipes-core/packagegroups/ packagegroup-arago-bootstrap.bb +0
-1--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago- bootstrap.bbmeta-arago-distro/recipes-core/ packagegroups/packagegroup-arago-bootstrap.bb UTILS = " \ · line 16
Quoted 7 lines
meta-arago-distro/recipes-core/ packagegroups/packagegroup-arago-bootstrap.bb renamed from meta-arago-distro/recipes-core/packagegroups/ packagegroup-arago-bootstrap.bb +0
-1@@ -11,7 +11,6 @@ UTILS = " \ evtest \ memtester \ nbench-byte \ - pcitest \ serialcheck \ yavta \ hdparm \UTILS:remove:bsp-ti-6_18 = "pcitest"
meta-arago-test/recipes-core/packagegroups/ti-test.bb TI_TEST_BASE = "\ · line 42
Quoted 12 lines
meta-arago-test/recipes-core/packagegroups/ti-test.bb +0
-1@@ -37,7 +37,6 @@ TI_TEST_BASE = "\ nbench-byte \ openntpd \ ${@"optee-test" if d.getVar('OPTEEMACHINE') else ""} \ - pcitest \ pciutils \ perf \ powertop \TI_TEST_BASE:remove:bsp-ti-6_18 = "pcitest"
Quoted 5 lines
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb
Quoted 2 lines
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb deleted +0
-0You cannot remove the recipe since it is still needed for 6.12 support.
I missed the fact that master branch can support 6.12 kernel build. Thank you for your feedback. I will post a v2 series with the required changes.
Quoted 25 lines
Quoted 24 lines
index 9ab0dbedf4ba..000000000000
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb deleted +0
-7@@ -1,18 +0,0 @@ -SUMMARY = "Linux Kernel PCI test" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" - -BRANCH = "ti-linux-5.10.y" -SRCREV = "73aa709ca10103b61fba3a07471dbb4dcb56db45" -SRC_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git;protocol=https;branch=${BRANCH}"
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb deleted +0
-11- -do_compile () { - cd ${S}/tools/pci - ${CC} ${CFLAGS} ${LDFLAGS} -o pcitest pcitest.c -} - -do_install () { - install -d ${D}${bindir} - install -m 0755 ${S}/tools/pci/pcitest ${D}${bindir} - install -m 0755 ${S}/tools/pci/pcitest.sh ${D}${bindir} -}
PATCH 2/2 kernel-selftest: Add the pci_endpoint selftest application
In reply to Aksh GargThe 'pci_endpoint' selftest application is used to test the PCIe endpoint functionality. Add this selftest to kernel-selftest-ti.inc
--- .../recipes-kernel/kernel-selftest/kernel-selftest-ti.inc | 1 + 1 file changed, 1 insertion(+)
meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +1 -0
@@ -31,6 +31,7 @@ TEST_LIST += "\ mincore \ net \ net/mptcp \ + pci_endpoint \ ptrace \ resq \ rtc \
Signature · 1 line
2.34.1
Re: [meta-arago][master][PATCH 2/2] kernel-selftest: Add the pci_endpoint selftest application
Quoted 13 lines · Aksh Garg
The '
pci_endpoint' selftest application is used to test the PCIe endpoint functionality. Add this selftest to kernel-selftest-ti.incSigned-off-by Aksh Garg <[email protected]>--- .../recipes-kernel/kernel-selftest/kernel-selftest-ti.inc | 1 + 1 file changed, 1 insertion(+)meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +0
-0
meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc TEST_LIST += "\ · line 37
Quoted 7 lines
meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +1
-0@@ -31,6 +31,7 @@ TEST_LIST += "\ mincore \ net \ net/mptcp \ + pci_endpoint \ ptrace \ resq \ rtc \
Similar to the other patch:
TEST_LIST:append:bsp-ti-6_18 = " pci_endpoint"
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
meta-arago / na / 20260309130109.52886-1-a-garg7
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 0/2] Update PCIe Endpoint Testing Application
- Submitter: From: Aksh Garg <[email protected]>
- Date: Date: Mon, 9 Mar 2026 18:31:07 +0530
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 7b3917d7bf2552e1128bc2aa6a82d782d01aa4f8
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Thorsten Lannynd <[email protected]>
- Commit Subject: chromium: Upgrade to v142.0.7444.175
- Commit SHA: 939752e7496d2cdaea5648fdb0418ed6a36204c7
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.