dsptop 1.2.0
cover dsptop 1.2.0
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
Signature · 1 line
1.7.9.5
PATCH 1/3 debugss-module-drv: Add version 1.2.0
* The debugss-module-drv is require for the dsptop utility.
--- 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
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +22 -0
@@ -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
recipes-bsp/dsptop/dsptop.inc new file +9 -0
@@ -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}"
Signature · 1 line
1.7.9.5
Re: [PATCH 1/3] debugss-module-drv: Add version 1.2.0
Quoted 16 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>--- 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.increcipes-bsp/dsptop/debugss-module-drv_git.bb new file +0
-0
recipes-bsp/dsptop/debugss-module-drv_git.bb line 1
Quoted 1 line
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +1
-0@@ -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?
Quoted 43 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +20
-0+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 modulerecipes-bsp/dsptop/dsptop.inc new file +9
-0@@ -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}"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Re: [PATCH 1/3] debugss-module-drv: Add version 1.2.0
Quoted 11 lines · Denys Dmytriyenko
Quoted 10 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>--- 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
Quoted 10 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb line 1
Quoted 7 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +1
-0@@ -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.
Quoted 43 lines
Quoted 43 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +20
-0+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 modulerecipes-bsp/dsptop/dsptop.inc new file +9
-0@@ -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}"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Re: [PATCH 1/3] debugss-module-drv: Add version 1.2.0
Quoted 25 lines · Jacob Stiffler
Quoted 11 lines · Denys Dmytriyenko
Quoted 10 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>--- 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.incQuoted 10 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb line 1
Quoted 7 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +1
-0@@ -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?
Quoted 2 lines
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 :)
Quoted 44 lines
Quoted 43 lines
Quoted 43 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +20
-0+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 modulerecipes-bsp/dsptop/dsptop.inc new file +9
-0@@ -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}"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 2/3 libulm: Add ULM library for ARM and DSP.
In reply to Jacob Stiffler--- recipes-bsp/dsptop/libulm_git.bb | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 recipes-bsp/dsptop/libulm_git.bb
recipes-bsp/dsptop/libulm_git.bb new file +43 -0
@@ -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 \ +"
Signature · 1 line
1.7.9.5
PATCH 3/3 dsptop: Add version 1.2.0
In reply to Jacob Stiffler* dsptop is a utility that provides a top-like interface to observe DSP resource usage in real-time.
--- recipes-bsp/dsptop/dsptop_git.bb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes-bsp/dsptop/dsptop_git.bb
recipes-bsp/dsptop/dsptop_git.bb new file +27 -0
@@ -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} +}
Signature · 1 line
1.7.9.5