* [PATCH 0/3] dsptop 1.2.0
@ 2015-05-18 17:24 Jacob Stiffler
2015-05-18 17:24 ` [PATCH 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Jacob Stiffler @ 2015-05-18 17:24 UTC (permalink / raw)
To: meta-ti
The dsptop utility provides a top-like interface for observing the DSP
resource usage in realtime.
The following package are added by this patch set:
* debugss-module-drv
- Kernel module which facilitates communication between user space
and the DSP cores.
* libulm: Usage and Load Monitor (ULM) Implementation
- ARM and DSP libraries required to enable dsptop.
* dsptop
- User space application which provides the top-like interface to
monitor DSP resources in realtime.
Jacob Stiffler (3):
debugss-module-drv: Add version 1.2.0
libulm: Add ULM library for ARM and DSP.
dsptop: Add version 1.2.0
recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 +++++++++++++
recipes-bsp/dsptop/dsptop.inc | 9 ++++++
recipes-bsp/dsptop/dsptop_git.bb | 27 ++++++++++++++++
recipes-bsp/dsptop/libulm_git.bb | 43 ++++++++++++++++++++++++++
4 files changed, 101 insertions(+)
create mode 100644 recipes-bsp/dsptop/debugss-module-drv_git.bb
create mode 100644 recipes-bsp/dsptop/dsptop.inc
create mode 100644 recipes-bsp/dsptop/dsptop_git.bb
create mode 100644 recipes-bsp/dsptop/libulm_git.bb
--
1.7.9.5
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 1/3] debugss-module-drv: Add version 1.2.0 2015-05-18 17:24 [PATCH 0/3] dsptop 1.2.0 Jacob Stiffler @ 2015-05-18 17:24 ` Jacob Stiffler 2015-05-18 17:33 ` Denys Dmytriyenko 2015-05-18 17:24 ` [PATCH 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler 2015-05-18 17:24 ` [PATCH 3/3] dsptop: Add version 1.2.0 Jacob Stiffler 2 siblings, 1 reply; 7+ messages in thread From: Jacob Stiffler @ 2015-05-18 17:24 UTC (permalink / raw) To: meta-ti * The debugss-module-drv is require for the dsptop utility. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> --- recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ recipes-bsp/dsptop/dsptop.inc | 9 +++++++++ 2 files changed, 31 insertions(+) create mode 100644 recipes-bsp/dsptop/debugss-module-drv_git.bb create mode 100644 recipes-bsp/dsptop/dsptop.inc diff --git a/recipes-bsp/dsptop/debugss-module-drv_git.bb b/recipes-bsp/dsptop/debugss-module-drv_git.bb new file mode 100644 index 0000000..561bb91 --- /dev/null +++ b/recipes-bsp/dsptop/debugss-module-drv_git.bb @@ -0,0 +1,22 @@ +DESCRIPTION="Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" + +include dsptop.inc + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +# This package builds a kernel module, use kernel PR as base and append a local +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" +PR = "${MACHINE_KERNEL_PR}" + +PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" + +S = "${WORKDIR}/git/debugss_module/debugss-mod" + +inherit module diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc new file mode 100644 index 0000000..cd403a1 --- /dev/null +++ b/recipes-bsp/dsptop/dsptop.inc @@ -0,0 +1,9 @@ +BRANCH = "master" + +PV = "1.2.0" +INC_PR = "r0" + +# This corresponds to version 1.2.0 +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] debugss-module-drv: Add version 1.2.0 2015-05-18 17:24 ` [PATCH 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler @ 2015-05-18 17:33 ` Denys Dmytriyenko 2015-05-18 19:05 ` Jacob Stiffler 0 siblings, 1 reply; 7+ messages in thread From: Denys Dmytriyenko @ 2015-05-18 17:33 UTC (permalink / raw) To: Jacob Stiffler; +Cc: meta-ti On Mon, May 18, 2015 at 01:24:40PM -0400, Jacob Stiffler wrote: > * The debugss-module-drv is require for the dsptop utility. > > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> > --- > recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ > recipes-bsp/dsptop/dsptop.inc | 9 +++++++++ > 2 files changed, 31 insertions(+) > create mode 100644 recipes-bsp/dsptop/debugss-module-drv_git.bb > create mode 100644 recipes-bsp/dsptop/dsptop.inc > > diff --git a/recipes-bsp/dsptop/debugss-module-drv_git.bb b/recipes-bsp/dsptop/debugss-module-drv_git.bb > new file mode 100644 > index 0000000..561bb91 > --- /dev/null > +++ b/recipes-bsp/dsptop/debugss-module-drv_git.bb > @@ -0,0 +1,22 @@ > +DESCRIPTION="Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" The description says Keystone and dra7xx, but you set compatible machine to dra7xx only. Should this also enable Keystone? > +LICENSE = "GPLv2" > +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" > + > +include dsptop.inc > + > +COMPATIBLE_MACHINE = "dra7xx" > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +# This package builds a kernel module, use kernel PR as base and append a local > +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" > +PR = "${MACHINE_KERNEL_PR}" > + > +PLATFORM = "" > +PLATFORM_dra7xx = "DRA7xx_PLATFORM" > + > +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" > + > +S = "${WORKDIR}/git/debugss_module/debugss-mod" > + > +inherit module > diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc > new file mode 100644 > index 0000000..cd403a1 > --- /dev/null > +++ b/recipes-bsp/dsptop/dsptop.inc > @@ -0,0 +1,9 @@ > +BRANCH = "master" > + > +PV = "1.2.0" > +INC_PR = "r0" > + > +# This corresponds to version 1.2.0 > +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" > + > +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" > -- > 1.7.9.5 > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] debugss-module-drv: Add version 1.2.0 2015-05-18 17:33 ` Denys Dmytriyenko @ 2015-05-18 19:05 ` Jacob Stiffler 2015-05-19 17:36 ` Denys Dmytriyenko 0 siblings, 1 reply; 7+ messages in thread From: Jacob Stiffler @ 2015-05-18 19:05 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: meta-ti On 5/18/2015 1:33 PM, Denys Dmytriyenko wrote: > On Mon, May 18, 2015 at 01:24:40PM -0400, Jacob Stiffler wrote: >> * The debugss-module-drv is require for the dsptop utility. >> >> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> >> --- >> recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ >> recipes-bsp/dsptop/dsptop.inc | 9 +++++++++ >> 2 files changed, 31 insertions(+) >> create mode 100644 recipes-bsp/dsptop/debugss-module-drv_git.bb >> create mode 100644 recipes-bsp/dsptop/dsptop.inc >> >> diff --git a/recipes-bsp/dsptop/debugss-module-drv_git.bb b/recipes-bsp/dsptop/debugss-module-drv_git.bb >> new file mode 100644 >> index 0000000..561bb91 >> --- /dev/null >> +++ b/recipes-bsp/dsptop/debugss-module-drv_git.bb >> @@ -0,0 +1,22 @@ >> +DESCRIPTION="Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" > The description says Keystone and dra7xx, but you set compatible machine to > dra7xx only. Should this also enable Keystone? > These recipes will eventually be extended to keystone. I can go ahead and enable it now, though it won't be tested. >> +LICENSE = "GPLv2" >> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" >> + >> +include dsptop.inc >> + >> +COMPATIBLE_MACHINE = "dra7xx" >> +PACKAGE_ARCH = "${MACHINE_ARCH}" >> + >> +# This package builds a kernel module, use kernel PR as base and append a local >> +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" >> +PR = "${MACHINE_KERNEL_PR}" >> + >> +PLATFORM = "" >> +PLATFORM_dra7xx = "DRA7xx_PLATFORM" >> + >> +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" >> + >> +S = "${WORKDIR}/git/debugss_module/debugss-mod" >> + >> +inherit module >> diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc >> new file mode 100644 >> index 0000000..cd403a1 >> --- /dev/null >> +++ b/recipes-bsp/dsptop/dsptop.inc >> @@ -0,0 +1,9 @@ >> +BRANCH = "master" >> + >> +PV = "1.2.0" >> +INC_PR = "r0" >> + >> +# This corresponds to version 1.2.0 >> +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" >> + >> +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" >> -- >> 1.7.9.5 >> >> -- >> _______________________________________________ >> meta-ti mailing list >> meta-ti@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-ti ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] debugss-module-drv: Add version 1.2.0 2015-05-18 19:05 ` Jacob Stiffler @ 2015-05-19 17:36 ` Denys Dmytriyenko 0 siblings, 0 replies; 7+ messages in thread From: Denys Dmytriyenko @ 2015-05-19 17:36 UTC (permalink / raw) To: Jacob Stiffler; +Cc: meta-ti On Mon, May 18, 2015 at 03:05:13PM -0400, Jacob Stiffler wrote: > > > On 5/18/2015 1:33 PM, Denys Dmytriyenko wrote: > >On Mon, May 18, 2015 at 01:24:40PM -0400, Jacob Stiffler wrote: > >>* The debugss-module-drv is require for the dsptop utility. > >> > >>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> > >>--- > >> recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ > >> recipes-bsp/dsptop/dsptop.inc | 9 +++++++++ > >> 2 files changed, 31 insertions(+) > >> create mode 100644 recipes-bsp/dsptop/debugss-module-drv_git.bb > >> create mode 100644 recipes-bsp/dsptop/dsptop.inc > >> > >>diff --git a/recipes-bsp/dsptop/debugss-module-drv_git.bb b/recipes-bsp/dsptop/debugss-module-drv_git.bb > >>new file mode 100644 > >>index 0000000..561bb91 > >>--- /dev/null > >>+++ b/recipes-bsp/dsptop/debugss-module-drv_git.bb > >>@@ -0,0 +1,22 @@ > >>+DESCRIPTION="Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" > >The description says Keystone and dra7xx, but you set compatible machine to > >dra7xx only. Should this also enable Keystone? > > > > These recipes will eventually be extended to keystone. I can go > ahead and enable it now, though it won't be tested. That's fine to enable Keystone now - whomever pulls them to the build and resulting images would have to test them :) > >>+LICENSE = "GPLv2" > >>+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" > >>+ > >>+include dsptop.inc > >>+ > >>+COMPATIBLE_MACHINE = "dra7xx" > >>+PACKAGE_ARCH = "${MACHINE_ARCH}" > >>+ > >>+# This package builds a kernel module, use kernel PR as base and append a local > >>+MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" > >>+PR = "${MACHINE_KERNEL_PR}" > >>+ > >>+PLATFORM = "" > >>+PLATFORM_dra7xx = "DRA7xx_PLATFORM" > >>+ > >>+EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" > >>+ > >>+S = "${WORKDIR}/git/debugss_module/debugss-mod" > >>+ > >>+inherit module > >>diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc > >>new file mode 100644 > >>index 0000000..cd403a1 > >>--- /dev/null > >>+++ b/recipes-bsp/dsptop/dsptop.inc > >>@@ -0,0 +1,9 @@ > >>+BRANCH = "master" > >>+ > >>+PV = "1.2.0" > >>+INC_PR = "r0" > >>+ > >>+# This corresponds to version 1.2.0 > >>+SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" > >>+ > >>+SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" > >>-- > >>1.7.9.5 > >> > >>-- > >>_______________________________________________ > >>meta-ti mailing list > >>meta-ti@yoctoproject.org > >>https://lists.yoctoproject.org/listinfo/meta-ti > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] libulm: Add ULM library for ARM and DSP. 2015-05-18 17:24 [PATCH 0/3] dsptop 1.2.0 Jacob Stiffler 2015-05-18 17:24 ` [PATCH 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler @ 2015-05-18 17:24 ` Jacob Stiffler 2015-05-18 17:24 ` [PATCH 3/3] dsptop: Add version 1.2.0 Jacob Stiffler 2 siblings, 0 replies; 7+ messages in thread From: Jacob Stiffler @ 2015-05-18 17:24 UTC (permalink / raw) To: meta-ti Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> --- recipes-bsp/dsptop/libulm_git.bb | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 recipes-bsp/dsptop/libulm_git.bb diff --git a/recipes-bsp/dsptop/libulm_git.bb b/recipes-bsp/dsptop/libulm_git.bb new file mode 100644 index 0000000..4e5c5b4 --- /dev/null +++ b/recipes-bsp/dsptop/libulm_git.bb @@ -0,0 +1,43 @@ +DESCRIPTION="TI dsptop utility." + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +include dsptop.inc + +DEPENDS = "ti-cgt6x-native" + +PR = "${INC_PR}.0" + +ALLOW_EMPTY_${PN} = "1" + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PARALLEL_MAKE= "" + +S = "${WORKDIR}/git/dsptop/ulm" + +DEVICE="" +DEVICE_dra7xx = "DRA7xx" + +EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" + +do_compile() { + oe_runmake arm XPORT_ONLY + oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include +} + +do_install() { + install -d ${D}${includedir} + install -d ${D}${libdir} + install -d ${D}${datadir}/ti/ulm + cp -f tiulm.h ${D}${includedir} + cp -f release/libtiulm.a ${D}${libdir} + cp -f tiulm.h ${D}${datadir}/ti/ulm + cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm +} + +FILES_${PN}-dev += "\ + ${datadir}/ti/ulm \ +" -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] dsptop: Add version 1.2.0 2015-05-18 17:24 [PATCH 0/3] dsptop 1.2.0 Jacob Stiffler 2015-05-18 17:24 ` [PATCH 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler 2015-05-18 17:24 ` [PATCH 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler @ 2015-05-18 17:24 ` Jacob Stiffler 2 siblings, 0 replies; 7+ messages in thread From: Jacob Stiffler @ 2015-05-18 17:24 UTC (permalink / raw) To: meta-ti * dsptop is a utility that provides a top-like interface to observe DSP resource usage in real-time. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> --- recipes-bsp/dsptop/dsptop_git.bb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes-bsp/dsptop/dsptop_git.bb diff --git a/recipes-bsp/dsptop/dsptop_git.bb b/recipes-bsp/dsptop/dsptop_git.bb new file mode 100644 index 0000000..72102e8 --- /dev/null +++ b/recipes-bsp/dsptop/dsptop_git.bb @@ -0,0 +1,27 @@ +DESCRIPTION="TI dsptop utility." + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +include dsptop.inc + +PR = "${INC_PR}.0" + +DEPENDS = "libulm ncurses" + +RDEPENDS_${PN} = "debugss-module-drv" + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEVICE = "" +DEVICE_dra7xx = "DRA7xx" + +EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" +PARALLEL_MAKE = "" + +S = "${WORKDIR}/git/dsptop" + +do_install() { + oe_runmake install DESTDIR=${D} +} -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-05-19 17:36 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-05-18 17:24 [PATCH 0/3] dsptop 1.2.0 Jacob Stiffler 2015-05-18 17:24 ` [PATCH 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler 2015-05-18 17:33 ` Denys Dmytriyenko 2015-05-18 19:05 ` Jacob Stiffler 2015-05-19 17:36 ` Denys Dmytriyenko 2015-05-18 17:24 ` [PATCH 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler 2015-05-18 17:24 ` [PATCH 3/3] dsptop: Add version 1.2.0 Jacob Stiffler
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.