All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add EDMA3 LLD RTOS package.
@ 2015-05-27 16:20 Jacob Stiffler
  2015-05-27 16:20 ` [PATCH 1/3] edma3-lld: Seperate source and version into include file Jacob Stiffler
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jacob Stiffler @ 2015-05-27 16:20 UTC (permalink / raw)
  To: meta-ti

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

Jacob Stiffler (3):
  edma3-lld: Seperate source and version into include file.
  edma3-lld: Update to version 2.12.01.21.
  edma3-lld-rtos: Add the EDMA3 LLD RTOS package.

 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb |   75 +++++++++++++++++++++++++++
 recipes-bsp/edma3-lld/edma3-lld.inc         |   10 ++++
 recipes-bsp/edma3-lld/edma3-lld_git.bb      |   11 +---
 3 files changed, 86 insertions(+), 10 deletions(-)
 create mode 100644 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
 create mode 100644 recipes-bsp/edma3-lld/edma3-lld.inc
 mode change 100755 => 100644 recipes-bsp/edma3-lld/edma3-lld_git.bb

-- 
1.7.9.5



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

* [PATCH 1/3] edma3-lld: Seperate source and version into include file.
  2015-05-27 16:20 [PATCH 0/3] Add EDMA3 LLD RTOS package Jacob Stiffler
@ 2015-05-27 16:20 ` Jacob Stiffler
  2015-05-29 20:12   ` Denys Dmytriyenko
  2015-05-27 16:20 ` [PATCH 2/3] edma3-lld: Update to version 2.12.01.21 Jacob Stiffler
  2015-05-27 16:20 ` [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package Jacob Stiffler
  2 siblings, 1 reply; 8+ messages in thread
From: Jacob Stiffler @ 2015-05-27 16:20 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 recipes-bsp/edma3-lld/edma3-lld.inc    |   10 ++++++++++
 recipes-bsp/edma3-lld/edma3-lld_git.bb |   11 +----------
 2 files changed, 11 insertions(+), 10 deletions(-)
 create mode 100644 recipes-bsp/edma3-lld/edma3-lld.inc
 mode change 100755 => 100644 recipes-bsp/edma3-lld/edma3-lld_git.bb

diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
new file mode 100644
index 0000000..e6dd92b
--- /dev/null
+++ b/recipes-bsp/edma3-lld/edma3-lld.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "TI EDMA3 low level driver and test code"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
+# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
+SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
+
+PV = "2.11.13"
diff --git a/recipes-bsp/edma3-lld/edma3-lld_git.bb b/recipes-bsp/edma3-lld/edma3-lld_git.bb
old mode 100755
new mode 100644
index 1ed4b93..913dd3e
--- a/recipes-bsp/edma3-lld/edma3-lld_git.bb
+++ b/recipes-bsp/edma3-lld/edma3-lld_git.bb
@@ -1,13 +1,5 @@
-DESCRIPTION = "TI EDMA3 low level driver and test code"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
+require edma3-lld.inc
 
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
-# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
-SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
-
-PV = "2.11.13"
 PR = "r0"
 
 COMPATIBLE_MACHINE = "keystone"
@@ -77,4 +69,3 @@ do_install () {
 	install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg \
 		${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
 }
-
-- 
1.7.9.5



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

* [PATCH 2/3] edma3-lld: Update to version 2.12.01.21.
  2015-05-27 16:20 [PATCH 0/3] Add EDMA3 LLD RTOS package Jacob Stiffler
  2015-05-27 16:20 ` [PATCH 1/3] edma3-lld: Seperate source and version into include file Jacob Stiffler
@ 2015-05-27 16:20 ` Jacob Stiffler
  2015-05-29 20:12   ` Denys Dmytriyenko
  2015-05-27 16:20 ` [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package Jacob Stiffler
  2 siblings, 1 reply; 8+ messages in thread
From: Jacob Stiffler @ 2015-05-27 16:20 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 recipes-bsp/edma3-lld/edma3-lld.inc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
index e6dd92b..28c49e3 100644
--- a/recipes-bsp/edma3-lld/edma3-lld.inc
+++ b/recipes-bsp/edma3-lld/edma3-lld.inc
@@ -3,8 +3,8 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
 
 BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
-# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
-SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
+SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git;protocol=git;branch=${BRANCH}"
+# The following commit corresponds to tag DEV_EDMA3_LLD_02_12_01_21_RC1
+SRCREV = "562cba36ccd53e89e6979e99a58374513b543f93"
 
-PV = "2.11.13"
+PV = "2.12.01.21"
-- 
1.7.9.5



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

* [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package.
  2015-05-27 16:20 [PATCH 0/3] Add EDMA3 LLD RTOS package Jacob Stiffler
  2015-05-27 16:20 ` [PATCH 1/3] edma3-lld: Seperate source and version into include file Jacob Stiffler
  2015-05-27 16:20 ` [PATCH 2/3] edma3-lld: Update to version 2.12.01.21 Jacob Stiffler
@ 2015-05-27 16:20 ` Jacob Stiffler
  2015-05-29 20:15   ` Denys Dmytriyenko
  2 siblings, 1 reply; 8+ messages in thread
From: Jacob Stiffler @ 2015-05-27 16:20 UTC (permalink / raw)
  To: meta-ti

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

diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
new file mode 100644
index 0000000..246d7a8
--- /dev/null
+++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
@@ -0,0 +1,75 @@
+require edma3-lld.inc
+require recipes-ti/includes/ti-paths.inc
+require recipes-ti/includes/ti-staging.inc
+
+PR = "r0"
+
+DEPENDS = "ti-cgt6x-native ti-sysbios ti-xdctools"
+
+COMPATIBLE_MACHINE = "dra7xx|keystone"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PLATFORMLIST = ""
+PLATFORMLIST_keystone = " \
+        tci6636k2h-evm \
+        tci6638k2k-evm \
+        tci6630k2l-evm \
+        c66ak2e-evm \
+"
+
+PLATFORMLIST_dra7xx = " \
+        tda2xx-evm \
+        dra72x-evm \
+        am571x-evm \
+        am572x-evm \
+"
+
+S = "${WORKDIR}/git"
+
+PARALLEL_MAKE = ""
+
+export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
+export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
+export CGTOOLS = "${XDCCGROOT}"
+export CGTOOLS_ELF = "${XDCCGROOT}"
+export CODEGEN_PATH_DSP = "${XDCCGROOT}"
+export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
+export TMS470_CGTOOLS = "${XDCCGROOT}"
+export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
+export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
+export PATH := "${XDC_INSTALL_DIR}:${PATH}"
+export ROOTDIR="${S}"
+export INTERNAL_SW_ROOT="${S}"
+export CROSSCC="${TARGET_PREFIX}gcc"
+export CROSSAR="${TARGET_PREFIX}ar"
+export CROSSLNK="${TARGET_PREFIX}gcc"
+
+
+EXTRA_OEMAKE += " -C ${S}/packages TARGET=66 FORMAT=ELF"
+
+do_configure () {
+    sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
+    sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
+    sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
+    sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
+    sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
+
+    cd ${S}/packages
+    ${XDC_INSTALL_DIR}/xdc .interfaces -PR .
+}
+
+do_compile () {
+    for p in ${PLATFORMLIST}
+    do
+        oe_runmake PLATFORM=${p}
+    done
+}
+
+do_install () {
+    install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
+    cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
+}
+
+INSANE_SKIP_${PN} = "arch"
+
+FILES_${PN} += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
-- 
1.7.9.5



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

* Re: [PATCH 2/3] edma3-lld: Update to version 2.12.01.21.
  2015-05-27 16:20 ` [PATCH 2/3] edma3-lld: Update to version 2.12.01.21 Jacob Stiffler
@ 2015-05-29 20:12   ` Denys Dmytriyenko
  0 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:12 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack

On Wed, May 27, 2015 at 12:20:16PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-bsp/edma3-lld/edma3-lld.inc |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
> index e6dd92b..28c49e3 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld.inc
> +++ b/recipes-bsp/edma3-lld/edma3-lld.inc
> @@ -3,8 +3,8 @@ LICENSE = "BSD-3-Clause"
>  LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
>  
>  BRANCH = "master"
> -SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
> -# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
> -SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
> +SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git;protocol=git;branch=${BRANCH}"
> +# The following commit corresponds to tag DEV_EDMA3_LLD_02_12_01_21_RC1
> +SRCREV = "562cba36ccd53e89e6979e99a58374513b543f93"
>  
> -PV = "2.11.13"
> +PV = "2.12.01.21"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 1/3] edma3-lld: Seperate source and version into include file.
  2015-05-27 16:20 ` [PATCH 1/3] edma3-lld: Seperate source and version into include file Jacob Stiffler
@ 2015-05-29 20:12   ` Denys Dmytriyenko
  0 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:12 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack

On Wed, May 27, 2015 at 12:20:15PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-bsp/edma3-lld/edma3-lld.inc    |   10 ++++++++++
>  recipes-bsp/edma3-lld/edma3-lld_git.bb |   11 +----------
>  2 files changed, 11 insertions(+), 10 deletions(-)
>  create mode 100644 recipes-bsp/edma3-lld/edma3-lld.inc
>  mode change 100755 => 100644 recipes-bsp/edma3-lld/edma3-lld_git.bb
> 
> diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
> new file mode 100644
> index 0000000..e6dd92b
> --- /dev/null
> +++ b/recipes-bsp/edma3-lld/edma3-lld.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "TI EDMA3 low level driver and test code"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
> +
> +BRANCH = "master"
> +SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
> +# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
> +SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
> +
> +PV = "2.11.13"
> diff --git a/recipes-bsp/edma3-lld/edma3-lld_git.bb b/recipes-bsp/edma3-lld/edma3-lld_git.bb
> old mode 100755
> new mode 100644
> index 1ed4b93..913dd3e
> --- a/recipes-bsp/edma3-lld/edma3-lld_git.bb
> +++ b/recipes-bsp/edma3-lld/edma3-lld_git.bb
> @@ -1,13 +1,5 @@
> -DESCRIPTION = "TI EDMA3 low level driver and test code"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
> +require edma3-lld.inc
>  
> -BRANCH = "master"
> -SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
> -# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
> -SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
> -
> -PV = "2.11.13"
>  PR = "r0"
>  
>  COMPATIBLE_MACHINE = "keystone"
> @@ -77,4 +69,3 @@ do_install () {
>  	install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg \
>  		${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
>  }
> -
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package.
  2015-05-27 16:20 ` [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package Jacob Stiffler
@ 2015-05-29 20:15   ` Denys Dmytriyenko
  2015-06-01 12:54     ` Jacob Stiffler
  0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 20:15 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

Ack

Same 2 questions:
are all deps are ready?
want to change packaging to ${PN}-dev?


On Wed, May 27, 2015 at 12:20:17PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb |   75 +++++++++++++++++++++++++++
>  1 file changed, 75 insertions(+)
>  create mode 100644 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> 
> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> new file mode 100644
> index 0000000..246d7a8
> --- /dev/null
> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> @@ -0,0 +1,75 @@
> +require edma3-lld.inc
> +require recipes-ti/includes/ti-paths.inc
> +require recipes-ti/includes/ti-staging.inc
> +
> +PR = "r0"
> +
> +DEPENDS = "ti-cgt6x-native ti-sysbios ti-xdctools"
> +
> +COMPATIBLE_MACHINE = "dra7xx|keystone"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +PLATFORMLIST = ""
> +PLATFORMLIST_keystone = " \
> +        tci6636k2h-evm \
> +        tci6638k2k-evm \
> +        tci6630k2l-evm \
> +        c66ak2e-evm \
> +"
> +
> +PLATFORMLIST_dra7xx = " \
> +        tda2xx-evm \
> +        dra72x-evm \
> +        am571x-evm \
> +        am572x-evm \
> +"
> +
> +S = "${WORKDIR}/git"
> +
> +PARALLEL_MAKE = ""
> +
> +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
> +export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
> +export CGTOOLS = "${XDCCGROOT}"
> +export CGTOOLS_ELF = "${XDCCGROOT}"
> +export CODEGEN_PATH_DSP = "${XDCCGROOT}"
> +export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
> +export TMS470_CGTOOLS = "${XDCCGROOT}"
> +export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
> +export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
> +export PATH := "${XDC_INSTALL_DIR}:${PATH}"
> +export ROOTDIR="${S}"
> +export INTERNAL_SW_ROOT="${S}"
> +export CROSSCC="${TARGET_PREFIX}gcc"
> +export CROSSAR="${TARGET_PREFIX}ar"
> +export CROSSLNK="${TARGET_PREFIX}gcc"
> +
> +
> +EXTRA_OEMAKE += " -C ${S}/packages TARGET=66 FORMAT=ELF"
> +
> +do_configure () {
> +    sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
> +    sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
> +    sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
> +    sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
> +    sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
> +
> +    cd ${S}/packages
> +    ${XDC_INSTALL_DIR}/xdc .interfaces -PR .
> +}
> +
> +do_compile () {
> +    for p in ${PLATFORMLIST}
> +    do
> +        oe_runmake PLATFORM=${p}
> +    done
> +}
> +
> +do_install () {
> +    install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
> +    cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
> +}
> +
> +INSANE_SKIP_${PN} = "arch"
> +
> +FILES_${PN} += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package.
  2015-05-29 20:15   ` Denys Dmytriyenko
@ 2015-06-01 12:54     ` Jacob Stiffler
  0 siblings, 0 replies; 8+ 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:15 PM, Denys Dmytriyenko wrote:
> Ack
>
> Same 2 questions:
> are all deps are ready?

Yes.

> want to change packaging to ${PN}-dev?

Yes.

>
> On Wed, May 27, 2015 at 12:20:17PM -0400, Jacob Stiffler wrote:
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> ---
>>   recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb |   75 +++++++++++++++++++++++++++
>>   1 file changed, 75 insertions(+)
>>   create mode 100644 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
>>
>> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
>> new file mode 100644
>> index 0000000..246d7a8
>> --- /dev/null
>> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
>> @@ -0,0 +1,75 @@
>> +require edma3-lld.inc
>> +require recipes-ti/includes/ti-paths.inc
>> +require recipes-ti/includes/ti-staging.inc
>> +
>> +PR = "r0"
>> +
>> +DEPENDS = "ti-cgt6x-native ti-sysbios ti-xdctools"
>> +
>> +COMPATIBLE_MACHINE = "dra7xx|keystone"
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>> +PLATFORMLIST = ""
>> +PLATFORMLIST_keystone = " \
>> +        tci6636k2h-evm \
>> +        tci6638k2k-evm \
>> +        tci6630k2l-evm \
>> +        c66ak2e-evm \
>> +"
>> +
>> +PLATFORMLIST_dra7xx = " \
>> +        tda2xx-evm \
>> +        dra72x-evm \
>> +        am571x-evm \
>> +        am572x-evm \
>> +"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +PARALLEL_MAKE = ""
>> +
>> +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
>> +export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
>> +export CGTOOLS = "${XDCCGROOT}"
>> +export CGTOOLS_ELF = "${XDCCGROOT}"
>> +export CODEGEN_PATH_DSP = "${XDCCGROOT}"
>> +export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
>> +export TMS470_CGTOOLS = "${XDCCGROOT}"
>> +export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
>> +export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
>> +export PATH := "${XDC_INSTALL_DIR}:${PATH}"
>> +export ROOTDIR="${S}"
>> +export INTERNAL_SW_ROOT="${S}"
>> +export CROSSCC="${TARGET_PREFIX}gcc"
>> +export CROSSAR="${TARGET_PREFIX}ar"
>> +export CROSSLNK="${TARGET_PREFIX}gcc"
>> +
>> +
>> +EXTRA_OEMAKE += " -C ${S}/packages TARGET=66 FORMAT=ELF"
>> +
>> +do_configure () {
>> +    sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
>> +    sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
>> +    sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
>> +    sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
>> +    sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
>> +
>> +    cd ${S}/packages
>> +    ${XDC_INSTALL_DIR}/xdc .interfaces -PR .
>> +}
>> +
>> +do_compile () {
>> +    for p in ${PLATFORMLIST}
>> +    do
>> +        oe_runmake PLATFORM=${p}
>> +    done
>> +}
>> +
>> +do_install () {
>> +    install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
>> +    cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
>> +}
>> +
>> +INSANE_SKIP_${PN} = "arch"
>> +
>> +FILES_${PN} += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
>> -- 
>> 1.7.9.5
>>
>> -- 
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 16:20 [PATCH 0/3] Add EDMA3 LLD RTOS package Jacob Stiffler
2015-05-27 16:20 ` [PATCH 1/3] edma3-lld: Seperate source and version into include file Jacob Stiffler
2015-05-29 20:12   ` Denys Dmytriyenko
2015-05-27 16:20 ` [PATCH 2/3] edma3-lld: Update to version 2.12.01.21 Jacob Stiffler
2015-05-29 20:12   ` Denys Dmytriyenko
2015-05-27 16:20 ` [PATCH 3/3] edma3-lld-rtos: Add the EDMA3 LLD RTOS package Jacob Stiffler
2015-05-29 20:15   ` 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.