Skip to contentSkip to conversation

ti-test: Add mcrc64 test application

PATCH New Aniket Limaye 1 participant 1 message Feb 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ti-test: Add mcrc64 test application

From: Udit Kumar <[email protected]>

Add mcrc64 test application recipe.
This application is documented at[0].

[0]: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j722s/10_01_00_04/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/MCRC64.html

---
v3:
* Ryan:
- Maintain alphabetical ordering of ti-test packages

v2:
* Denys:
- Add required SUMMARY variable as per https://docs.yoctoproject.org/next/contributor-guide/recipe-style-guide.html#required-variables

---
 .../recipes-core/packagegroups/ti-test.bb     |   1 +
 .../recipes-kernel/mcrc64/files/mcrc64.c      | 114 ++++++++++++++++++
 .../recipes-kernel/mcrc64/mcrc64.bb           |  17 +++
 3 files changed, 132 insertions(+)
 create mode 100644 meta-arago-test/recipes-kernel/mcrc64/files/mcrc64.c
 create mode 100644 meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index 8099198d..d6d68d51 100644
@@ -33,6 +33,7 @@ TI_TEST_BASE = "\
     linuxptp \
     lmbench \
     lsof \
+    mcrc64 \
     media-ctl \
     memtester \
     mstpd \
meta-arago-test/recipes-kernel/mcrc64/files/mcrc64.c new file +114 -0

114 lines not on this page · raw message

meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb new file +17 -0
new file mode 100644
index 00000000..c0e60d80
@@ -0,0 +1,17 @@
+SUMMARY = "Application to test MCRC64 driver"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://mcrc64.c;beginline=1;endline=33;md5=070547e79367134fcfdf7fdb5e3ef7e3"
+
+SRC_URI = "file://mcrc64.c"
+
+S = "${WORKDIR}"
+
+do_compile() {
+	${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/mcrc64.c -o mcrc64
+}
+
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 mcrc64 ${D}${bindir}
+}
Signature · 1 line
2.48.1