All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add CSL RTOS package.
@ 2015-05-27 14:10 Jacob Stiffler
  2015-05-27 14:10 ` [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers Jacob Stiffler
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Jacob Stiffler @ 2015-05-27 14:10 UTC (permalink / raw)
  To: meta-ti

* and restructure common-csl-ip so that a common file may be used to
  specify source and version.

Jacob Stiffler (4):
  ti-paths: Add PDK_INSTALL_DIR for RTOS drivers.
  common-csl-ip: Seperate source and version into include file.
  common-csl-ip.inc: Add source revision for dra7xx.
  common-csl-ip-rtos: Add CSL RTOS package.

 .../common-csl-ip/common-csl-ip-rtos_git.bb        |   33 ++++++++++++++++++++
 recipes-bsp/common-csl-ip/common-csl-ip.inc        |   18 +++++++++++
 recipes-bsp/common-csl-ip/common-csl-ip_git.bb     |   13 ++------
 recipes-ti/includes/ti-paths.inc                   |    3 +-
 4 files changed, 56 insertions(+), 11 deletions(-)
 create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
 create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip.inc

-- 
1.7.9.5



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

* [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers.
  2015-05-27 14:10 [PATCH 0/4] Add CSL RTOS package Jacob Stiffler
@ 2015-05-27 14:10 ` Jacob Stiffler
  2015-05-29 20:06   ` Denys Dmytriyenko
  2015-05-27 14:10 ` [PATCH 2/4] common-csl-ip: Seperate source and version into include file Jacob Stiffler
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Jacob Stiffler @ 2015-05-27 14:10 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 recipes-ti/includes/ti-paths.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
index 4e6227e..b902cbb 100644
--- a/recipes-ti/includes/ti-paths.inc
+++ b/recipes-ti/includes/ti-paths.inc
@@ -43,6 +43,7 @@ export UIA_INSTALL_DIR_RECIPE        = "${installdir}/ti-uia-tree"
 export VICPLIB_INSTALL_DIR_RECIPE    = "${installdir}/ti-vicplib-tree"
 export XDAIS_INSTALL_DIR_RECIPE      = "${installdir}/ti-xdais-tree"
 export XDC_INSTALL_DIR_RECIPE        = "${installdir}/ti-xdctools-tree"
+export PDK_INSTALL_DIR_RECIPE        = "${installdir}/ti-pdk-tree"
 
 # This is where the tools will end up in sysroot
 export BIOS_INSTALL_DIR       = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
@@ -76,10 +77,10 @@ export SYSLINK_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECI
 export UIA_INSTALL_DIR        = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}"
 export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
 export XDC_INSTALL_DIR        = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
+export PDK_INSTALL_DIR        = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
 
 DSPSUFFIX_omapl137 = "x674"
 DSPSUFFIX_omapl138 = "x674"
 DSPSUFFIX_ti816x = "xe674"
 DSPSUFFIX_ti814x = "xe674"
 DSPSUFFIX ?= "x64P"
-
-- 
1.7.9.5



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

* [PATCH 2/4] common-csl-ip: Seperate source and version into include file.
  2015-05-27 14:10 [PATCH 0/4] Add CSL RTOS package Jacob Stiffler
  2015-05-27 14:10 ` [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers Jacob Stiffler
@ 2015-05-27 14:10 ` Jacob Stiffler
  2015-05-29 20:08   ` Denys Dmytriyenko
  2015-05-27 14:10 ` [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx Jacob Stiffler
  2015-05-27 14:10 ` [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package Jacob Stiffler
  3 siblings, 1 reply; 11+ messages in thread
From: Jacob Stiffler @ 2015-05-27 14:10 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 recipes-bsp/common-csl-ip/common-csl-ip.inc    |   10 ++++++++++
 recipes-bsp/common-csl-ip/common-csl-ip_git.bb |   13 +++----------
 2 files changed, 13 insertions(+), 10 deletions(-)
 create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip.inc

diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc
new file mode 100644
index 0000000..1fa34f3
--- /dev/null
+++ b/recipes-bsp/common-csl-ip/common-csl-ip.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Chip support library low level interface"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
+
+COMPATIBLE_MACHINE = "keystone"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
+# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
+SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
index 01f7fc5..8f622a5 100644
--- a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
+++ b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
@@ -1,15 +1,8 @@
-DESCRIPTION = "Chip support library low level interface"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
-
-COMPATIBLE_MACHINE = "keystone"
-ALLOW_EMPTY_${PN} = "1"
+require common-csl-ip.inc
 
 PR = "r3"
-BRANCH="master"
-SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
-# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
-SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
+
+ALLOW_EMPTY_${PN} = "1"
 
 S = "${WORKDIR}/git"
 
-- 
1.7.9.5



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

* [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx.
  2015-05-27 14:10 [PATCH 0/4] Add CSL RTOS package Jacob Stiffler
  2015-05-27 14:10 ` [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers Jacob Stiffler
  2015-05-27 14:10 ` [PATCH 2/4] common-csl-ip: Seperate source and version into include file Jacob Stiffler
@ 2015-05-27 14:10 ` Jacob Stiffler
  2015-05-29 20:08   ` Denys Dmytriyenko
  2015-05-27 14:10 ` [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package Jacob Stiffler
  3 siblings, 1 reply; 11+ messages in thread
From: Jacob Stiffler @ 2015-05-27 14:10 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 recipes-bsp/common-csl-ip/common-csl-ip.inc |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc
index 1fa34f3..cbf2c3c 100644
--- a/recipes-bsp/common-csl-ip/common-csl-ip.inc
+++ b/recipes-bsp/common-csl-ip/common-csl-ip.inc
@@ -2,9 +2,17 @@ DESCRIPTION = "Chip support library low level interface"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
 
-COMPATIBLE_MACHINE = "keystone"
+COMPATIBLE_MACHINE = "keystone|dra7xx"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 
 BRANCH="master"
-SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
+BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00"
+
+SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH};destsuffix=${S}"
+
 # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
 SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
+
+# commit ID corresponds to PROCESSOR-SDK-ALPHA-1
+SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55"
-- 
1.7.9.5



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

* [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package.
  2015-05-27 14:10 [PATCH 0/4] Add CSL RTOS package Jacob Stiffler
                   ` (2 preceding siblings ...)
  2015-05-27 14:10 ` [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx Jacob Stiffler
@ 2015-05-27 14:10 ` Jacob Stiffler
  2015-05-29 20:10   ` Denys Dmytriyenko
  3 siblings, 1 reply; 11+ messages in thread
From: Jacob Stiffler @ 2015-05-27 14:10 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 .../common-csl-ip/common-csl-ip-rtos_git.bb        |   33 ++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb

diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
new file mode 100644
index 0000000..5d4a552
--- /dev/null
+++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
@@ -0,0 +1,33 @@
+require common-csl-ip.inc
+
+require recipes-ti/includes/ti-paths.inc
+require recipes-ti/includes/ti-staging.inc
+
+DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios"
+
+S = "${WORKDIR}/ti/csl"
+
+export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr"
+export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
+export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
+
+do_configure() {
+    sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
+    find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
+    find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
+    find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
+    find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
+}
+
+do_compile() {
+    ${XDC_INSTALL_DIR}/xdc .make
+    ${XDC_INSTALL_DIR}/xdc clean
+    ${XDC_INSTALL_DIR}/xdc release
+}
+
+do_install () {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
+    find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-- 
1.7.9.5



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

* Re: [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers.
  2015-05-27 14:10 ` [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers Jacob Stiffler
@ 2015-05-29 20:06   ` Denys Dmytriyenko
  0 siblings, 0 replies; 11+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:06 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack

On Wed, May 27, 2015 at 10:10:35AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-ti/includes/ti-paths.inc |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
> index 4e6227e..b902cbb 100644
> --- a/recipes-ti/includes/ti-paths.inc
> +++ b/recipes-ti/includes/ti-paths.inc
> @@ -43,6 +43,7 @@ export UIA_INSTALL_DIR_RECIPE        = "${installdir}/ti-uia-tree"
>  export VICPLIB_INSTALL_DIR_RECIPE    = "${installdir}/ti-vicplib-tree"
>  export XDAIS_INSTALL_DIR_RECIPE      = "${installdir}/ti-xdais-tree"
>  export XDC_INSTALL_DIR_RECIPE        = "${installdir}/ti-xdctools-tree"
> +export PDK_INSTALL_DIR_RECIPE        = "${installdir}/ti-pdk-tree"
>  
>  # This is where the tools will end up in sysroot
>  export BIOS_INSTALL_DIR       = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> @@ -76,10 +77,10 @@ export SYSLINK_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECI
>  export UIA_INSTALL_DIR        = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}"
>  export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
>  export XDC_INSTALL_DIR        = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
> +export PDK_INSTALL_DIR        = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
>  
>  DSPSUFFIX_omapl137 = "x674"
>  DSPSUFFIX_omapl138 = "x674"
>  DSPSUFFIX_ti816x = "xe674"
>  DSPSUFFIX_ti814x = "xe674"
>  DSPSUFFIX ?= "x64P"
> -
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 2/4] common-csl-ip: Seperate source and version into include file.
  2015-05-27 14:10 ` [PATCH 2/4] common-csl-ip: Seperate source and version into include file Jacob Stiffler
@ 2015-05-29 20:08   ` Denys Dmytriyenko
  0 siblings, 0 replies; 11+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:08 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack

On Wed, May 27, 2015 at 10:10:36AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-bsp/common-csl-ip/common-csl-ip.inc    |   10 ++++++++++
>  recipes-bsp/common-csl-ip/common-csl-ip_git.bb |   13 +++----------
>  2 files changed, 13 insertions(+), 10 deletions(-)
>  create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip.inc
> 
> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc
> new file mode 100644
> index 0000000..1fa34f3
> --- /dev/null
> +++ b/recipes-bsp/common-csl-ip/common-csl-ip.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "Chip support library low level interface"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
> +
> +COMPATIBLE_MACHINE = "keystone"
> +
> +BRANCH="master"
> +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
> +# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
> +SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
> index 01f7fc5..8f622a5 100644
> --- a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
> +++ b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
> @@ -1,15 +1,8 @@
> -DESCRIPTION = "Chip support library low level interface"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
> -
> -COMPATIBLE_MACHINE = "keystone"
> -ALLOW_EMPTY_${PN} = "1"
> +require common-csl-ip.inc
>  
>  PR = "r3"
> -BRANCH="master"
> -SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
> -# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
> -SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
> +
> +ALLOW_EMPTY_${PN} = "1"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx.
  2015-05-27 14:10 ` [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx Jacob Stiffler
@ 2015-05-29 20:08   ` Denys Dmytriyenko
  2015-06-01 12:34     ` Jacob Stiffler
  0 siblings, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:08 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack, but please explain below.


On Wed, May 27, 2015 at 10:10:37AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-bsp/common-csl-ip/common-csl-ip.inc |   12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc
> index 1fa34f3..cbf2c3c 100644
> --- a/recipes-bsp/common-csl-ip/common-csl-ip.inc
> +++ b/recipes-bsp/common-csl-ip/common-csl-ip.inc
> @@ -2,9 +2,17 @@ DESCRIPTION = "Chip support library low level interface"
>  LICENSE = "BSD-3-Clause"
>  LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
>  
> -COMPATIBLE_MACHINE = "keystone"
> +COMPATIBLE_MACHINE = "keystone|dra7xx"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
>  
>  BRANCH="master"
> -SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
> +BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00"
> +
> +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH};destsuffix=${S}"

Why do you need destsuffix?


>  # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
>  SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
> +
> +# commit ID corresponds to PROCESSOR-SDK-ALPHA-1
> +SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package.
  2015-05-27 14:10 ` [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package Jacob Stiffler
@ 2015-05-29 20:10   ` Denys Dmytriyenko
  2015-06-01 12:54     ` Jacob Stiffler
  0 siblings, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:10 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack

Are all the dependencies ready for this?

Should all the files be added to ${PN}-dev?


On Wed, May 27, 2015 at 10:10:38AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  .../common-csl-ip/common-csl-ip-rtos_git.bb        |   33 ++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
> 
> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
> new file mode 100644
> index 0000000..5d4a552
> --- /dev/null
> +++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
> @@ -0,0 +1,33 @@
> +require common-csl-ip.inc
> +
> +require recipes-ti/includes/ti-paths.inc
> +require recipes-ti/includes/ti-staging.inc
> +
> +DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios"
> +
> +S = "${WORKDIR}/ti/csl"
> +
> +export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr"
> +export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
> +export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
> +
> +do_configure() {
> +    sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
> +    find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
> +    find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
> +    find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
> +    find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
> +}
> +
> +do_compile() {
> +    ${XDC_INSTALL_DIR}/xdc .make
> +    ${XDC_INSTALL_DIR}/xdc clean
> +    ${XDC_INSTALL_DIR}/xdc release
> +}
> +
> +do_install () {
> +    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
> +    find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
> +}
> +
> +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx.
  2015-05-29 20:08   ` Denys Dmytriyenko
@ 2015-06-01 12:34     ` Jacob Stiffler
  0 siblings, 0 replies; 11+ messages in thread
From: Jacob Stiffler @ 2015-06-01 12:34 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



On 5/29/2015 4:08 PM, Denys Dmytriyenko wrote:
> Ack, but please explain below.
>
>
> On Wed, May 27, 2015 at 10:10:37AM -0400, Jacob Stiffler wrote:
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> ---
>>   recipes-bsp/common-csl-ip/common-csl-ip.inc |   12 ++++++++++--
>>   1 file changed, 10 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc
>> index 1fa34f3..cbf2c3c 100644
>> --- a/recipes-bsp/common-csl-ip/common-csl-ip.inc
>> +++ b/recipes-bsp/common-csl-ip/common-csl-ip.inc
>> @@ -2,9 +2,17 @@ DESCRIPTION = "Chip support library low level interface"
>>   LICENSE = "BSD-3-Clause"
>>   LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
>>   
>> -COMPATIBLE_MACHINE = "keystone"
>> +COMPATIBLE_MACHINE = "keystone|dra7xx"
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>>   
>>   BRANCH="master"
>> -SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
>> +BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00"
>> +
>> +SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH};destsuffix=${S}"
> Why do you need destsuffix?
>

The RTOS package requires the sources to be extracted into "ti/csl" for 
the xdc build to succeed.

>>   # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
>>   SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
>> +
>> +# commit ID corresponds to PROCESSOR-SDK-ALPHA-1
>> +SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55"
>> -- 
>> 1.7.9.5
>>
>> -- 
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



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

* Re: [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package.
  2015-05-29 20:10   ` Denys Dmytriyenko
@ 2015-06-01 12:54     ` Jacob Stiffler
  0 siblings, 0 replies; 11+ messages in thread
From: Jacob Stiffler @ 2015-06-01 12:54 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



On 5/29/2015 4:10 PM, Denys Dmytriyenko wrote:
> Ack
>
> Are all the dependencies ready for this?

Yes.

> Should all the files be added to ${PN}-dev?
>

And yes. If there are no other comments, I'll submit a v2 to add these 
files to the dev package.

> On Wed, May 27, 2015 at 10:10:38AM -0400, Jacob Stiffler wrote:
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> ---
>>   .../common-csl-ip/common-csl-ip-rtos_git.bb        |   33 ++++++++++++++++++++
>>   1 file changed, 33 insertions(+)
>>   create mode 100644 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
>>
>> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
>> new file mode 100644
>> index 0000000..5d4a552
>> --- /dev/null
>> +++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
>> @@ -0,0 +1,33 @@
>> +require common-csl-ip.inc
>> +
>> +require recipes-ti/includes/ti-paths.inc
>> +require recipes-ti/includes/ti-staging.inc
>> +
>> +DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios"
>> +
>> +S = "${WORKDIR}/ti/csl"
>> +
>> +export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr"
>> +export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
>> +export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
>> +
>> +do_configure() {
>> +    sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
>> +    find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
>> +    find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
>> +    find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
>> +    find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
>> +}
>> +
>> +do_compile() {
>> +    ${XDC_INSTALL_DIR}/xdc .make
>> +    ${XDC_INSTALL_DIR}/xdc clean
>> +    ${XDC_INSTALL_DIR}/xdc release
>> +}
>> +
>> +do_install () {
>> +    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
>> +    find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
>> +}
>> +
>> +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
>> -- 
>> 1.7.9.5
>>
>> -- 
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



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

end of thread, other threads:[~2015-06-01 12:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27 14:10 [PATCH 0/4] Add CSL RTOS package Jacob Stiffler
2015-05-27 14:10 ` [PATCH 1/4] ti-paths: Add PDK_INSTALL_DIR for RTOS drivers Jacob Stiffler
2015-05-29 20:06   ` Denys Dmytriyenko
2015-05-27 14:10 ` [PATCH 2/4] common-csl-ip: Seperate source and version into include file Jacob Stiffler
2015-05-29 20:08   ` Denys Dmytriyenko
2015-05-27 14:10 ` [PATCH 3/4] common-csl-ip.inc: Add source revision for dra7xx Jacob Stiffler
2015-05-29 20:08   ` Denys Dmytriyenko
2015-06-01 12:34     ` Jacob Stiffler
2015-05-27 14:10 ` [PATCH 4/4] common-csl-ip-rtos: Add CSL RTOS package Jacob Stiffler
2015-05-29 20:10   ` Denys Dmytriyenko
2015-06-01 12:54     ` 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.