debugss-module-drv: Add version 1.2.0
PATCH v2 1/3 debugss-module-drv: Add version 1.2.0
* The debugss-module-drv is require for the dsptop utility.
---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.
recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ recipes-bsp/dsptop/dsptop.inc | 8 ++++++++ 2 files changed, 30 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" + +# 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}" + +S = "${WORKDIR}/git/debugss_module/debugss-mod" + +inherit module + +PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" +PLATFORM_k2hk-evm = "KEYSTONE_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +include dsptop.inc
recipes-bsp/dsptop/dsptop.inc new file +8 -0
@@ -0,0 +1,8 @@ +# This corresponds to version 1.2.0 +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" +PV = "1.2.0" +INC_PR = "r0" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master"
Signature · 1 line
1.7.9.5
PATCH v2 2/3 libulm: Add ULM library for ARM and DSP.
---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.
recipes-bsp/dsptop/libulm_git.bb | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 recipes-bsp/dsptop/libulm_git.bb
recipes-bsp/dsptop/libulm_git.bb new file +42 -0
@@ -0,0 +1,42 @@ +DESCRIPTION = "TI dsptop utility." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +DEPENDS = "ti-cgt6x-native" +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git/dsptop/ulm" + +DEVICE="" +DEVICE_dra7xx = "DRA7xx" +DEVICE_k2hk-evm = "C66AK2Hxx" + +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 +} + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES_${PN}-dev += "\ + ${datadir}/ti/ulm \ +" + +include dsptop.inc + +ALLOW_EMPTY_${PN} = "1" + +PARALLEL_MAKE= ""
Signature · 1 line
1.7.9.5
PATCH v2 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.
---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.
recipes-bsp/dsptop/dsptop_git.bb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-bsp/dsptop/dsptop_git.bb
recipes-bsp/dsptop/dsptop_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "TI dsptop utility." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +DEPENDS = "libulm ncurses" + +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git/dsptop" + +DEVICE = "" +DEVICE_dra7xx = "DRA7xx" +DEVICE_k2hk-evm = "C66AK2Hxx" + +EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" + +do_install() { + oe_runmake install DESTDIR=${D} +} + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "debugss-module-drv" + +include dsptop.inc + +PARALLEL_MAKE = ""
Signature · 1 line
1.7.9.5
Quoted 29 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ recipes-bsp/dsptop/dsptop.inc | 8 ++++++++ 2 files changed, 30 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 +9
-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" + +# 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}" + +S = "${WORKDIR}/git/debugss_module/debugss-mod"
recipes-bsp/dsptop/debugss-module-drv_git.bb line 19
Quoted 10 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +10
-0+ +inherit module + +PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" +PLATFORM_k2hk-evm = "KEYSTONE_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm"
So, is it really only limited to k2hk and not other Keystones?
Quoted 25 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +3
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +include dsptop.increcipes-bsp/dsptop/dsptop.inc new file +8
-0@@ -0,0 +1,8 @@ +# This corresponds to version 1.2.0 +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" +PV = "1.2.0" +INC_PR = "r0" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 33 lines · Denys Dmytriyenko
Quoted 32 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ recipes-bsp/dsptop/dsptop.inc | 8 ++++++++ 2 files changed, 30 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 +12
-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" + +# 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}" + +S = "${WORKDIR}/git/debugss_module/debugss-mod" + +inherit module +
Quoted 9 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb line 19
Quoted 7 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +7
-0+PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" +PLATFORM_k2hk-evm = "KEYSTONE_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm"So, is it really only limited to k2hk and not other Keystones?
I briefly looked through the source to get the platform options, and I noticed that "K2H" is used in many of the #defines. Looking closer, I see that KEYSTONE_PLATFORM appears to general to the keystone family.
In other recipes, DEVICE is used. This appears to be specific to individual MACHINEs.
Quoted 25 lines
Quoted 25 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +3
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +include dsptop.increcipes-bsp/dsptop/dsptop.inc new file +8
-0@@ -0,0 +1,8 @@ +# This corresponds to version 1.2.0 +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" +PV = "1.2.0" +INC_PR = "r0" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 46 lines · Jacob Stiffler
Quoted 33 lines · Denys Dmytriyenko
Quoted 32 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ recipes-bsp/dsptop/dsptop.inc | 8 ++++++++ 2 files changed, 30 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 +12
-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" + +# 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}" + +S = "${WORKDIR}/git/debugss_module/debugss-mod" + +inherit module +Quoted 9 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb line 19
Quoted 7 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +7
-0+PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" +PLATFORM_k2hk-evm = "KEYSTONE_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm"So, is it really only limited to k2hk and not other Keystones?
Quoted 7 lines
I briefly looked through the source to get the platform options, and I noticed that "K2H" is used in many of the #defines. Looking closer, I see that
KEYSTONE_PLATFORMappears to general to the keystone family.In other recipes, DEVICE is used. This appears to be specific to individual MACHINEs.
Ok, can we use generic "keystone" SOC family when KEYSTONE_PLATFORM is used and a more stricter "k2hk-evm" machine when K2H DEVICE is used?
Quoted 26 lines
Quoted 25 lines
Quoted 25 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +3
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +include dsptop.increcipes-bsp/dsptop/dsptop.inc new file +8
-0@@ -0,0 +1,8 @@ +# This corresponds to version 1.2.0 +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" +PV = "1.2.0" +INC_PR = "r0" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 50 lines · Denys Dmytriyenko
Quoted 49 lines · Jacob Stiffler
Quoted 33 lines · Denys Dmytriyenko
Quoted 32 lines · Jacob Stiffler
* The debugss-module-drv is require for the dsptop utility.
Signed-off-by Jacob Stiffler <[email protected]>---
* v2 changes:
- Add support for k2hk-evm
- Reorganize file based on oe-stylize.recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++++++++++++++++++++++ recipes-bsp/dsptop/dsptop.inc | 8 ++++++++ 2 files changed, 30 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 +12
-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" + +# 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}" + +S = "${WORKDIR}/git/debugss_module/debugss-mod" + +inherit module +Quoted 9 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb line 19
Quoted 7 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +7
-0+PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" +PLATFORM_k2hk-evm = "KEYSTONE_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'" + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm"So, is it really only limited to k2hk and not other Keystones?
I briefly looked through the source to get the platform options, and I noticed that "K2H" is used in many of the #defines. Looking closer, I see that
KEYSTONE_PLATFORMappears to general to the keystone family.
Quoted 5 lines
Quoted 2 lines
In other recipes, DEVICE is used. This appears to be specific to individual MACHINEs.
Ok, can we use generic "keystone" SOC family when
KEYSTONE_PLATFORMis used and a more stricter "k2hk-evm" machine when K2H DEVICE is used?
Sure. I'll make the changes in the v3.
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
recipes-bsp/dsptop/debugss-module-drv_git.bb new file +3
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +include dsptop.increcipes-bsp/dsptop/dsptop.inc new file +8
-0@@ -0,0 +1,8 @@ +# This corresponds to version 1.2.0 +SRCREV = "9893486936626e2d3de721f429a67fcac8a68151" +PV = "1.2.0" +INC_PR = "r0" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master"Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti