Skip to contentSkip to conversation

meta-ti-test: Create layout for new layer

PATCH In review Ryan Eatmon 2 participants 13 messages Apr 29

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/12 meta-ti-test: Create layout for new layer

We are moving the meta-arago-test layer to meta-ti-test. This is the first commit that creates the layer directory structure. Follow on patches will import all of the various recipes.

---
v3: No changes.
v2: No changes.

 {meta-beagle => meta-ti-test}/COPYING.MIT |  0
 meta-ti-test/README                       | 34 +++++++++++++++++++++++
 {meta-beagle => meta-ti-test}/SECURITY    |  0
 meta-ti-test/conf/layer.conf              | 32 +++++++++++++++++++++
 4 files changed, 66 insertions(+)
 copy {meta-beagle => meta-ti-test}/COPYING.MIT (100%)
 create mode 100644 meta-ti-test/README
 copy {meta-beagle => meta-ti-test}/SECURITY (100%)
 create mode 100644 meta-ti-test/conf/layer.conf
meta-ti-test/COPYING.MIT renamed from meta-beagle/COPYING.MIT +0 -0
similarity index 100%
copy from meta-beagle/COPYING.MIT
copy to meta-ti-test/COPYING.MIT
meta-ti-test/README new file +34 -0
new file mode 100644
index 00000000..e3a41e79
@@ -0,0 +1,34 @@
+meta-ti-test provides an additional packagegroup ti-test and some of the recipes that go into that group
+
+This layer works with the latest Yocto Project release (currently 2.2+) and tracks
+the stable/maintenance branches (currently "master") of the corresponding layers:
+
+URI: git://git.openembedded.org/openembedded-core
+branch: master
+revision: HEAD
+layers: meta
+
+URI: git://git.yoctoproject.org/meta-ti
+branch: master
+revision: HEAD
+layers: meta-ti-bsp, meta-ti-extras
+
+URI: git://git.yoctoproject.org/meta-arm
+branch: master
+revision: HEAD
+layers: meta-arm, meta-arm-toolchain
+
+URI: git://git.openembedded.org/meta-openembedded
+branch: master
+revision: HEAD
+layers: meta-oe, meta-networking, meta-python
+
+Send pull requests, patches, comments or questions to:
[email protected]
+
+Please note - meta-ti mailing list requires subscription for posting:
+https://lists.yoctoproject.org/g/meta-ti
+
+Layer maintainers:
+Ryan Eatmon <[email protected]>
+Denys Dmytriyenko <[email protected]>
meta-ti-test/SECURITY renamed from meta-beagle/SECURITY +0 -0
similarity index 100%
copy from meta-beagle/SECURITY
copy to meta-ti-test/SECURITY
meta-ti-test/conf/layer.conf new file +32 -0
new file mode 100644
index 00000000..1997f0b4
@@ -0,0 +1,32 @@
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-ti-test"
+BBFILE_PATTERN_meta-ti-test := "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-ti-test = "10"
+
+LAYERSERIES_COMPAT_meta-ti-test = "whinlatter wrynose"
+
+# Set a variable to get to the top of the metadata location
+TITESTBASE := '${@os.path.normpath("${LAYERDIR}/")}'
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
+
+LAYERDEPENDS_meta-ti-test = " \
+    core \
+    openembedded-layer \
+    networking-layer \
+    filesystems-layer \
+    meta-python \
+"
+
+BBFILES_DYNAMIC += " \
+"
+
+# Codecs in ffmpeg with questionable patent status are not included by
+# default.  As this entire layer is purely optional for testing purposes only
+# and not meant to be shipped, add support for the ffmpeg commercial license.
+LICENSE_FLAGS_ACCEPTED:append:ti-soc = " commercial_ffmpeg"
Signature · 1 line
2.43.0
#1 lore raw

PATCH v3 2/12 meta-ti-test: Import the recipes-benchmark recipes

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-benchmark.

---
v3: No changes.
v2: No changes.

 .../licenses/Stream_Benchmark_License         | 34 +++++++++++++
 .../arm-benchmarks/arm-benchmarks_1.3.bb      | 23 +++++++++
 .../arm-ddr-bandwidth/arm-ddr-bandwidth.bb    | 28 +++++++++++
 .../coremark/coremark-ti.inc                  |  3 ++
 ..._main-Remove-printing-compiler-flags.patch | 41 ++++++++++++++++
 .../coremark/coremark_%.bbappend              |  4 ++
 .../nbench-byte/nbench-byte-ti.inc            |  1 +
 .../nbench-byte/nbench-byte_%.bbappend        |  4 ++
 .../openssl-perf/openssl-perf.bb              | 49 +++++++++++++++++++
 .../stream/stream_%.bbappend                  | 13 +++++
 .../recipes-benchmark/stream/stream_5.10.bb   | 26 ++++++++++
 11 files changed, 226 insertions(+)
 create mode 100644 meta-ti-test/licenses/Stream_Benchmark_License
 create mode 100644 meta-ti-test/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
 create mode 100644 meta-ti-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
 create mode 100644 meta-ti-test/recipes-benchmark/coremark/coremark-ti.inc
 create mode 100644 meta-ti-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
 create mode 100644 meta-ti-test/recipes-benchmark/coremark/coremark_%.bbappend
 create mode 100644 meta-ti-test/recipes-benchmark/nbench-byte/nbench-byte-ti.inc
 create mode 100644 meta-ti-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend
 create mode 100644 meta-ti-test/recipes-benchmark/openssl-perf/openssl-perf.bb
 create mode 100644 meta-ti-test/recipes-benchmark/stream/stream_%.bbappend
 create mode 100644 meta-ti-test/recipes-benchmark/stream/stream_5.10.bb
meta-ti-test/licenses/Stream_Benchmark_License new file +34 -0
new file mode 100644
index 00000000..cf1c8e00
@@ -0,0 +1,34 @@
+*=======================================================================
+*-----------------------------------------------------------------------
+* Copyright 1991-2003: John D. McCalpin
+*-----------------------------------------------------------------------
+* License:
+*  1. You are free to use this program and/or to redistribute
+*     this program.
+*  2. You are free to modify this program for your own use,
+*     including commercial use, subject to the publication
+*     restrictions in item 3.
+*  3. You are free to publish results obtained from running this
+*     program, or from works that you derive from this program,
+*     with the following limitations:
+*     3a. In order to be referred to as "STREAM benchmark results",
+*         published results must be in conformance to the STREAM
+*         Run Rules, (briefly reviewed below) published at
+*         http://www.cs.virginia.edu/stream/ref.html
+*         and incorporated herein by reference.
+*         As the copyright holder, John McCalpin retains the
+*         right to determine conformity with the Run Rules.
+*     3b. Results based on modified source code or on runs not in
+*         accordance with the STREAM Run Rules must be clearly
+*         labelled whenever they are published.  Examples of
+*         proper labelling include:
+*         "tuned STREAM benchmark results" 
+*         "based on a variant of the STREAM benchmark code"
+*         Other comparable, clear and reasonable labelling is
+*         acceptable.
+*     3c. Submission of results to the STREAM benchmark web site
+*         is encouraged, but not required.
+*  4. Use of this program or creation of derived works based on this
+*     program constitutes acceptance of these licensing restrictions.
+*  5. Absolutely no warranty is expressed or implied.
+*-----------------------------------------------------------------------
meta-ti-test/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb new file +23 -0
new file mode 100644
index 00000000..8cdd1a6f
@@ -0,0 +1,23 @@
+SUMMARY = "ARM Benchmarks"
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
+SECTION = "system"
+
+PR = "r13"
+
+BRANCH ?= "master"
+SRCREV = "fefaf9bdd6f36ab0cebaab8dbf34e5beb50f471c"
+
+SRC_URI = "git://git.ti.com/git/apps/arm_benchmarks.git;protocol=https;branch=${BRANCH}"
+
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	export CFLAGS='${TARGET_CC_ARCH} -std=gnu11'
+	# build the release version
+	oe_runmake release CC="${CC}"
+}
+do_install() {
+
+	oe_runmake DESTDIR=${D} install
+}
meta-ti-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb new file +28 -0
new file mode 100644
index 00000000..29db78c3
@@ -0,0 +1,28 @@
+SUMMARY = "Benchmark for checking DDR bandwidth"
+HOMEPAGE = "https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/tree/arm_apps/arm_ddr_bandwidth/runLmDDRBandwidth.sh"
+LICENSE = "CC-BY-SA-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
+
+PV = "1.0"
+
+SRC_URI = " \
+    https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/arm_apps/arm_ddr_bandwidth/runLmDDRBandwidth.sh;name=runLmDDRBandwidth \
+    https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/LICENSE;name=license \
+"
+SRC_URI[runLmDDRBandwidth.sha256sum] = "67997d721b351344d8788200a15bb3640093045bc25f2b5307dd331ebd1556a3"
+SRC_URI[license.sha256sum] = "7febd1df714fa4b1e44fe0b0f73ceac7f9b9f97326695a0cc7074bd6c8d263e3"
+
+S = "${UNPACKDIR}"
+
+do_install() {
+    install -d ${D}${datadir}/matrix-gui-2.0/apps
+
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/runLmDDRBandwidth.sh ${D}${bindir}/runLmDDRBandwidth.sh
+}
+
+FILES:${PN} = " \
+    ${datadir}/matrix-gui-2.0/apps \
+    ${bindir}/runLmDDRBandwidth.sh \
+"
+
meta-ti-test/recipes-benchmark/coremark/coremark-ti.inc new file +3 -0
new file mode 100644
index 00000000..9a1d9b89
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/coremark:"
+
+SRC_URI += "file://0001-core_main-Remove-printing-compiler-flags.patch"
meta-ti-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch new file +41 -0

41 lines not on this page · raw message

meta-ti-test/recipes-benchmark/coremark/coremark_%.bbappend new file +4 -0
new file mode 100644
index 00000000..952d6e99
@@ -0,0 +1,4 @@
+COREMARK_TI = ""
+COREMARK_TI:ti-soc = "coremark-ti.inc"
+
+require ${COREMARK_TI}
meta-ti-test/recipes-benchmark/nbench-byte/nbench-byte-ti.inc new file +1 -0
new file mode 100644
index 00000000..f571f368
@@ -0,0 +1 @@
+ARM_INSTRUCTION_SET = "arm"
meta-ti-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend new file +4 -0
new file mode 100644
index 00000000..dfe5ea96
@@ -0,0 +1,4 @@
+NBENCH_BYTE_TI = ""
+NBENCH_BYTE_TI:ti-soc = "nbench-byte-ti.inc"
+
+require ${NBENCH_BYTE_TI}
meta-ti-test/recipes-benchmark/openssl-perf/openssl-perf.bb new file +49 -0

49 lines not on this page · raw message

meta-ti-test/recipes-benchmark/stream/stream_%.bbappend new file +13 -0
new file mode 100644
index 00000000..97e0c6a0
@@ -0,0 +1,13 @@
+INSANE_SKIP:${PN} += "ldflags"
+INSANE_SKIP:${PN}-openmp += "ldflags"
+
+PR:append = ".ti1"
+
+BRANCH = "sdk"
+SRCREV = "96156d407d9a4e5fac4513f3d3f60a414b3355cd"
+
+do_compile:prepend() {
+    #Explicitly clear some variables to insure no unexpected optimizations are being passed in.
+    unset CFLAGS
+    unset LDFLAGS
+}
meta-ti-test/recipes-benchmark/stream/stream_5.10.bb new file +26 -0
new file mode 100644
index 00000000..484be34d
@@ -0,0 +1,26 @@
+SUMMARY = "Stream Benchmark"
+HOMEPAGE = "http://www.cs.virginia.edu/stream/"
+LICENSE = "Stream_Benchmark_License"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bca8cbe07976fe64c8946378d08314b0"
+SECTION = "system"
+
+PR = "r0"
+
+BRANCH ?= "master"
+SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306"
+
+SRC_URI = "git://git.ti.com/git/arago-project-org/stream.git;protocol=https;branch=${BRANCH}"
+
+PACKAGES =+ "${PN}-openmp"
+
+do_compile() {
+	oe_runmake CC="${CC}"
+}
+
+do_install() {
+	install -d ${D}/${bindir}
+	install -m 0755 ${S}/stream_c ${D}/${bindir}/
+	install -m 0755 ${S}/stream_c_openmp ${D}/${bindir}/
+}
+
+FILES:${PN}-openmp = "${bindir}/stream_c_openmp"
Signature · 1 line
2.43.0
#2 lore raw

PATCH v3 3/12 meta-ti-test: Import the recipes-bsp recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-bsp.

---
v3: No changes.
v2: No changes.

 ...se-proper-definition-of-boolean-type.patch | 33 +++++++++++++++++++
 .../switch-config/switch-config_git.bb        | 27 +++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 meta-ti-test/recipes-bsp/switch-config/files/0001-Use-proper-definition-of-boolean-type.patch
 create mode 100644 meta-ti-test/recipes-bsp/switch-config/switch-config_git.bb
meta-ti-test/recipes-bsp/switch-config/files/0001-Use-proper-definition-of-boolean-type.patch new file +33 -0
new file mode 100644
index 00000000..fe18b3b0
@@ -0,0 +1,33 @@
+From 5190913c7a86cd36b91dc3a6ff4c1eb22ea6375e Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <[email protected]>
+Date: Tue, 6 May 2025 12:52:14 -0400
+Subject: [PATCH] Use proper definition of boolean type
+
+Newer versions of GCC and C standard have bool as a built-in
+keyword - use a standard stdbool.h header to properly handle it.
+
+Upstream-Status: Inactive-Upstream
+
+Signed-off-by: Denys Dmytriyenko <[email protected]>
+---
+ switch-config.c | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/switch-config.c b/switch-config.c
+index d31a237..5b5db3a 100644
+--- a/switch-config.c
++++ b/switch-config.c
+@@ -13,10 +13,7 @@
+  * GNU General Public License for more details.
+  */
+
+-#define true 1
+-#define false 0
+-typedef int bool;
+-
++#include <stdbool.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+--
+2.25.1
meta-ti-test/recipes-bsp/switch-config/switch-config_git.bb new file +27 -0
new file mode 100644
index 00000000..90834edb
@@ -0,0 +1,27 @@
+SUMMARY = "Ethernet Switch configuration management"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75"
+
+PV = "2.0"
+PR = "r5"
+
+BRANCH ?= "v4.1"
+BRANCH:aarch64 ?= "am65x-v1.0"
+
+SRCREV = "412dce4e65cfe5af729be38fd1b4c1d59e9a8828"
+SRCREV:aarch64 = "0f52dcb3c4e3678e96427d546d6c2e1fabc2ad91"
+
+SRC_URI = "git://git.ti.com/git/switch-config/switch-config.git;protocol=https;branch=${BRANCH}"
+
+SRC_URI += "file://0001-Use-proper-definition-of-boolean-type.patch"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
+
+do_configure() {
+	sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i ${S}/Makefile
+}
+
+do_install() {
+	install -d ${D}${bindir}/
+	install -c -m 755 ${S}/switch-config ${D}${bindir}/switch-config
+}
Signature · 1 line
2.43.0
#3 lore raw

PATCH v3 4/12 meta-ti-test: Import the recipes-connectivity recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-connectivity.

---
v3: No changes.
v2: No changes.

 .../openntpd/openntpd_6.8p1.bb                | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-ti-test/recipes-connectivity/openntpd/openntpd_6.8p1.bb
meta-ti-test/recipes-connectivity/openntpd/openntpd_6.8p1.bb new file +24 -0
new file mode 100644
index 00000000..6a3c64d1
@@ -0,0 +1,24 @@
+SUMMARY = "OpenNTPD is an implementation of the Network Time Protocol."
+DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the Network Time Protocol."
+HOMEPAGE = "http://www.openntpd.org/"
+SECTION = "console/network"
+LICENSE = "BSD-3-Clause & ISC"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fe922aad2b6ad1c359cf2adfdaaab1b6"
+
+PR = "r0"
+
+SRC_URI = "https://cdn.openbsd.org/pub/OpenBSD/OpenNTPD/${P}.tar.gz"
+SRC_URI[md5sum] = "7c68ce2627b2ea13f2b95db1ef4fcfc5"
+SRC_URI[sha256sum] = "8582db838a399153d4a17f2a76518b638cc3020f58028575bf54127518f55a46"
+
+inherit autotools
+
+LDFLAGS += "-lrt"
+EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
+                 --with-privsep-user=root"
+
+do_install:append() {
+    # don't install empty /var/run and /run to avoid conflict with base-files
+    rm -rf ${D}${localstatedir}/run
+    rm -rf ${D}/run
+}
Signature · 1 line
2.43.0
#4 lore raw

PATCH v3 5/12 meta-ti-test: Import the recipes-devtools recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-devtools.

---
v3: Somehow my rebase deleted a patch for ltp that we wanted to keep.
v2: We promoted ltp-ddt last night and my staged commits still had the fix for install and the previous SRCREV. Update to the lastest version of ltp-ddt from meta-arago before import.

 .../bpftool/bpftool-native-ti.inc             |   1 +
 .../bpftool/bpftool-native_%.bbappend         |   4 +
 .../dma-heap/dma-heap-tests.bb                |  14 ++
 ...nf-fix-for-cross-compilation-for-ARM.patch |  69 ++++++++
 .../input-utils/fix-ftbfs-echo.patch          |  21 +++
 .../input-utils/input-utils_1.0.bb            |  31 ++++
 ...-__clear_cache-declaration-for-clang.patch |  32 ++++
 ...001-Remove-OOM-tests-from-runtest-mm.patch |  32 ++++
 ...01-include-mk-Fix-installing-subdirs.patch |  49 ++++++
 ...tp-fix-build-failure-with-glibc-2.43.patch |  33 ++++
 ...8-Skip-semctl08-when-__USE_TIME64_RE.patch |  45 +++++
 .../ltp-ddt/ltp-ddt_20260130.bb               |  43 +++++
 .../recipes-devtools/ltp-ddt/ltp_20260130.inc | 157 ++++++++++++++++++
 .../recipes-devtools/mtd/mtd-utils-ti.inc     |  45 +++++
 .../recipes-devtools/mtd/mtd-utils_%.bbappend |   4 +
 ...se-proper-definition-of-boolean-type.patch |  40 +++++
 .../recipes-devtools/omapconf/omapconf_git.bb |  24 +++
 .../recipes-devtools/pm-qa/pm-qa-ti.inc       |  13 ++
 ...eturn-non-zero-value-on-test-failure.patch |  28 ++++
 .../0002-cpuidle-Avoid-relative-paths.patch   |  58 +++++++
 .../recipes-devtools/pm-qa/pm-qa_%.bbappend   |   6 +
 .../uvc-gadget/uvc-gadget_git.bb              |  19 +++
 22 files changed, 768 insertions(+)
 create mode 100644 meta-ti-test/recipes-devtools/bpftool/bpftool-native-ti.inc
 create mode 100644 meta-ti-test/recipes-devtools/bpftool/bpftool-native_%.bbappend
 create mode 100644 meta-ti-test/recipes-devtools/dma-heap/dma-heap-tests.bb
 create mode 100644 meta-ti-test/recipes-devtools/input-utils/input-utils/0001-autoconf-fix-for-cross-compilation-for-ARM.patch
 create mode 100644 meta-ti-test/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch
 create mode 100644 meta-ti-test/recipes-devtools/input-utils/input-utils_1.0.bb
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-Add-__clear_cache-declaration-for-clang.patch
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-Remove-OOM-tests-from-runtest-mm.patch
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-ltp-fix-build-failure-with-glibc-2.43.patch
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt_20260130.bb
 create mode 100644 meta-ti-test/recipes-devtools/ltp-ddt/ltp_20260130.inc
 create mode 100644 meta-ti-test/recipes-devtools/mtd/mtd-utils-ti.inc
 create mode 100644 meta-ti-test/recipes-devtools/mtd/mtd-utils_%.bbappend
 create mode 100644 meta-ti-test/recipes-devtools/omapconf/files/0001-Use-proper-definition-of-boolean-type.patch
 create mode 100644 meta-ti-test/recipes-devtools/omapconf/omapconf_git.bb
 create mode 100644 meta-ti-test/recipes-devtools/pm-qa/pm-qa-ti.inc
 create mode 100644 meta-ti-test/recipes-devtools/pm-qa/pm-qa/0001-Return-non-zero-value-on-test-failure.patch
 create mode 100644 meta-ti-test/recipes-devtools/pm-qa/pm-qa/0002-cpuidle-Avoid-relative-paths.patch
 create mode 100644 meta-ti-test/recipes-devtools/pm-qa/pm-qa_%.bbappend
 create mode 100644 meta-ti-test/recipes-devtools/uvc-gadget/uvc-gadget_git.bb
meta-ti-test/recipes-devtools/bpftool/bpftool-native-ti.inc new file +1 -0
new file mode 100644
index 00000000..213a0f4e
@@ -0,0 +1 @@
+DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"
meta-ti-test/recipes-devtools/bpftool/bpftool-native_%.bbappend new file +4 -0
new file mode 100644
index 00000000..3d084dcc
@@ -0,0 +1,4 @@
+BPFTOOL_NATIVE_TI = ""
+BPFTOOL_NATIVE_TI:ti-soc = "bpftool-native-ti.inc"
+
+require ${BPFTOOL_NATIVE_TI}
meta-ti-test/recipes-devtools/dma-heap/dma-heap-tests.bb new file +14 -0
new file mode 100644
index 00000000..3c0eaa5a
@@ -0,0 +1,14 @@
+SUMMARY = "Test cases for DMA-Heap framework"
+HOMEPAGE = "https://github.com/glneo/dma-heap-tests"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4c3b4cb87cfc8ccba69d579fbd7b0fb3"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/dma-heap-tests.git;protocol=https;branch=${BRANCH}"
+SRCREV = "230b406e97c12be5f930125a432d0dfa0316aa39"
+
+DEPENDS = "googletest"
+
+inherit cmake pkgconfig
meta-ti-test/recipes-devtools/input-utils/input-utils/0001-autoconf-fix-for-cross-compilation-for-ARM.patch new file +69 -0

69 lines not on this page · raw message

meta-ti-test/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch new file +21 -0
new file mode 100644
index 00000000..e6631003
@@ -0,0 +1,21 @@
+Description: Fix FTBFS due to -e leaking into Make.config
+ If /bin/sh is configured to point to dash, echo does not support -e switch
+ which is used by mk/Autoconf.mk file to generate Make.config. Use 'env echo'
+ instead.
+Author: Dmitry Eremin-Solenikov <[email protected]>
+Bug-Debian: http://bugs.debian.org/750265
+Forwarded: no
+Last-Update: 2014-07-09
+Upstream-Status: Inactive-Upstream [lastrelease: 2008-2012]
+
+--- input-utils-1.0.orig/mk/Autoconf.mk
++++ input-utils-1.0/mk/Autoconf.mk
+@@ -162,7 +162,7 @@ config: Make.config
+	@true
+
+ Make.config: $(srcdir)/GNUmakefile
+-	@echo -e "$(make-config-q)" > $@
++	@env echo -e "$(make-config-q)" > $@
+	@echo
+	@echo "Make.config written, edit if needed"
+	@echo
meta-ti-test/recipes-devtools/input-utils/input-utils_1.0.bb new file +31 -0
new file mode 100644
index 00000000..11062713
@@ -0,0 +1,31 @@
+SUMMARY = "Utilities for the Linux input drivers"
+HOMEPAGE = "http://packages.tanglu.org/source/aequorea/input-utils"
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
+
+PV = "1.0"
+PR = "r0"
+
+SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/input-utils/input-utils_1.0.orig.tar.gz \
+	file://fix-ftbfs-echo.patch"
+SRC_URI:append:arm = " file://0001-autoconf-fix-for-cross-compilation-for-ARM.patch"
+
+SRC_URI[md5sum] = "3e58772e8647093b1de2f2c90bfb9ee8"
+SRC_URI[sha256sum] = "ab6f550f01bb5fcede492ab88711d82bacee4229cf2f5dc55a349b3bff4e3b13"
+
+S = "${UNPACKDIR}/input-1.0"
+
+do_compile () {
+    oe_runmake
+}
+
+# set the DESTDIR and the STRIP variables used by the GNUmakefile.
+# The STRIP variable is set to blank or else the variable setting from OE
+# is picked up as <TC>-strip and the install step sees that as another
+# file to install.
+EXTRA_OEMAKE = "DESTDIR=${D} STRIP=''"
+
+do_install () {
+    oe_runmake install
+}
meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-Add-__clear_cache-declaration-for-clang.patch new file +32 -0
new file mode 100644
index 00000000..24e8762f
@@ -0,0 +1,32 @@
+From a2ce04cb82d545f3dbab71de7fa55eaad3df3063 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Mon, 10 Jun 2024 22:52:56 -0700
+Subject: [PATCH] Add __clear_cache declaration for clang
+
+__clear_cache was enabled on RISCV recently with 7352ba02390116f1cd6a9b583860ba28aa0a1b7a
+however it fails to compile with clang19 on RISCV
+With this error
+
+  hugemmap15.c:51:2: error: call to undeclared function '__clear_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+      51 |         __clear_cache(p, p + COPY_SIZE);
+         |         ^
+
+Upstream-Status: Submitted [https://lists.linux.it/pipermail/ltp/2024-June/038762.html]
+Signed-off-by: Khem Raj <[email protected]>
+Cc: Hui Min Mina Chou <[email protected]>
+---
+ testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
+index 1dde9e87b..6a6f5fe5e 100644
+--- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
++++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
+@@ -19,6 +19,7 @@
+ 
+ #if defined(__clang__)
+ 	#pragma clang optimize off
++	void __clear_cache(void *start, void *end);
+ #endif
+ 
+ #define _GNU_SOURCE
meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-Remove-OOM-tests-from-runtest-mm.patch new file +32 -0
new file mode 100644
index 00000000..860b2f12
@@ -0,0 +1,32 @@
+From bb9146dd322af98a7bb96ad0d84ec376589c6cde Mon Sep 17 00:00:00 2001
+From: "Mingde (Matthew) Zeng" <[email protected]>
+Date: Wed, 29 Jul 2020 08:47:09 -0400
+Subject: [PATCH] Remove OOM tests from runtest/mm
+
+Disable OOM tests, as they might cause oeqa ssh connection lost
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Mingde (Matthew) Zeng <[email protected]>
+[ pvorel: rebased for 20210927 ]
+Signed-off-by: Petr Vorel <[email protected]>
+---
+ runtest/mm | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/runtest/mm b/runtest/mm
+index 41d624ad8..1e8c22638 100644
+--- a/runtest/mm
++++ b/runtest/mm
+@@ -69,12 +69,6 @@ ksm07 ksm07
+ cpuset01 cpuset01
+ cpuset02 cpuset02
+ 
+-oom01 oom01
+-oom02 oom02
+-oom03 oom03
+-oom04 oom04
+-oom05 oom05
+-
+ swapping01 swapping01 -i 5
+ 
+ thp01 thp01 -I 120
meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch new file +49 -0

49 lines not on this page · raw message

meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-ltp-fix-build-failure-with-glibc-2.43.patch new file +33 -0
new file mode 100644
index 00000000..7c78660e
@@ -0,0 +1,33 @@
+ltp: fix build failure with glibc 2.43
+
+glibc 2.43 added native openat2() support for the first time. This
+caused compatibility issues with LTP's internal openat2 definitions
+in lapi/openat2.h. LTP's configure detects glibc's openat2() and
+sets HAVE_OPENAT2=1, causing lapi/openat2.h to skip its own
+definitions of struct open_how, RESOLVE_* constants and the openat2()
+wrapper, resulting in a build failure.
+
+Undef HAVE_OPENAT2 in lapi/openat2.h to force LTP to always use its
+own internal definitions.this is a workaround until the fix is found.
+
+Upstream-Status: Pending
+
+Signed-off-by: Hemanth Kumar M D <[email protected]>
+
+diff --git a/include/lapi/openat2.h b/include/lapi/openat2.h
+index 03327bdb7..bd44573c9 100644
+--- a/include/lapi/openat2.h
++++ b/include/lapi/openat2.h
+@@ -14,6 +14,11 @@
+
+ #include "config.h"
+
++/* glibc 2.43 provides openat2 but LTP uses its own syscall wrapper */
++#ifdef HAVE_OPENAT2
++#undef HAVE_OPENAT2
++#endif
++
+ #ifndef HAVE_OPENAT2
+ /*
+  * Arguments for how openat2(2) should open the target path. If only @flags and
+
meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch new file +45 -0

45 lines not on this page · raw message

meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt_20260130.bb new file +43 -0

43 lines not on this page · raw message

meta-ti-test/recipes-devtools/ltp-ddt/ltp_20260130.inc new file +157 -0

157 lines not on this page · raw message

meta-ti-test/recipes-devtools/mtd/mtd-utils-ti.inc new file +45 -0

45 lines not on this page · raw message

meta-ti-test/recipes-devtools/mtd/mtd-utils_%.bbappend new file +4 -0
new file mode 100644
index 00000000..bdf28247
@@ -0,0 +1,4 @@
+MTD_UTILS_TI = ""
+MTD_UTILS_TI:ti-soc = "mtd-utils-ti.inc"
+
+require ${MTD_UTILS_TI}
meta-ti-test/recipes-devtools/omapconf/files/0001-Use-proper-definition-of-boolean-type.patch new file +40 -0
new file mode 100644
index 00000000..782f10ed
@@ -0,0 +1,40 @@
+From c52280d923c167032a84f1c67574eb340e38572c Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <[email protected]>
+Date: Wed, 7 May 2025 17:03:20 -0400
+Subject: [PATCH] Use proper definition of boolean type
+
+Newer versions of GCC and C standard have bool as a built-in
+keyword - use a standard stdbool.h header to properly handle it.
+
+Upstream-Status: Inactive-Upstream
+
+Signed-off-by: Denys Dmytriyenko <[email protected]>
+---
+ arch/arm/mach-omap/common/statcoll/sci.h | 8 +-------
+ 1 file changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/arch/arm/mach-omap/common/statcoll/sci.h b/arch/arm/mach-omap/common/statcoll/sci.h
+index 4134c00..1a393b4 100644
+--- a/arch/arm/mach-omap/common/statcoll/sci.h
++++ b/arch/arm/mach-omap/common/statcoll/sci.h
+@@ -48,17 +48,11 @@
+ #ifndef SCI_H
+ #define SCI_H
+
++#include <stdbool.h>
+ #include <stdlib.h>
+ #include <stdint.h>		// The library uses C99 exact-width integer types
+ #include "sci_dev.h"
+
+-#if !defined(__bool_true_false_are_defined) && !defined(_STM_Logging)
+-typedef enum {
+-	false = 0,
+-	true = 1
+-} bool;
+-#endif
+-
+ #ifdef _STM_Logging
+ #include "StmLibrary.h"
+ #endif
+--
+2.25.1
meta-ti-test/recipes-devtools/omapconf/omapconf_git.bb new file +24 -0
new file mode 100644
index 00000000..84226dd8
@@ -0,0 +1,24 @@
+SUMMARY = "Diagnostic tool for TI OMAP processors"
+HOMEPAGE = "https://github.com/omapconf/omapconf"
+
+LICENSE = "GPL-2.0-only | BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=205c83c4e2242a765acb923fc766e914"
+
+PV = "1.75+git"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
+
+BRANCH ?= "master"
+SRCREV = "ff07b6992bacb1e1586c72b7d2be469caee4a347"
+
+SRC_URI = "git://github.com/omapconf/omapconf.git;protocol=https;branch=${BRANCH}"
+
+SRC_URI += "file://0001-Use-proper-definition-of-boolean-type.patch"
+
+do_compile () {
+    oe_runmake CC="${CC}" all
+}
+
+do_install () {
+    oe_runmake DESTDIR=${D}${bindir} install
+}
meta-ti-test/recipes-devtools/pm-qa/pm-qa-ti.inc new file +13 -0
new file mode 100644
index 00000000..454794f2
@@ -0,0 +1,13 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/pm-qa:"
+
+# Bump to 0.5.0+
+SRCREV = "e66966ef6a08cd3b491ee1df5c6c5d33baaf1f1c"
+
+SRC_URI += " \
+	file://0001-Return-non-zero-value-on-test-failure.patch \
+	file://0002-cpuidle-Avoid-relative-paths.patch \
+"
+
+PATCHTOOL = "git"
+
+PR:append = ".ti0"
meta-ti-test/recipes-devtools/pm-qa/pm-qa/0001-Return-non-zero-value-on-test-failure.patch new file +28 -0
new file mode 100644
index 00000000..35dbe7f5
@@ -0,0 +1,28 @@
+From: Carlos Hernandez <[email protected]>
+Subject: [meta-arago][linaro pm-qa PATCH 1/2] Return non-zero value on test failure
+Date: Thu, 13 Aug 2015 15:03:00 -0400
+
+By convention Linux tools return non-zero value on error/failure.
+
+Upstream-Status: Inactive-Upstream
+
+Signed-off-by: Carlos Hernandez <[email protected]>
+---
+ include/functions.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/functions.sh b/include/functions.sh
+index 518f555bbe3d..0b054776b763 100644
+--- a/include/functions.sh
++++ b/include/functions.sh
+@@ -54,6 +54,7 @@ test_status_show() {
+     echo " "
+     if [ "$test_script_status" = "fail" ]; then
+         echo "$TEST_NAME: fail"
++        exit 1
+     elif [ "$test_script_status" = "skip" ]; then
+         echo "$TEST_NAME: skip"
+     else
+-- 
+2.4.4
+
meta-ti-test/recipes-devtools/pm-qa/pm-qa/0002-cpuidle-Avoid-relative-paths.patch new file +58 -0

58 lines not on this page · raw message

meta-ti-test/recipes-devtools/pm-qa/pm-qa_%.bbappend new file +6 -0
new file mode 100644
index 00000000..e7b8f7e2
@@ -0,0 +1,6 @@
+
+PM_QA_TI = ""
+PM_QA_TI:ti-soc = "pm-qa-ti.inc"
+
+require ${PM_QA_TI}
+
meta-ti-test/recipes-devtools/uvc-gadget/uvc-gadget_git.bb new file +19 -0
new file mode 100644
index 00000000..572576a7
@@ -0,0 +1,19 @@
+SUMMARY = "UVC gadget userspace sample application"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://uvc-gadget.c;beginline=1;endline=18;md5=414860c3c534dc95d81da9564cfb8d2a"
+
+SRC_URI = "git://git.ideasonboard.org/uvc-gadget.git;branch=master"
+
+PV = "1.1+git"
+SRCREV = "aa82df887ab995473cd83c89777cdf4bc4685dd0"
+
+EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" KERNEL_INCLUDE=""'
+
+do_compile () {
+	oe_runmake
+}
+
+do_install () {
+	install -d ${D}${bindir}
+	install -m755 uvc-gadget ${D}${bindir}
+}
Signature · 1 line
2.43.0
#5 lore raw

PATCH v3 6/12 meta-ti-test: Import the recipes-extended recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-extende.

---
v3: No changes.
v2: No changes.

 meta-ti-test/recipes-extended/bc/bc_%.bbappend | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta-ti-test/recipes-extended/bc/bc_%.bbappend
meta-ti-test/recipes-extended/bc/bc_%.bbappend new file +3 -0
new file mode 100644
index 00000000..29d90a9d
@@ -0,0 +1,3 @@
+
+RM_WORK_EXCLUDE += "${PN}"
+
Signature · 1 line
2.43.0
#6 lore raw

PATCH v3 7/12 meta-ti-test: Import the recipes-graphics recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-graphics.

---
v3: No changes.
v2: No changes.

 .../recipes-graphics/libsdl2/libsdl2-ti.inc   |   5 +
 .../libsdl2/libsdl2_%.bbappend                |   4 +
 .../offscreen-demo/offscreendemo_0.0.1.bb     |  16 +++
 .../recipes-graphics/piglit/piglit-ti.inc     |  32 +++++
 ...-add-and-use-TestPlaceholder-objects.patch | 128 ++++++++++++++++++
 .../recipes-graphics/piglit/piglit_%.bbappend |   4 +
 6 files changed, 189 insertions(+)
 create mode 100644 meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc
 create mode 100644 meta-ti-test/recipes-graphics/libsdl2/libsdl2_%.bbappend
 create mode 100644 meta-ti-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
 create mode 100644 meta-ti-test/recipes-graphics/piglit/piglit-ti.inc
 create mode 100644 meta-ti-test/recipes-graphics/piglit/piglit/0001-framework-add-and-use-TestPlaceholder-objects.patch
 create mode 100644 meta-ti-test/recipes-graphics/piglit/piglit_%.bbappend
meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc new file +5 -0
new file mode 100644
index 00000000..33ff0632
@@ -0,0 +1,5 @@
+EXTRA_OECMAKE += "-DSDL_TESTS=ON \
+                  -DSDL_INSTALL_TESTS=ON \
+                 "
+PACKAGE_BEFORE_PN = "${PN}-tests"
+FILES:${PN}-tests += "${libexecdir} ${datadir}/installed-tests/SDL2"
meta-ti-test/recipes-graphics/libsdl2/libsdl2_%.bbappend new file +4 -0
new file mode 100644
index 00000000..385aa801
@@ -0,0 +1,4 @@
+LIBSDL2_TI = ""
+LIBSDL2_TI:ti-soc = "libsdl2-ti.inc"
+
+require ${LIBSDL2_TI}
meta-ti-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb new file +16 -0
new file mode 100644
index 00000000..6dc0e526
@@ -0,0 +1,16 @@
+SUMMARY = "Lightweight Render Example"
+DESCRIPTION = "Lightweight Render Example. Heavily inspired by Eduardo Lima's gpu-playground, this attempts to act as the smallest demo of offscreen rendering."
+
+HOMEPAGE = "https://github.com/TexasInstruments/graphics-tests.git"
+
+SRC_URI = "git://github.com/TexasInstruments/graphics-tests.git;protocol=https;branch=master"
+SRCREV = "eac40e0073cb5f81688aee890e0a67f99678a290"
+
+LICENSE = "CC0-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
+
+DEPENDS += "virtual/egl virtual/libgles2"
+
+inherit pkgconfig meson features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
meta-ti-test/recipes-graphics/piglit/piglit-ti.inc new file +32 -0
new file mode 100644
index 00000000..707ef6a4
@@ -0,0 +1,32 @@
+# add a config to point piglit at the default install location for deqp tests
+# if they are selected
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/piglit:"
+
+SRC_URI += "file://0001-framework-add-and-use-TestPlaceholder-objects.patch"
+
+PACKAGECONFIG[deqp-gles] = ",,,opengl-es-cts"
+PACKAGECONFIG[deqp-vk] = ",,,vulkan-cts"
+
+do_install:append() {
+    if ${@bb.utils.contains('PACKAGECONFIG', 'deqp-gles', 'true', 'false', d)}; then
+        printf "%s\n" \
+            "[deqp-egl]" \
+            "bin=/usr/lib/opengl-es-cts/deqp-egl" \
+            "[deqp-gles2]" \
+            "bin=/usr/lib/opengl-es-cts/deqp-gles2" \
+            "[deqp-gles3]" \
+            "bin=/usr/lib/opengl-es-cts/deqp-gles3" \
+            "[deqp-gles31]" \
+            "bin=/usr/lib/opengl-es-cts/deqp-gles31" \
+            >> ${D}/${libdir}/piglit/piglit.conf
+    fi
+    if ${@bb.utils.contains('PACKAGECONFIG', 'deqp-vk', 'true', 'false', d)}; then
+        printf "%s\n" \
+            "[deqp-vk]" \
+            "bin=/usr/lib/vulkan-cts/deqp-vk" \
+            "[deqp-vksc]" \
+            "bin=/usr/lib/vulkan-cts/deqp-vksc" \
+            >> ${D}/${libdir}/piglit/piglit.conf
+    fi
+}
meta-ti-test/recipes-graphics/piglit/piglit/0001-framework-add-and-use-TestPlaceholder-objects.patch new file +128 -0

128 lines not on this page · raw message

meta-ti-test/recipes-graphics/piglit/piglit_%.bbappend new file +4 -0
new file mode 100644
index 00000000..d93e5d48
@@ -0,0 +1,4 @@
+PIGLIT_TI = ""
+PIGLIT_TI:ti-soc = "piglit-ti.inc"
+
+require ${PIGLIT_TI}
Signature · 1 line
2.43.0
#7 lore raw

PATCH v3 8/12 meta-ti-test: Import the recipes-kernel recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-kernel.

---
v3: No changes.
v2: No changes.

 ...Fix-Makefile-for-to-build-with-yocto.patch | 46 ++++++++++++++++
 .../hwspinlocktest/hwspinlocktest_0.1.bb      | 18 +++++++
 .../kernel-selftest/kernel-selftest-ti.inc    | 53 +++++++++++++++++++
 .../kernel-selftest/kernel-selftest.bbappend  |  4 ++
 .../recipes-kernel/pcitest/pcitest_5.10.bb    | 18 +++++++
 5 files changed, 139 insertions(+)
 create mode 100644 meta-ti-test/recipes-kernel/hwspinlocktest/files/0001-Fix-Makefile-for-to-build-with-yocto.patch
 create mode 100644 meta-ti-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb
 create mode 100644 meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
 create mode 100644 meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend
 create mode 100644 meta-ti-test/recipes-kernel/pcitest/pcitest_5.10.bb
meta-ti-test/recipes-kernel/hwspinlocktest/files/0001-Fix-Makefile-for-to-build-with-yocto.patch new file +46 -0
new file mode 100644
index 00000000..3386337f
@@ -0,0 +1,46 @@
+From 0a085bff54c3f02c20412c5f5a4060c2acb20d4c Mon Sep 17 00:00:00 2001
+From: Judith Mendez <[email protected]>
+Date: Mon, 18 Nov 2024 10:26:55 -0600
+Subject: [PATCH 1/2] Fix Makefile for to build with yocto
+
+Fix Makefile that builds hwspinlocktest out-of-tree-module
+for yocto recipie to be able to build the module.
+
+Upstream-Status: Inactive-Upstream [private repo]
+Signed-off-by: Judith Mendez <[email protected]>
+---
+ Makefile | 18 ++++++++++--------
+ 1 file changed, 10 insertions(+), 8 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 23ee629..d8fe76d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,15 +3,17 @@
+ # TI OMAP HwSpinlock Unit Test
+ #
+
+-obj-m = omap_hwspinlock_test.o
++obj-m := omap_hwspinlock_test.o
++
++SRC := $(shell pwd)
+
+ all:
+-ifeq ($(KERNELDIR),)
+-	@echo "Error: KERNELDIR not set, exiting..."
+-	@echo "Eg: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNELDIR=<linux-kernel rootdir>"
+-	@exit 1
+-endif
+-	make ${MAKE_OPTS} -C $(KERNELDIR) M=$(PWD) modules
++	$(MAKE) -C $(KERNEL_SRC) M=$(SRC)
++
++modules_install:
++	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
+
+ clean:
+-	$(RM) -r *.o *.ko *.mod* *.dwo .*.dwo .*.cmd *.symvers modules.order
++	rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
++	rm -f Module.markers Module.symvers modules.order
++	rm -rf .tmp_versions Modules.symvers
+--
+2.47.0
meta-ti-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb new file +18 -0
new file mode 100644
index 00000000..cc566b37
@@ -0,0 +1,18 @@
+SUMMARY = "Build hwspinlock test as an external Linux kernel module"
+DESCRIPTION = "${SUMMARY}"
+LICENSE = "GPL-2.0-only | BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bfa02c83df161e37647ee23a2c7eacd4"
+
+inherit module
+
+SRC_URI = "\
+    git://github.com/TexasInstruments/omap-hwspinlock-test;protocol=https;branch=master \
+    file://0001-Fix-Makefile-for-to-build-with-yocto.patch \
+"
+
+SRCREV = "1d154fbe5b56ef81045763f574c2098a35d6a8b8"
+
+# The inherit of module.bbclass will automatically name module packages with
+# "kernel-module-" prefix as required by the oe-core build environment.
+
+RPROVIDES:${PN} += "kernel-module-hwspinlocktest"
meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc new file +53 -0

53 lines not on this page · raw message

meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend new file +4 -0
new file mode 100644
index 00000000..163a074d
@@ -0,0 +1,4 @@
+KERNEL_SELFTEST_TI = ""
+KERNEL_SELFTEST_TI:ti-soc = "kernel-selftest-ti.inc"
+
+require ${KERNEL_SELFTEST_TI}
meta-ti-test/recipes-kernel/pcitest/pcitest_5.10.bb new file +18 -0
new file mode 100644
index 00000000..9ab0dbed
@@ -0,0 +1,18 @@
+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.43.0
#8 lore raw

PATCH v3 9/12 meta-ti-test: Import the recipes-support recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-support.

---
v3: No changes.
v2: No changes.

 ...0001-configure-skip-toolchain-checks.patch | 44 ++++++++++++++++
 ...issing-prefix-map-settings-for-OE-bu.patch | 40 +++++++++++++++
 ...0001-xdpsock-Fix-32bit-compile-error.patch | 42 +++++++++++++++
 ...-not-detect-libbpf-header-from-sysro.patch | 44 ++++++++++++++++
 .../0003-Makefile-fix-KeyError-failure.patch  | 31 +++++++++++
 .../0004-Makefile-fix-libxdp.pc-error.patch   | 34 +++++++++++++
 .../xdp-tools/xdp-tools-ti_1.6.1.bb           | 51 +++++++++++++++++++
 7 files changed, 286 insertions(+)
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0001-configure-skip-toolchain-checks.patch
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0001-defines.mk-Add-missing-prefix-map-settings-for-OE-bu.patch
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0001-xdpsock-Fix-32bit-compile-error.patch
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0002-Makefile-It-does-not-detect-libbpf-header-from-sysro.patch
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0003-Makefile-fix-KeyError-failure.patch
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0004-Makefile-fix-libxdp.pc-error.patch
 create mode 100644 meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti_1.6.1.bb
meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0001-configure-skip-toolchain-checks.patch new file +44 -0
new file mode 100644
index 00000000..b5f2780e
@@ -0,0 +1,44 @@
+From 9c9dce2e5f04de65b7b00321f96fff6071546ea1 Mon Sep 17 00:00:00 2001
+From: Naveen Saini <[email protected]>
+Date: Mon, 17 Oct 2022 15:44:16 +0800
+Subject: [PATCH] configure: skip toolchain checks
+
+Current logic fetch full command line along with the tool. i.e
+gcc -m64 -march=skylake -mtune=generic ...
+
+Which throws ERROR: Cannot find tool -m64
+
+So need to re-write for loop, so it can work in cross-compilation
+environment too.
+
+Upstream-Status: Inappropriate
+
+Signed-off-by: Naveen Saini <[email protected]>
+
+---
+ configure | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/configure b/configure
+index b4e824f..10618fc 100755
+--- a/configure
++++ b/configure
+@@ -70,12 +70,12 @@ check_toolchain()
+
+     CLANG=$(find_tool clang "$CLANG")
+ 
+-    for TOOL in $PKG_CONFIG $CC $OBJCOPY $CLANG $M4 $READELF; do
+-        if [ ! $(command -v ${TOOL} 2>/dev/null) ]; then
+-            echo "*** ERROR: Cannot find tool ${TOOL}" ;
+-            exit 1;
+-        fi;
+-    done
++    #for TOOL in $PKG_CONFIG $CC $OBJCOPY $CLANG $M4 $READELF; do
++    #    if [ ! $(command -v ${TOOL} 2>/dev/null) ]; then
++    #        echo "*** ERROR: Cannot find tool ${TOOL}" ;
++    #        exit 1;
++    #    fi;
++    #done
+ 
+     ARCH_NAME=$($CC -print-multiarch 2>/dev/null)
+ 
meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0001-defines.mk-Add-missing-prefix-map-settings-for-OE-bu.patch new file +40 -0
new file mode 100644
index 00000000..faaf6bc2
@@ -0,0 +1,40 @@
+From a7698c7172a8a178efd73bdc0ce31d4aa3646f6e Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <[email protected]>
+Date: Mon, 5 May 2025 14:30:10 -0500
+Subject: [PATCH] defines.mk: Add missing prefix-map settings for OE builds
+
+The defines was only pulling in one of the four *-prefix-map options
+from CFLAGS.
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+Signed-off-by: Ryan Eatmon <[email protected]>
+---
+ lib/defines.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/defines.mk b/lib/defines.mk
+index 411a97e..6061e81 100644
+--- a/lib/defines.mk
++++ b/lib/defines.mk
+@@ -26,7 +26,7 @@ TEST_DIR = $(LIB_DIR)/testing
+ LIBXDP_DIR := $(LIB_DIR)/libxdp
+ LIBBPF_DIR := $(LIB_DIR)/libbpf
+ 
+-DEFINES := -DBPF_DIR_MNT=\"$(BPF_DIR_MNT)\" -DBPF_OBJECT_PATH=\"$(BPF_OBJECT_DIR)\" \
++DEFINES := -DBPF_DIR_MNT=\"$(BPF_DIR_MNT)\" -DBPF_OBJECT_PATH=\"$(OE_BPF_OBJECT_DIR)\" \
+ 	-DMAX_DISPATCHER_ACTIONS=$(MAX_DISPATCHER_ACTIONS) -DTOOLS_VERSION=\"$(TOOLS_VERSION)\" \
+ 	-DLIBBPF_VERSION=\"$(LIBBPF_VERSION)\" -DRUNDIR=\"$(RUNDIR)\"
+ 
+@@ -43,7 +43,7 @@ endif
+ DEFINES += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+ 
+ CFLAGS += -std=gnu11 -Wextra -Werror $(DEFINES) $(ARCH_INCLUDES)
+-BPF_CFLAGS += $(DEFINES) $(filter -ffile-prefix-map=%,$(CFLAGS)) $(filter -I%,$(CFLAGS)) $(ARCH_INCLUDES)
++BPF_CFLAGS += $(DEFINES) $(filter -fcoverage-prefix-map=%,$(CFLAGS)) $(filter -fdebug-prefix-map=%,$(CFLAGS)) $(filter -ffile-prefix-map=%,$(CFLAGS)) $(filter -fmacro-prefix-map=%,$(CFLAGS)) $(filter -I%,$(CFLAGS)) $(ARCH_INCLUDES)
+ 
+ CONFIGMK := $(LIB_DIR)/../config.mk
+ LIBMK := Makefile $(CONFIGMK) $(LIB_DIR)/defines.mk $(LIB_DIR)/common.mk $(LIB_DIR)/../version.mk
+-- 
+2.17.1
+
meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0001-xdpsock-Fix-32bit-compile-error.patch new file +42 -0

42 lines not on this page · raw message

meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0002-Makefile-It-does-not-detect-libbpf-header-from-sysro.patch new file +44 -0

44 lines not on this page · raw message

meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0003-Makefile-fix-KeyError-failure.patch new file +31 -0
new file mode 100644
index 00000000..d0133bcb
@@ -0,0 +1,31 @@
+From 157546fbc4f18751c52b3c8788879c05cf253331 Mon Sep 17 00:00:00 2001
+From: Naveen Saini <[email protected]>
+Date: Mon, 17 Oct 2022 16:02:46 +0800
+Subject: [PATCH 3/4] Makefile: fix KeyError failure
+
+Error:
+Exception: KeyError: 'getpwuid(): uid not found: 11857215'
+
+Upstream-Status: Inappropriate
+
+Signed-off-by: Naveen Saini <[email protected]>
+---
+ lib/libxdp/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile
+index 8f459d8..9a340a3 100644
+--- a/lib/libxdp/Makefile
++++ b/lib/libxdp/Makefile
+@@ -54,7 +54,7 @@ install: all
+ 	$(Q)install -d -m 0755 $(DESTDIR)$(BPF_OBJECT_DIR)
+ 	$(Q)install -m 0644 $(LIB_HEADERS) $(DESTDIR)$(HDRDIR)/
+ 	$(Q)install -m 0644 $(PC_FILE) $(DESTDIR)$(LIBDIR)/pkgconfig/
+-	$(Q)cp -fpR $(SHARED_LIBS) $(STATIC_LIBS) $(DESTDIR)$(LIBDIR)
++	$(Q)cp -fpR --no-preserve=ownership $(SHARED_LIBS) $(STATIC_LIBS) $(DESTDIR)$(LIBDIR)
+ 	$(Q)install -m 0644 $(XDP_OBJS) $(DESTDIR)$(BPF_OBJECT_DIR)
+ 	$(if $(MAN_FILES),$(Q)install -m 0755 -d $(DESTDIR)$(MANDIR)/man3)
+ 	$(if $(MAN_FILES),$(Q)install -m 0644 $(MAN_FILES) $(DESTDIR)$(MANDIR)/man3)
+-- 
+2.25.1
+
meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti/0004-Makefile-fix-libxdp.pc-error.patch new file +34 -0
new file mode 100644
index 00000000..b1e15e52
@@ -0,0 +1,34 @@
+From 46b3ff797135574aa0ee42f633a281d44f48da95 Mon Sep 17 00:00:00 2001
+From: Naveen Saini <[email protected]>
+Date: Mon, 17 Oct 2022 16:05:15 +0800
+Subject: [PATCH 4/4] Makefile: fix libxdp.pc error
+
+Error:
+do_populate_sysroot: QA Issue: libxdp.pc failed sanity test (tmpdir) in
+path ... xdp-tools/1.2.8-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]
+
+Upstream-Status: Inappropriate
+
+Signed-off-by: Naveen Saini <[email protected]>
+---
+ lib/libxdp/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile
+index 9a340a3..bc39177 100644
+--- a/lib/libxdp/Makefile
++++ b/lib/libxdp/Makefile
+@@ -76,8 +76,8 @@ $(OBJDIR)/libxdp.so.$(LIBXDP_VERSION): $(SHARED_OBJS)
+ 		      $^ $(LDFLAGS) $(LDLIBS) -o $@
+ 
+ $(OBJDIR)/libxdp.pc:
+-	$(Q)sed -e "s|@PREFIX@|$(PREFIX)|" \
+-			-e "s|@LIBDIR@|$(LIBDIR)|" \
++	$(Q)sed -e "s|@PREFIX@|$(prefix)|" \
++			-e "s|@LIBDIR@|$(libdir)|" \
+ 			-e "s|@VERSION@|$(TOOLS_VERSION)|" \
+ 			< libxdp.pc.template > $@
+ 
+-- 
+2.25.1
+
meta-ti-test/recipes-support/xdp-tools/xdp-tools-ti_1.6.1.bb new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.43.0
#9 lore raw

PATCH v3 10/12 meta-ti-test: Import the dynamic-layers recipes

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under dynamic-layers.

---
v3: No changes.
v2: No changes.

 meta-ti-test/conf/layer.conf                  |  2 +
 .../flutter-samples-material-3-demo-ti.inc    |  1 +
 ...flutter-samples-material-3-demo_%.bbappend |  4 +
 .../flutter/flutter-wayland-client-ti.inc     |  3 +
 .../flutter/flutter-wayland-client_%.bbappend |  4 +
 ...-message_codec.h-Include-cstdint-lib.patch | 93 +++++++++++++++++++
 .../packagegroups/ti-test.bbappend            |  7 ++
 7 files changed, 114 insertions(+)
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo-ti.inc
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-ti.inc
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
 create mode 100644 meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend
meta-ti-test/conf/layer.conf +2 -0
index 1997f0b4..216ab344 100644
@@ -24,6 +24,8 @@ LAYERDEPENDS_meta-ti-test = " \
 "
 
 BBFILES_DYNAMIC += " \
+    qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \
+    flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*.bbappend \
 "
 
 # Codecs in ffmpeg with questionable patent status are not included by
meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo-ti.inc new file +1 -0
new file mode 100644
index 00000000..b2c9e13d
@@ -0,0 +1 @@
+FLUTTER_BUILD_ARGS:append = " --no-pub"
meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend new file +4 -0
new file mode 100644
index 00000000..985615c8
@@ -0,0 +1,4 @@
+FLUTTER_TI = ""
+FLUTTER_TI:ti-soc = "flutter-samples-material-3-demo-ti.inc"
+
+require ${FLUTTER_TI}
meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-ti.inc new file +3 -0
new file mode 100644
index 00000000..4d211568
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/flutter:"
+
+SRC_URI += "file://0001-message_codec.h-Include-cstdint-lib.patch"
meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend new file +4 -0
new file mode 100644
index 00000000..46fdd2af
@@ -0,0 +1,4 @@
+FLUTTER_TI = ""
+FLUTTER_TI:ti-soc = "flutter-wayland-client-ti.inc"
+
+require ${FLUTTER_TI}
meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch new file +93 -0

93 lines not on this page · raw message

meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend new file +7 -0
new file mode 100644
index 00000000..8d1f95f7
@@ -0,0 +1,7 @@
+# Include the examples for Qt6 related tests
+# Include qtwayland for wayland support if the distro enables it
+
+TI_TEST_EXTRAS:append = " \
+    qtbase-examples \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
+"
Signature · 1 line
2.43.0
#10 lore raw

PATCH v3 11/12 meta-ti-test: Import the ti-test packagegroup

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports the ti-test packagegroup that uses all of the previous commits..

---
v3: No changes.
v2: No changes.

 .../recipes-core/packagegroups/ti-test.bb     | 227 ++++++++++++++++++
 1 file changed, 227 insertions(+)
 create mode 100644 meta-ti-test/recipes-core/packagegroups/ti-test.bb
meta-ti-test/recipes-core/packagegroups/ti-test.bb new file +227 -0
new file mode 100644
index 00000000..8a348c26
@@ -0,0 +1,227 @@
+SUMMARY = "TI Testing packagegroup"
+LICENSE = "MIT"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+PACKAGES += " \
+    ${PN}-audio \
+    ${PN}-extras \
+    ${PN}-graphics \
+    ${PN}-multimedia \
+    ${PN}-networking \
+    ${PN}-storage \
+    ${PN}-ti-tools \
+"
+
+TI_TEST_BASE = "\
+    bc \
+    bonnie++ \
+    cryptodev-tests \
+    devmem2 \
+    dma-heap-tests \
+    evtest \
+    git \
+    i2c-tools \
+    kernel-modules \
+    kernel-selftest \
+    kmsxx \
+    kmsxx-python \
+    libdrm-tests \
+    linuxptp \
+    lmbench \
+    lsof \
+    media-ctl \
+    memtester \
+    nbench-byte \
+    openntpd \
+    ${@"optee-test" if d.getVar('OPTEEMACHINE') else ""} \
+    pcitest \
+    pciutils \
+    perf \
+    powertop \
+    procps \
+    rng-tools \
+    rt-tests \
+    rwmem \
+    smcroute \
+    stream \
+    stress \
+    stress-ng \
+"
+
+TI_TEST_BASE:remove:bsp-ti-6_18 = "pcitest"
+
+TI_TEST_BASE:append:armv7a = " \
+    cpuburn-neon \
+"
+
+TI_TEST_BASE:append:armv7ve = " \
+    cpuburn-neon \
+"
+
+TI_TEST_AUDIO = "\
+    alsa-utils \
+    pulseaudio-misc \
+"
+
+TI_TEST_EXTRAS_OPENCL = " \
+    opencl-cts \
+"
+
+TI_TEST_EXTRAS = " \
+    python3-pillow \
+    pytesseract \
+    python3-numpy \
+    python3-requests \
+    python3-websocket-client \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${TI_TEST_EXTRAS_OPENCL}', '', d)} \
+"
+
+TI_TEST_EXTRAS:append:ti-soc = " \
+    libsdl2-tests \
+"
+
+TI_TEST_GRAPHICS_OPENGL = " \
+    piglit \
+    offscreendemo \
+"
+
+TI_TEST_GRAPHICS = " \
+    wayland-utils \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${TI_TEST_GRAPHICS_OPENGL}', '', d)} \
+"
+
+TI_TEST_MULTIMEDIA = "\
+    gst-devtools \
+    v4l-utils \
+    yavta \
+"
+
+TI_TEST_MULTIMEDIA:append:ti-soc = " \
+    mpv \
+    ffmpeg \
+"
+
+TI_TEST_NETWORKING = "\
+    bridge-utils \
+    ethtool \
+    iperf3 \
+    iproute2-bridge \
+    iproute2-devlink \
+    iproute2-tc \
+    lldpd \
+    mstpd \
+    netperf \
+    strongswan \
+    tcpdump \
+    xdp-tools-ti \
+"
+
+TI_TEST_STORAGE = "\
+    dosfstools \
+    fio \
+    hdparm \
+    iozone3 \
+    mtd-utils \
+    mtd-utils-ubifs \
+"
+
+TI_TEST_STORAGE:append:ti-soc = " \
+    mtd-utils-ubifs-tests \
+"
+
+TI_TEST_TI_TOOLS = " \
+    arm-benchmarks \
+    arm-ddr-bandwidth \
+    coremark \
+    hwspinlocktest \
+    input-utils \
+    ltp-ddt \
+    openssl-perf \
+    uvc-gadget \
+"
+
+TI_TEST_TI_TOOLS:append:ti33x = " \
+    omapconf \
+    pru-icss \
+    switch-config \
+"
+
+TI_TEST_TI_TOOLS:append:ti43x = " \
+    omapconf \
+    pru-icss \
+    switch-config \
+"
+
+TI_TEST_TI_TOOLS:append:am57xx = " \
+    omapconf \
+    pru-icss \
+    switch-config \
+    ti-ipc-test \
+"
+
+TI_TEST_TI_TOOLS:append:k3 = " \
+    k3conf \
+    switch-config \
+    ti-rtos-echo-test-fw \
+    ti-rpmsg-char \
+    ti-rpmsg-char-examples \
+"
+
+TI_TEST_TI_TOOLS:append:am62xx   = " \
+    pru-icss \
+"
+
+TI_TEST_TI_TOOLS:append:am64xx   = " \
+    pru-icss \
+"
+
+TI_TEST_TI_TOOLS:append:am65xx   = " \
+    pru-icss \
+"
+
+# Disable due to breakage
+#    viddec-test-app 
+TI_TEST_TI_TOOLS:append:j721e = " \
+    pru-icss \
+    ufs-utils \
+    videnc-test-app \
+"
+
+TI_TEST_TI_TOOLS:append:j784s4 = " \
+    ufs-utils \
+"
+
+TI_TEST_TI_TOOLS:append:j742s2 = " \
+    ufs-utils \
+"
+
+TI_TEST_TI_TOOLS:append:omapl138 = " \
+    ti-ipc-test \
+"
+
+TI_TEST_TI_TOOLS:remove:bsp-mainline = "ti-ipc-test"
+TI_TEST_TI_TOOLS:remove:bsp-next = "ti-ipc-test"
+
+RDEPENDS:${PN}-audio = "${TI_TEST_AUDIO}"
+RDEPENDS:${PN}-extras = "${TI_TEST_EXTRAS}"
+RDEPENDS:${PN}-graphics = "${TI_TEST_GRAPHICS}"
+RDEPENDS:${PN}-multimedia = "${TI_TEST_MULTIMEDIA}"
+RDEPENDS:${PN}-networking = "${TI_TEST_NETWORKING}"
+RDEPENDS:${PN}-storage = "${TI_TEST_STORAGE}"
+RDEPENDS:${PN}-ti-tools = "${TI_TEST_TI_TOOLS}"
+
+RDEPENDS:${PN} = "\
+    ${TI_TEST_BASE} \
+    ${PN}-networking \
+    ${PN}-storage \
+    ${PN}-ti-tools \
+"
+
+RDEPENDS:${PN}-extras += "\
+    ${PN}-audio \
+    ${PN}-graphics \
+    ${PN}-multimedia \
+"
Signature · 1 line
2.43.0
#11 lore raw

PATCH v3 12/12 check_yocto_rules: Add rules for meta-ti-test

In reply to Ryan Eatmon

We are moving the meta-arago-test layer to meta-ti-test. This commit imports all check_yocto_rules from meta-arago-test.

---
v3: No changes.
v2: No changes.

 check_yocto_rules.json | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
check_yocto_rules.json +6 -1
index 2eda8066..9dbf6c50 100644
@@ -21,7 +21,12 @@
             "meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend",
             "meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend",
             "meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend",
-            "meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/ti-core-initramfs.bbappend"
+            "meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/ti-core-initramfs.bbappend",
+            "meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend",
+            "meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend",
+            "meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend",
+            "meta-ti-test/recipes-benchmark/stream/stream_%.bbappend",
+            "meta-ti-test/recipes-extended/bc/bc_%.bbappend"
         ]
     },
     "GUARD-2" : {
Signature · 1 line
2.43.0
#12 lore raw
In reply to Ryan Eatmon

meta-ti / na / 20260429164432.1623594-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][master][PATCH v3 01/12] meta-ti-test: Create layout for new layer
WARN: Commit message should not include directory path to recipe: meta-ti-test: Create layout for new layer.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 02/12] meta-ti-test: Import the recipes-benchmark recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-benchmark recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 03/12] meta-ti-test: Import the recipes-bsp recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-bsp recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 04/12] meta-ti-test: Import the recipes-connectivity recipes
WARN: Commit message does not include file/recipe name: meta-ti-test: Import the recipes-connectivity recipes. (COMMIT-MESSAGE-2)
patch

WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-connectivity recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 05/12] meta-ti-test: Import the recipes-devtools recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-devtools recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 06/12] meta-ti-test: Import the recipes-extended recipes
WARN: Commit message does not include file/recipe name: meta-ti-test: Import the recipes-extended recipes. (COMMIT-MESSAGE-2)
patch

WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-extended recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 07/12] meta-ti-test: Import the recipes-graphics recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-graphics recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 08/12] meta-ti-test: Import the recipes-kernel recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-kernel recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 09/12] meta-ti-test: Import the recipes-support recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the recipes-support recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 10/12] meta-ti-test: Import the dynamic-layers recipes
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the dynamic-layers recipes.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-ti][master][PATCH v3 11/12] meta-ti-test: Import the ti-test packagegroup
WARN: Commit message should not include directory path to recipe: meta-ti-test: Import the ti-test packagegroup.
meta-ti-test (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH v3 01/12] meta-ti-test: Create layout for new layer
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Wed, 29 Apr 2026 11:44:21 -0500
- Num Patches: 12
- Mailing List (public inbox) Commit SHA: 30fe36b715fd73c603c278140d5df46182fe5c7b

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master
- Commit Author: Yogesh Hegde <[email protected]>
- Commit Subject: am62lxx: Override serial console to ttyS0 only
- Commit SHA: 860890d476666397112e0728c818263975a6af5d

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
ERROR: Patch is not referenced in any recipe. (REPO-1)
meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887