All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] edma3-lld-rtos: Add support for omapl1
@ 2017-07-12 18:17 Mahesh Radhakrishnan
  2017-07-12 18:29 ` Denys Dmytriyenko
  2017-07-12 18:30 ` Jacob Stiffler
  0 siblings, 2 replies; 3+ messages in thread
From: Mahesh Radhakrishnan @ 2017-07-12 18:17 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
---
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 31 +++++++++++++++++++++++++++--
 recipes-bsp/edma3-lld/edma3-lld.inc         |  6 +++---
 2 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
index f524478..e9b17c1 100644
--- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
+++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
@@ -1,11 +1,11 @@
 require edma3-lld.inc
 require recipes-ti/includes/ti-paths.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 PLATFORMLIST = ""
@@ -43,6 +43,13 @@ PLATFORMLIST_keystone = " \
         tci6630k2l-evm \
         c66ak2e-evm \
         tci66ak2g02-evm \
+        c6657-evm \
+        c6678-evm \
+        tda3xx-evm \
+"
+PLATFORMLIST_omapl1 = " \
+        omapl137-evm \
+        omapl138-evm \
 "
 
 TARGETLIST_keystone = " \
@@ -50,6 +57,10 @@ TARGETLIST_keystone = " \
         a15 \
 "
 
+TARGETLIST_omapl1 = " \
+        arm9 \
+        674 \
+"
 FORMAT="ELF"
 
 S = "${WORKDIR}/git"
@@ -73,6 +84,8 @@ export CROSSAR="${TARGET_PREFIX}ar"
 export CROSSLNK="${TARGET_PREFIX}gcc"
 
 do_configure () {
+    rm -rf ${S}/examples/edma3_driver/evmTCI6614
+    rm -rf ${S}/examples/edma3_driver/evmTCI6614BE
     sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
     sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
     sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
@@ -114,3 +127,17 @@ INSANE_SKIP_${PN}-dev = "arch ldflags file-rdeps"
 
 ALLOW_EMPTY_${PN} = "1"
 FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
+
+EXTRA_OEMAKE_remove = "TARGET=66"
+
+inherit component_meta
+CM_NAME = "EDMA3 LLD"
+CM_VERSION = "${PV}"
+CM_ROOT_DIR = "edma3_lld_${@'${PV}'.replace('.','_')}"
+CM_DESCRIPTION = "EDMA3 low level driver that supports data transfers between two memory mapped devices"
+
+deltask do_create_srcipk
+addtask create_srcipk after do_compile before do_install
+
+CREATE_SRCIPK = "1" 		
+SRCIPK_INSTALL_DIR = "${CM_ROOT_DIR}"
\ No newline at end of file
diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
index 63f1cac..daf9268 100644
--- a/recipes-bsp/edma3-lld/edma3-lld.inc
+++ b/recipes-bsp/edma3-lld/edma3-lld.inc
@@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
 EDMA3_LLD_GIT_PROTOCOL = "git"
 EDMA3_LLD_GIT_BRANCH = "master"
 
-# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_03_27"
-EDMA3_LLD_SRCREV = "ed434ef4019b696b753dae0f98fe6594a7ce35a3"
+# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_04_28A"
+EDMA3_LLD_SRCREV = "8a8ed96465b6625cc3446a65fecebd9c510f4342"
 
 BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
 SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 SRCREV = "${EDMA3_LLD_SRCREV}"
 
-PV = "2.12.03.27"
+PV = "2.12.04.28A"
 INC_PR = "r0"
-- 
1.9.1



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

* Re: [PATCH v2] edma3-lld-rtos: Add support for omapl1
  2017-07-12 18:17 [PATCH v2] edma3-lld-rtos: Add support for omapl1 Mahesh Radhakrishnan
@ 2017-07-12 18:29 ` Denys Dmytriyenko
  2017-07-12 18:30 ` Jacob Stiffler
  1 sibling, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2017-07-12 18:29 UTC (permalink / raw)
  To: Mahesh Radhakrishnan; +Cc: meta-ti

NAK

On Wed, Jul 12, 2017 at 02:17:15PM -0400, Mahesh Radhakrishnan wrote:
> Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
> ---

Missing listing changes in v2.


>  recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 31 +++++++++++++++++++++++++++--
>  recipes-bsp/edma3-lld/edma3-lld.inc         |  6 +++---
>  2 files changed, 32 insertions(+), 5 deletions(-)
> 
> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> index f524478..e9b17c1 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> @@ -1,11 +1,11 @@
>  require edma3-lld.inc
>  require recipes-ti/includes/ti-paths.inc
>  
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>  
>  DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
>  
> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
> +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
>  PLATFORMLIST = ""
> @@ -43,6 +43,13 @@ PLATFORMLIST_keystone = " \
>          tci6630k2l-evm \
>          c66ak2e-evm \
>          tci66ak2g02-evm \
> +        c6657-evm \
> +        c6678-evm \
> +        tda3xx-evm \
> +"
> +PLATFORMLIST_omapl1 = " \
> +        omapl137-evm \
> +        omapl138-evm \
>  "
>  
>  TARGETLIST_keystone = " \
> @@ -50,6 +57,10 @@ TARGETLIST_keystone = " \
>          a15 \
>  "
>  
> +TARGETLIST_omapl1 = " \
> +        arm9 \
> +        674 \
> +"
>  FORMAT="ELF"
>  
>  S = "${WORKDIR}/git"
> @@ -73,6 +84,8 @@ export CROSSAR="${TARGET_PREFIX}ar"
>  export CROSSLNK="${TARGET_PREFIX}gcc"
>  
>  do_configure () {
> +    rm -rf ${S}/examples/edma3_driver/evmTCI6614
> +    rm -rf ${S}/examples/edma3_driver/evmTCI6614BE
>      sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
>      sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
>      sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
> @@ -114,3 +127,17 @@ INSANE_SKIP_${PN}-dev = "arch ldflags file-rdeps"
>  
>  ALLOW_EMPTY_${PN} = "1"
>  FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
> +
> +EXTRA_OEMAKE_remove = "TARGET=66"
> +
> +inherit component_meta

Does not exist.


> +CM_NAME = "EDMA3 LLD"
> +CM_VERSION = "${PV}"
> +CM_ROOT_DIR = "edma3_lld_${@'${PV}'.replace('.','_')}"
> +CM_DESCRIPTION = "EDMA3 low level driver that supports data transfers between two memory mapped devices"
> +
> +deltask do_create_srcipk
> +addtask create_srcipk after do_compile before do_install
> +
> +CREATE_SRCIPK = "1" 		
> +SRCIPK_INSTALL_DIR = "${CM_ROOT_DIR}"

Does not exist.


> \ No newline at end of file

Formatting.


> diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
> index 63f1cac..daf9268 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld.inc
> +++ b/recipes-bsp/edma3-lld/edma3-lld.inc
> @@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
>  EDMA3_LLD_GIT_PROTOCOL = "git"
>  EDMA3_LLD_GIT_BRANCH = "master"
>  
> -# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_03_27"
> -EDMA3_LLD_SRCREV = "ed434ef4019b696b753dae0f98fe6594a7ce35a3"
> +# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_04_28A"
> +EDMA3_LLD_SRCREV = "8a8ed96465b6625cc3446a65fecebd9c510f4342"
>  
>  BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
>  SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
>  SRCREV = "${EDMA3_LLD_SRCREV}"
>  
> -PV = "2.12.03.27"
> +PV = "2.12.04.28A"
>  INC_PR = "r0"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH v2] edma3-lld-rtos: Add support for omapl1
  2017-07-12 18:17 [PATCH v2] edma3-lld-rtos: Add support for omapl1 Mahesh Radhakrishnan
  2017-07-12 18:29 ` Denys Dmytriyenko
@ 2017-07-12 18:30 ` Jacob Stiffler
  1 sibling, 0 replies; 3+ messages in thread
From: Jacob Stiffler @ 2017-07-12 18:30 UTC (permalink / raw)
  To: Mahesh Radhakrishnan, meta-ti



On 7/12/2017 2:17 PM, Mahesh Radhakrishnan wrote:
> Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
> ---
>   recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 31 +++++++++++++++++++++++++++--
>   recipes-bsp/edma3-lld/edma3-lld.inc         |  6 +++---
>   2 files changed, 32 insertions(+), 5 deletions(-)
>
> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> index f524478..e9b17c1 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> @@ -1,11 +1,11 @@
>   require edma3-lld.inc
>   require recipes-ti/includes/ti-paths.inc
>   
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>   
>   DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
>   
> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
> +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>   
>   PLATFORMLIST = ""
> @@ -43,6 +43,13 @@ PLATFORMLIST_keystone = " \
>           tci6630k2l-evm \
>           c66ak2e-evm \
>           tci66ak2g02-evm \
> +        c6657-evm \
> +        c6678-evm \
> +        tda3xx-evm \
> +"
> +PLATFORMLIST_omapl1 = " \
> +        omapl137-evm \
> +        omapl138-evm \
>   "
>   
>   TARGETLIST_keystone = " \
> @@ -50,6 +57,10 @@ TARGETLIST_keystone = " \
>           a15 \
>   "
>   
> +TARGETLIST_omapl1 = " \
> +        arm9 \
> +        674 \
> +"
>   FORMAT="ELF"
>   
>   S = "${WORKDIR}/git"
> @@ -73,6 +84,8 @@ export CROSSAR="${TARGET_PREFIX}ar"
>   export CROSSLNK="${TARGET_PREFIX}gcc"
>   
>   do_configure () {
> +    rm -rf ${S}/examples/edma3_driver/evmTCI6614
> +    rm -rf ${S}/examples/edma3_driver/evmTCI6614BE

Just curious, why these need to be removed?

>       sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
>       sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
>       sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
> @@ -114,3 +127,17 @@ INSANE_SKIP_${PN}-dev = "arch ldflags file-rdeps"
>   
>   ALLOW_EMPTY_${PN} = "1"
>   FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
> +
> +EXTRA_OEMAKE_remove = "TARGET=66"
> +
> +inherit component_meta
> +CM_NAME = "EDMA3 LLD"
> +CM_VERSION = "${PV}"
> +CM_ROOT_DIR = "edma3_lld_${@'${PV}'.replace('.','_')}"
> +CM_DESCRIPTION = "EDMA3 low level driver that supports data transfers between two memory mapped devices"

Please remove the component-meta class configuration. This has not been 
upstreamed, and will likely not go into meta-ti, but meta-arago instead.

> +
> +deltask do_create_srcipk
> +addtask create_srcipk after do_compile before do_install
> +
> +CREATE_SRCIPK = "1" 		
> +SRCIPK_INSTALL_DIR = "${CM_ROOT_DIR}"

Please remove the sourceipk class configuration. This belongs in meta-arago.

> \ No newline at end of file
> diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
> index 63f1cac..daf9268 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld.inc
> +++ b/recipes-bsp/edma3-lld/edma3-lld.inc
> @@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
>   EDMA3_LLD_GIT_PROTOCOL = "git"
>   EDMA3_LLD_GIT_BRANCH = "master"
>   
> -# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_03_27"
> -EDMA3_LLD_SRCREV = "ed434ef4019b696b753dae0f98fe6594a7ce35a3"
> +# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_04_28A"
> +EDMA3_LLD_SRCREV = "8a8ed96465b6625cc3446a65fecebd9c510f4342"
>   
>   BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
>   SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
>   SRCREV = "${EDMA3_LLD_SRCREV}"
>   
> -PV = "2.12.03.27"
> +PV = "2.12.04.28A"
>   INC_PR = "r0"



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

end of thread, other threads:[~2017-07-12 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-12 18:17 [PATCH v2] edma3-lld-rtos: Add support for omapl1 Mahesh Radhakrishnan
2017-07-12 18:29 ` Denys Dmytriyenko
2017-07-12 18:30 ` 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.