Skip to contentSkip to conversation

mpm-transport: Add new recipe for multiproc transport library and test code

PATCH In review Sam Nelson 2 participants 5 messages Dec 18, 2014

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 mpm-transport: Add new recipe for multiproc transport library and test code

- mpm-transport provide basic transport layer for moving data between different processing nodes
- Support communication with the process nodes using shared memory and hyperlink interface

---
 recipes-ti/mpm-transport/mpm-transport_git.bb |   37 +++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 recipes-ti/mpm-transport/mpm-transport_git.bb
recipes-ti/mpm-transport/mpm-transport_git.bb new file +37 -0
new file mode 100644
index 0000000..fe67195
@@ -0,0 +1,37 @@
+DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"
+LICENSE = "BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld"
+
+SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E
+SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40"
+PV = "1.0.4.0"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/mpm_transport_test.out ${bindir}/mpm_transport_hyplnk_loopback.out ${bindir}/mpm_transport_hyplnk_remote.out ${bindir}/mpm_transport_hyplnk_loopback_dma.out ${bindir}/mpm_transport_hyplnk_loopback64.out"
+
+do_compile () {
+	cd ${S}
+	make PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install() {
+	make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
+
+	install -d ${D}${includedir}/
+	install -c -m 755 ${S}/include/* ${D}${includedir}/
+
+	install -d ${D}${libdir}/
+	cp  -a ${S}/lib/* ${D}${libdir}/
+
+	install -d ${D}${sysconfdir}/mpm/
+	install -c -m 755 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
+}
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 35 lines · Sam Nelson

- mpm-transport provide basic transport layer for moving data between different processing nodes
- Support communication with the process nodes using shared memory and hyperlink interface

---
 recipes-ti/mpm-transport/mpm-transport_git.bb |   37 +++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 recipes-ti/mpm-transport/mpm-transport_git.bb
recipes-ti/mpm-transport/mpm-transport_git.bb new file +20 -0
new file mode 100644
index 0000000..fe67195
@@ -0,0 +1,37 @@
+DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"
+LICENSE = "BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld"
+
+SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E
+SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40"
+PV = "1.0.4.0"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/mpm_transport_test.out ${bindir}/mpm_transport_hyplnk_loopback.out ${bindir}/mpm_transport_hyplnk_remote.out ${bindir}/mpm_transport_hyplnk_loopback_dma.out ${bindir}/mpm_transport_hyplnk_loopback64.out"
+

recipes-ti/mpm-transport/mpm-transport_git.bb line 30

Quoted 10 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +10 -0
+do_compile () {
+	cd ${S}
+	make PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install() {
+	make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
+
+	install -d ${D}${includedir}/
+	install -c -m 755 ${S}/include/* ${D}${includedir}/

Do you want to make a ${PN}-dev package with those headers for the devkit? Or do you only need those on the target?

Quoted 14 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +6 -0
+	install -d ${D}${libdir}/
+	cp  -a ${S}/lib/* ${D}${libdir}/
+
+	install -d ${D}${sysconfdir}/mpm/
+	install -c -m 755 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
+}
Signature · 7 lines
1.7.9.5

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
Quoted 66 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 12:32 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code

Quoted 1 line · Sam Nelson

- mpm-transport provide basic transport layer for moving data between

different processing nodes

Quoted 1 line

- Support communication with the process nodes using shared memory

and hyperlink interface

Quoted 4 lines
---
 recipes-ti/mpm-transport/mpm-transport_git.bb |   37

+++++++++++++++++++++++++

recipes-

Quoted 4 lines
 1 file changed, 37 insertions(+)
 create mode 100644 recipes-ti/mpm-transport/mpm-transport_git.bb
recipes- renamed from recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0

ti/mpm-transport/mpm-transport_git.bb

recipes-ti/mpm-transport/mpm-transport_git.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..fe67195

recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -0
@@ -0,0 +1,37 @@
+DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide

basic transport layer for moving data between different processing nodes"

recipes-ti/mpm-transport/mpm-transport_git.bb line 2

Quoted 1 line
recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -0
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-

transport.git"

recipes-ti/mpm-transport/mpm-transport_git.bb line 4

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +2 -0
+LICENSE = "BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 4 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +4 -0
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld"
+
+SRC_URI = "git://git.ti.com/keystone-linux/mpm-

transport.git;protocol=git;branch=${BRANCH}"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 11 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +11 -0
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E
+SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40"
+PV = "1.0.4.0"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/mpm_transport_test.out

${bindir}/mpm_transport_hyplnk_loopback.out
${bindir}/mpm_transport_hyplnk_remote.out
${bindir}/mpm_transport_hyplnk_loopback_dma.out
${bindir}/mpm_transport_hyplnk_loopback64.out"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +8 -0
+
+do_compile () {
+	cd ${S}
+	make PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install() {
+	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 7 lines

recipes-ti/mpm-transport/mpm-transport_git.bb line 30

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +3 -0
+
+	install -d ${D}${includedir}/
+	install -c -m 755 ${S}/include/* ${D}${includedir}/

Do you want to make a ${PN}-dev package with those headers for the devkit? Or
do you only need those on the target?

[Sam] The header files are only needed part of the ${PN}-dev for devkit. Not needed on target.

Quoted 17 lines

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 7 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +5 -0
+	install -d ${D}${libdir}/
+	cp  -a ${S}/lib/* ${D}${libdir}/
+
+	install -d ${D}${sysconfdir}/mpm/
+	install -c -m 755 ${S}/scripts/mpm_config.json

${D}${sysconfdir}/mpm/mpm_config.json

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -1
+}
--

1.7.9.5

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw
Quoted 74 lines · Sam
Quoted 66 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 12:32 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code

Quoted 1 line · Sam Nelson

- mpm-transport provide basic transport layer for moving data between

different processing nodes

Quoted 1 line

- Support communication with the process nodes using shared memory

and hyperlink interface

Quoted 4 lines
---
 recipes-ti/mpm-transport/mpm-transport_git.bb |   37

+++++++++++++++++++++++++

recipes-

Quoted 4 lines
 1 file changed, 37 insertions(+)
 create mode 100644 recipes-ti/mpm-transport/mpm-transport_git.bb
recipes- renamed from recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0

ti/mpm-transport/mpm-transport_git.bb

recipes-ti/mpm-transport/mpm-transport_git.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..fe67195

recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -0
@@ -0,0 +1,37 @@
+DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide

basic transport layer for moving data between different processing nodes"

recipes-ti/mpm-transport/mpm-transport_git.bb line 2

Quoted 1 line
recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -0
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-

transport.git"

recipes-ti/mpm-transport/mpm-transport_git.bb line 4

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +2 -0
+LICENSE = "BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 4 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +4 -0
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld"
+
+SRC_URI = "git://git.ti.com/keystone-linux/mpm-

transport.git;protocol=git;branch=${BRANCH}"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 11 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +11 -0
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E
+SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40"
+PV = "1.0.4.0"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/mpm_transport_test.out

${bindir}/mpm_transport_hyplnk_loopback.out
${bindir}/mpm_transport_hyplnk_remote.out
${bindir}/mpm_transport_hyplnk_loopback_dma.out
${bindir}/mpm_transport_hyplnk_loopback64.out"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +8 -0
+
+do_compile () {
+	cd ${S}
+	make PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install() {
+	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 7 lines

recipes-ti/mpm-transport/mpm-transport_git.bb line 30

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +3 -0
+
+	install -d ${D}${includedir}/
+	install -c -m 755 ${S}/include/* ${D}${includedir}/

Do you want to make a ${PN}-dev package with those headers for the devkit? Or
do you only need those on the target?

Quoted 2 lines

[Sam] The header files are only needed part of the ${PN}-dev for devkit. Not needed on target.

Ok. Do they automatically get packaged into ${PN}-dev?

Quoted 15 lines
Quoted 15 lines

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +5 -0
+	install -d ${D}${libdir}/
+	cp  -a ${S}/lib/* ${D}${libdir}/
+
+	install -d ${D}${sysconfdir}/mpm/
+	install -c -m 755 ${S}/scripts/mpm_config.json

${D}${sysconfdir}/mpm/mpm_config.json

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -1
+}
--

1.7.9.5

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
Quoted 88 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 12:40 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code

Quoted 8 lines · Sam
Quoted 8 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 12:32 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for

multiproc

Quoted 15 lines
Quoted 15 lines

transport library and test code

Quoted 1 line · Sam Nelson

- mpm-transport provide basic transport layer for moving data between

different processing nodes

Quoted 1 line

- Support communication with the process nodes using shared memory

and hyperlink interface

Quoted 4 lines
---
 recipes-ti/mpm-transport/mpm-transport_git.bb |   37

+++++++++++++++++++++++++

Quoted 3 lines
 1 file changed, 37 insertions(+)
 create mode 100644 recipes-ti/mpm-transport/mpm-transport_git.bb
Quoted 8 lines
Quoted 8 lines

recipes-

Quoted 1 line
recipes- renamed from recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0

ti/mpm-transport/mpm-transport_git.bb

recipes-ti/mpm-transport/mpm-transport_git.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..fe67195

recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -0
@@ -0,0 +1,37 @@
+DESCRIPTION = "Multiproc transport layer for KeyStone devices:

Provide

Quoted 1 line
Quoted 1 line

basic transport layer for moving data between different processing

nodes"

Quoted 41 lines
Quoted 41 lines

recipes-ti/mpm-transport/mpm-transport_git.bb line 2

Quoted 1 line
recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -0
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-

transport.git"

recipes-ti/mpm-transport/mpm-transport_git.bb line 4

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +2 -0
+LICENSE = "BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 4 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +4 -0
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld"
+
+SRC_URI = "git://git.ti.com/keystone-linux/mpm-

transport.git;protocol=git;branch=${BRANCH}"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 11 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +11 -0
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E
+SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40"
+PV = "1.0.4.0"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/mpm_transport_test.out

${bindir}/mpm_transport_hyplnk_loopback.out
${bindir}/mpm_transport_hyplnk_remote.out
${bindir}/mpm_transport_hyplnk_loopback_dma.out
${bindir}/mpm_transport_hyplnk_loopback64.out"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +8 -0
+
+do_compile () {
+	cd ${S}
+	make PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install() {
+	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

recipes-ti/mpm-transport/mpm-transport_git.bb line 30

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +3 -0
+
+	install -d ${D}${includedir}/
+	install -c -m 755 ${S}/include/* ${D}${includedir}/

Do you want to make a ${PN}-dev package with those headers for the devkit? Or
do you only need those on the target?

Quoted 5 lines
Quoted 1 line

[Sam] The header files are only needed part of the ${PN}-dev for devkit.

Not

Quoted 1 line

needed on target.

Ok. Do they automatically get packaged into ${PN}-dev?

[Sam] YES.

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 7 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +5 -0
+	install -d ${D}${libdir}/
+	cp  -a ${S}/lib/* ${D}${libdir}/
+
+	install -d ${D}${sysconfdir}/mpm/
+	install -c -m 755 ${S}/scripts/mpm_config.json

${D}${sysconfdir}/mpm/mpm_config.json

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb new file +1 -1
+}
--

1.7.9.5

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti