All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
@ 2015-05-19 11:26 Jacob Stiffler
  2015-05-19 11:27 ` [PATCH v2 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-19 11:26 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>
---
* 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

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..c4edb8d
--- /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"
+
+# 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
diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
new file mode 100644
index 0000000..4b9e3fa
--- /dev/null
+++ b/recipes-bsp/dsptop/dsptop.inc
@@ -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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 2/3] libulm: Add ULM library for ARM and DSP.
  2015-05-19 11:26 [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler
@ 2015-05-19 11:27 ` Jacob Stiffler
  2015-05-19 11:27 ` [PATCH v2 3/3] dsptop: Add version 1.2.0 Jacob Stiffler
  2015-05-19 17:39 ` [PATCH v2 1/3] debugss-module-drv: " Denys Dmytriyenko
  2 siblings, 0 replies; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-19 11:27 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
* 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

diff --git a/recipes-bsp/dsptop/libulm_git.bb b/recipes-bsp/dsptop/libulm_git.bb
new file mode 100644
index 0000000..f99dd6a
--- /dev/null
+++ b/recipes-bsp/dsptop/libulm_git.bb
@@ -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= ""
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 3/3] dsptop: Add version 1.2.0
  2015-05-19 11:26 [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler
  2015-05-19 11:27 ` [PATCH v2 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler
@ 2015-05-19 11:27 ` Jacob Stiffler
  2015-05-19 17:39 ` [PATCH v2 1/3] debugss-module-drv: " Denys Dmytriyenko
  2 siblings, 0 replies; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-19 11:27 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>
---
* 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

diff --git a/recipes-bsp/dsptop/dsptop_git.bb b/recipes-bsp/dsptop/dsptop_git.bb
new file mode 100644
index 0000000..3225838
--- /dev/null
+++ b/recipes-bsp/dsptop/dsptop_git.bb
@@ -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 = ""
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
  2015-05-19 11:26 [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler
  2015-05-19 11:27 ` [PATCH v2 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler
  2015-05-19 11:27 ` [PATCH v2 3/3] dsptop: Add version 1.2.0 Jacob Stiffler
@ 2015-05-19 17:39 ` Denys Dmytriyenko
  2015-05-19 17:56   ` Jacob Stiffler
  2 siblings, 1 reply; 9+ messages in thread
From: Denys Dmytriyenko @ 2015-05-19 17:39 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

On Tue, May 19, 2015 at 07:26:59AM -0400, Jacob Stiffler wrote:
> * The debugss-module-drv is require for the dsptop utility.
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> * 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
> 
> 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..c4edb8d
> --- /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"
> +
> +# 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"

So, is it really only limited to k2hk and not other Keystones?


> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +include dsptop.inc
> diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
> new file mode 100644
> index 0000000..4b9e3fa
> --- /dev/null
> +++ b/recipes-bsp/dsptop/dsptop.inc
> @@ -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"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
  2015-05-19 17:39 ` [PATCH v2 1/3] debugss-module-drv: " Denys Dmytriyenko
@ 2015-05-19 17:56   ` Jacob Stiffler
  2015-05-19 18:01     ` Denys Dmytriyenko
  0 siblings, 1 reply; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-19 17:56 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



On 5/19/2015 1:39 PM, Denys Dmytriyenko wrote:
> On Tue, May 19, 2015 at 07:26:59AM -0400, Jacob Stiffler wrote:
>> * The debugss-module-drv is require for the dsptop utility.
>>
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> ---
>> * 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
>>
>> 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..c4edb8d
>> --- /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"
>> +
>> +# 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"
> 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.

>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>> +include dsptop.inc
>> diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
>> new file mode 100644
>> index 0000000..4b9e3fa
>> --- /dev/null
>> +++ b/recipes-bsp/dsptop/dsptop.inc
>> @@ -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"
>> -- 
>> 1.7.9.5
>>
>> -- 
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
  2015-05-19 17:56   ` Jacob Stiffler
@ 2015-05-19 18:01     ` Denys Dmytriyenko
  2015-05-19 18:03       ` Jacob Stiffler
  0 siblings, 1 reply; 9+ messages in thread
From: Denys Dmytriyenko @ 2015-05-19 18:01 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

On Tue, May 19, 2015 at 01:56:29PM -0400, Jacob Stiffler wrote:
> 
> 
> On 5/19/2015 1:39 PM, Denys Dmytriyenko wrote:
> >On Tue, May 19, 2015 at 07:26:59AM -0400, Jacob Stiffler wrote:
> >>* The debugss-module-drv is require for the dsptop utility.
> >>
> >>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> >>---
> >>* 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
> >>
> >>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..c4edb8d
> >>--- /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"
> >>+
> >>+# 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"
> >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.

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?


> >>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>+
> >>+include dsptop.inc
> >>diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
> >>new file mode 100644
> >>index 0000000..4b9e3fa
> >>--- /dev/null
> >>+++ b/recipes-bsp/dsptop/dsptop.inc
> >>@@ -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"
> >>-- 
> >>1.7.9.5
> >>
> >>-- 
> >>_______________________________________________
> >>meta-ti mailing list
> >>meta-ti@yoctoproject.org
> >>https://lists.yoctoproject.org/listinfo/meta-ti
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
  2015-05-19 18:01     ` Denys Dmytriyenko
@ 2015-05-19 18:03       ` Jacob Stiffler
  0 siblings, 0 replies; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-19 18:03 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



On 5/19/2015 2:01 PM, Denys Dmytriyenko wrote:
> On Tue, May 19, 2015 at 01:56:29PM -0400, Jacob Stiffler wrote:
>>
>> On 5/19/2015 1:39 PM, Denys Dmytriyenko wrote:
>>> On Tue, May 19, 2015 at 07:26:59AM -0400, Jacob Stiffler wrote:
>>>> * The debugss-module-drv is require for the dsptop utility.
>>>>
>>>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>>>> ---
>>>> * 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
>>>>
>>>> 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..c4edb8d
>>>> --- /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"
>>>> +
>>>> +# 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"
>>> 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.
> 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?
>

Sure. I'll make the changes in the v3.

>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>> +
>>>> +include dsptop.inc
>>>> diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
>>>> new file mode 100644
>>>> index 0000000..4b9e3fa
>>>> --- /dev/null
>>>> +++ b/recipes-bsp/dsptop/dsptop.inc
>>>> @@ -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"
>>>> -- 
>>>> 1.7.9.5
>>>>
>>>> -- 
>>>> _______________________________________________
>>>> meta-ti mailing list
>>>> meta-ti@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/meta-ti



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
@ 2015-05-20 13:25 Jacob Stiffler
  2015-05-20 13:35 ` Jacob Stiffler
  0 siblings, 1 reply; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-20 13:25 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>
---
* v3 changes:
  - Use the more generic "keystone" soc family as opposed to the
    specific k2hk-evm machine.

* 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

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..66e0453
--- /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"
+
+# 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_keystone = "KEYSTONE_PLATFORM"
+
+EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'"
+
+COMPATIBLE_MACHINE = "dra7xx|keystone"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+include dsptop.inc
diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
new file mode 100644
index 0000000..4b9e3fa
--- /dev/null
+++ b/recipes-bsp/dsptop/dsptop.inc
@@ -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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0
  2015-05-20 13:25 Jacob Stiffler
@ 2015-05-20 13:35 ` Jacob Stiffler
  0 siblings, 0 replies; 9+ messages in thread
From: Jacob Stiffler @ 2015-05-20 13:35 UTC (permalink / raw)
  To: meta-ti

Please ignore this patch. I have mistakenly called this v2. The 
corrected v3 has been submitted.

On 5/20/2015 9:25 AM, Jacob Stiffler wrote:
> * The debugss-module-drv is require for the dsptop utility.
>
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> * v3 changes:
>    - Use the more generic "keystone" soc family as opposed to the
>      specific k2hk-evm machine.
>
> * 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
>
> 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..66e0453
> --- /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"
> +
> +# 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_keystone = "KEYSTONE_PLATFORM"
> +
> +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}'"
> +
> +COMPATIBLE_MACHINE = "dra7xx|keystone"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +include dsptop.inc
> diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
> new file mode 100644
> index 0000000..4b9e3fa
> --- /dev/null
> +++ b/recipes-bsp/dsptop/dsptop.inc
> @@ -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"



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-20 13:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19 11:26 [PATCH v2 1/3] debugss-module-drv: Add version 1.2.0 Jacob Stiffler
2015-05-19 11:27 ` [PATCH v2 2/3] libulm: Add ULM library for ARM and DSP Jacob Stiffler
2015-05-19 11:27 ` [PATCH v2 3/3] dsptop: Add version 1.2.0 Jacob Stiffler
2015-05-19 17:39 ` [PATCH v2 1/3] debugss-module-drv: " Denys Dmytriyenko
2015-05-19 17:56   ` Jacob Stiffler
2015-05-19 18:01     ` Denys Dmytriyenko
2015-05-19 18:03       ` Jacob Stiffler
  -- strict thread matches above, loose matches on Subject: below --
2015-05-20 13:25 Jacob Stiffler
2015-05-20 13:35 ` 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.