* [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code
@ 2014-12-18 15:54 Sam Nelson
2014-12-18 17:31 ` Denys Dmytriyenko
0 siblings, 1 reply; 5+ messages in thread
From: Sam Nelson @ 2014-12-18 15:54 UTC (permalink / raw)
To: meta-ti
- 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
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
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
diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-ti/mpm-transport/mpm-transport_git.bb
new file mode 100644
index 0000000..fe67195
--- /dev/null
+++ b/recipes-ti/mpm-transport/mpm-transport_git.bb
@@ -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
+}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code
2014-12-18 15:54 [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code Sam Nelson
@ 2014-12-18 17:31 ` Denys Dmytriyenko
2014-12-18 17:38 ` Nelson, Sam
0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2014-12-18 17:31 UTC (permalink / raw)
To: Sam Nelson; +Cc: meta-ti
On Thu, Dec 18, 2014 at 10:54:17AM -0500, Sam Nelson wrote:
> - 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
>
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
> 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
>
> diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-ti/mpm-transport/mpm-transport_git.bb
> new file mode 100644
> index 0000000..fe67195
> --- /dev/null
> +++ b/recipes-ti/mpm-transport/mpm-transport_git.bb
> @@ -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}/
Do you want to make a ${PN}-dev package with those headers for the devkit? Or
do you only need those on the target?
> + 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
> +}
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code
2014-12-18 17:31 ` Denys Dmytriyenko
@ 2014-12-18 17:38 ` Nelson, Sam
2014-12-18 17:40 ` Denys Dmytriyenko
0 siblings, 1 reply; 5+ messages in thread
From: Nelson, Sam @ 2014-12-18 17:38 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, December 18, 2014 12:32 PM
> To: Nelson, Sam
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for multiproc
> transport library and test code
>
> On Thu, Dec 18, 2014 at 10:54:17AM -0500, Sam Nelson wrote:
> > - 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
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > ---
> > 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
> >
> > diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-
> ti/mpm-transport/mpm-transport_git.bb
> > new file mode 100644
> > index 0000000..fe67195
> > --- /dev/null
> > +++ b/recipes-ti/mpm-transport/mpm-transport_git.bb
> > @@ -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}/
>
> 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.
>
>
> > + 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
> > +}
> > --
> > 1.7.9.5
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code
2014-12-18 17:38 ` Nelson, Sam
@ 2014-12-18 17:40 ` Denys Dmytriyenko
2014-12-18 17:40 ` Nelson, Sam
0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2014-12-18 17:40 UTC (permalink / raw)
To: Nelson, Sam; +Cc: meta-ti@yoctoproject.org
On Thu, Dec 18, 2014 at 12:38:17PM -0500, Nelson, Sam wrote:
>
>
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Thursday, December 18, 2014 12:32 PM
> > To: Nelson, Sam
> > Cc: meta-ti@yoctoproject.org
> > Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for multiproc
> > transport library and test code
> >
> > On Thu, Dec 18, 2014 at 10:54:17AM -0500, Sam Nelson wrote:
> > > - 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
> > >
> > > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > > ---
> > > 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
> > >
> > > diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-
> > ti/mpm-transport/mpm-transport_git.bb
> > > new file mode 100644
> > > index 0000000..fe67195
> > > --- /dev/null
> > > +++ b/recipes-ti/mpm-transport/mpm-transport_git.bb
> > > @@ -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}/
> >
> > 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.
Ok. Do they automatically get packaged into ${PN}-dev?
> > > + 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
> > > +}
> > > --
> > > 1.7.9.5
> > >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code
2014-12-18 17:40 ` Denys Dmytriyenko
@ 2014-12-18 17:40 ` Nelson, Sam
0 siblings, 0 replies; 5+ messages in thread
From: Nelson, Sam @ 2014-12-18 17:40 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, December 18, 2014 12:40 PM
> To: Nelson, Sam
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for multiproc
> transport library and test code
>
> On Thu, Dec 18, 2014 at 12:38:17PM -0500, Nelson, Sam wrote:
> >
> >
> > > -----Original Message-----
> > > From: Dmytriyenko, Denys
> > > Sent: Thursday, December 18, 2014 12:32 PM
> > > To: Nelson, Sam
> > > Cc: meta-ti@yoctoproject.org
> > > Subject: Re: [meta-ti] [PATCH] mpm-transport: Add new recipe for
> multiproc
> > > transport library and test code
> > >
> > > On Thu, Dec 18, 2014 at 10:54:17AM -0500, Sam Nelson wrote:
> > > > - 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
> > > >
> > > > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > > > ---
> > > > 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
> > > >
> > > > diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-
> > > ti/mpm-transport/mpm-transport_git.bb
> > > > new file mode 100644
> > > > index 0000000..fe67195
> > > > --- /dev/null
> > > > +++ b/recipes-ti/mpm-transport/mpm-transport_git.bb
> > > > @@ -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}/
> > >
> > > 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.
>
> Ok. Do they automatically get packaged into ${PN}-dev?
[Sam] YES.
>
>
> > > > + 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
> > > > +}
> > > > --
> > > > 1.7.9.5
> > > >
> > > > --
> > > > _______________________________________________
> > > > meta-ti mailing list
> > > > meta-ti@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-18 17:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18 15:54 [PATCH] mpm-transport: Add new recipe for multiproc transport library and test code Sam Nelson
2014-12-18 17:31 ` Denys Dmytriyenko
2014-12-18 17:38 ` Nelson, Sam
2014-12-18 17:40 ` Denys Dmytriyenko
2014-12-18 17:40 ` Nelson, Sam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.