Skip to contentSkip to conversation

ti-test: Add mcrc64 test application

PATCH Superseded Aniket Limaye 2 participants 3 messages Jan 30, 2025 – Feb 3, 2025

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 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

---
 .../recipes-core/packagegroups/ti-test.bb     |   1 +
 .../recipes-kernel/mcrc64/files/mcrc64.c      | 114 ++++++++++++++++++
 .../recipes-kernel/mcrc64/mcrc64.bb           |  19 +++
 3 files changed, 134 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 814e3ea6..1399a267 100644
@@ -55,6 +55,7 @@ TI_TEST_BASE = "\
     tcpdump \
     v4l-utils \
     yavta \
+    mcrc64 \
 "
 
 TI_TEST_EXTRAS = " \
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 +19 -0
new file mode 100644
index 00000000..b0352585
@@ -0,0 +1,19 @@
+DESCRIPTION = "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}/sources"
+UNPACKDIR = "${S}"
+
+do_compile() {
+	${CC} ${CFLAGS} ${LDFLAGS} ${UNPACKDIR}/mcrc64.c -o mcrc64
+}
+
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 mcrc64 ${D}${bindir}
+}
Signature · 1 line
2.48.1
#1 lore raw
Quoted 16 lines · Aniket Limaye via lists.yoctoproject.org

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

---
 .../recipes-core/packagegroups/ti-test.bb     |   1 +
 .../recipes-kernel/mcrc64/files/mcrc64.c      | 114 ++++++++++++++++++
 .../recipes-kernel/mcrc64/mcrc64.bb           |  19 +++
 3 files changed, 134 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-kernel/mcrc64/mcrc64.bb line 1

Quoted 7 lines
meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb new file +1 -0
new file mode 100644
index 00000000..b0352585
@@ -0,0 +1,19 @@
+DESCRIPTION = "Application to test MCRC64 driver"

SUMMARY

Quoted 20 lines
meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb new file +18 -0
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://mcrc64.c;beginline=1;endline=33;md5=070547e79367134fcfdf7fdb5e3ef7e3"
+
+SRC_URI = "file://mcrc64.c"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
+do_compile() {
+	${CC} ${CFLAGS} ${LDFLAGS} ${UNPACKDIR}/mcrc64.c -o mcrc64
+}
+
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 mcrc64 ${D}${bindir}
+}
Signature · 1 line
2.48.1
#2 lore raw
Quoted 20 lines · Denys Dmytriyenko
Quoted 16 lines · Aniket Limaye via lists.yoctoproject.org

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

---
  .../recipes-core/packagegroups/ti-test.bb     |   1 +
  .../recipes-kernel/mcrc64/files/mcrc64.c      | 114 ++++++++++++++++++
  .../recipes-kernel/mcrc64/mcrc64.bb           |  19 +++
  3 files changed, 134 insertions(+)

create mode 100644 meta-arago-test/recipes-kernel/mcrc64/files/mcrc64.c create mode 100644 meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb

...

Quoted 9 lines

meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb line 1

Quoted 7 lines
meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb new file +1 -0
new file mode 100644
index 00000000..b0352585
@@ -0,0 +1,19 @@
+DESCRIPTION = "Application to test MCRC64 driver"

SUMMARY

Ahhh I missed that.
Will send a v2

Regards,
Aniket

Quoted 22 lines
Quoted 22 lines
meta-arago-test/recipes-kernel/mcrc64/mcrc64.bb new file +18 -0
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://mcrc64.c;beginline=1;endline=33;md5=070547e79367134fcfdf7fdb5e3ef7e3"
+
+SRC_URI = "file://mcrc64.c"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
+do_compile() {
+	${CC} ${CFLAGS} ${LDFLAGS} ${UNPACKDIR}/mcrc64.c -o mcrc64
+}
+
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 mcrc64 ${D}${bindir}
+}
Signature · 1 line
2.48.1