All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] icss-emac-lld-rtos: add for TI RTOS
@ 2017-11-02 19:19 Jacob Stiffler
  2017-11-02 19:19 ` [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8 Jacob Stiffler
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Stiffler @ 2017-11-02 19:19 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---

* icss-emac-lld-rtos is a dependency for the board-rtos recipe.

 .../icss-emac-lld/icss-emac-lld-rtos_git.bb        | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb

diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
new file mode 100644
index 0000000..882ce99
--- /dev/null
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
@@ -0,0 +1,25 @@
+SUMMARY = "TI RTOS low level driver for ICSS-EMAC"
+
+inherit ti-pdk
+require icss-emac-lld.inc
+
+PR = "${INC_PR}.0"
+
+DEPENDS_append = " osal-rtos \
+                   pruss-lld-rtos \
+"
+DEPENDS_append_ti33x = " starterware-rtos \
+"
+DEPENDS_append_ti43x = " starterware-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_ICSS_EMAC_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "ICSS-EMAC LLD"
+
+INSANE_SKIP_${PN} = "arch"
-- 
2.7.4



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

* [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8
  2017-11-02 19:19 [PATCH 1/2] icss-emac-lld-rtos: add for TI RTOS Jacob Stiffler
@ 2017-11-02 19:19 ` Jacob Stiffler
  2017-11-06 19:42   ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Stiffler @ 2017-11-02 19:19 UTC (permalink / raw)
  To: meta-ti

* Extend compatibility to k2g-evm
* Simplify compile and install tasks as "TARGET" is no longer needed.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 .../icss-emac-lld/icss-emac-lld-test_git.bb        | 47 +++++++---------------
 recipes-bsp/icss-emac-lld/icss-emac-lld.inc        |  6 +--
 recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  3 +-
 3 files changed, 19 insertions(+), 37 deletions(-)

diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
index f62bf33..5093d7c 100644
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "TI ICSS-EMAC low level driver tests"
 
-DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal"
+DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal ti-pdk-build-rtos icss-emac-lld-rtos"
 
 DEPENDS_append_ti33x = " starterware"
 DEPENDS_append_ti43x = " starterware"
@@ -9,39 +9,22 @@ include icss-emac-lld.inc
 
 PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages ICSS_EMAC_SRC_DIR=${S}"
 
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
+DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
 
-do_compile_am57xx-evm () {
-#   Build the tests
-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
-    oe_runmake clean
-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
+do_compile () {
+    # Build the tests
+    for device in ${DEVICE_LIST}
+    do
+        oe_runmake tests DEVICE="$device"
+    done
 }
 
-do_compile_ti33x () {
-#   Build the tests
-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
-}
-
-do_compile_ti43x () {
-#   Build the tests
-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
-}
-
-do_install_am57xx-evm () {
-#   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x" TARGET="SOC_AM571x"
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x" TARGET="SOC_AM572x"
-}
-
-do_install_ti33x () {
-#   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
-}
-
-do_install_ti43x () {
-#   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
+do_install() {
+    # Install the binary
+    for device in ${DEVICE_LIST}
+    do
+        oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
 }
diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
index 8e2ffd4..621219b 100644
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
@@ -9,14 +9,14 @@ ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
 ICSS_EMAC_LLD_GIT_BRANCH = "master"
 ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
 
-# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.07C"
-ICSS_EMAC_LLD_SRCREV = "08cb0540eeab7721fe82b603cb6285393f314117"
+# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.08"
+ICSS_EMAC_LLD_SRCREV = "e689df18417236110590f7b290525a610d63f574"
 
 BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
 SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
 SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
-PV = "01.00.00.07C"
+PV = "01.00.00.08"
 INC_PR = "r0"
 
 S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
index 272529b..81a6f5e 100644
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
@@ -6,11 +6,10 @@ include icss-emac-lld.inc
 
 PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
-
 TARGET_NAME_am57xx-evm = "SOC_AM572x"
 TARGET_NAME_ti33x = "SOC_AM335x"
 TARGET_NAME_ti43x = "SOC_AM437x"
+TARGET_NAME_k2g-evm = "SOC_K2G"
 
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
 
-- 
2.7.4



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

* Re: [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8
  2017-11-02 19:19 ` [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8 Jacob Stiffler
@ 2017-11-06 19:42   ` Denys Dmytriyenko
  2017-11-06 20:57     ` Jacob Stiffler
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2017-11-06 19:42 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

On Thu, Nov 02, 2017 at 03:19:30PM -0400, Jacob Stiffler wrote:
> * Extend compatibility to k2g-evm
> * Simplify compile and install tasks as "TARGET" is no longer needed.
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  .../icss-emac-lld/icss-emac-lld-test_git.bb        | 47 +++++++---------------
>  recipes-bsp/icss-emac-lld/icss-emac-lld.inc        |  6 +--
>  recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  3 +-
>  3 files changed, 19 insertions(+), 37 deletions(-)
> 
> diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
> index f62bf33..5093d7c 100644
> --- a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
> +++ b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "TI ICSS-EMAC low level driver tests"
>  
> -DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal"
> +DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal ti-pdk-build-rtos icss-emac-lld-rtos"

Why is rtos specific packages being pulled into linux build?


>  DEPENDS_append_ti33x = " starterware"
>  DEPENDS_append_ti43x = " starterware"
> @@ -9,39 +9,22 @@ include icss-emac-lld.inc
>  
>  PR = "${INC_PR}.0"
>  
> -COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
> +EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages ICSS_EMAC_SRC_DIR=${S}"
>  
> -EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
> +DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
>  
> -do_compile_am57xx-evm () {
> -#   Build the tests
> -    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
> -    oe_runmake clean
> -    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
> +do_compile () {
> +    # Build the tests
> +    for device in ${DEVICE_LIST}
> +    do
> +        oe_runmake tests DEVICE="$device"
> +    done
>  }
>  
> -do_compile_ti33x () {
> -#   Build the tests
> -    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
> -}
> -
> -do_compile_ti43x () {
> -#   Build the tests
> -    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
> -}
> -
> -do_install_am57xx-evm () {
> -#   Install the binary
> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x" TARGET="SOC_AM571x"
> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x" TARGET="SOC_AM572x"
> -}
> -
> -do_install_ti33x () {
> -#   Install the binary
> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
> -}
> -
> -do_install_ti43x () {
> -#   Install the binary
> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
> +do_install() {
> +    # Install the binary
> +    for device in ${DEVICE_LIST}
> +    do
> +        oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
> +    done
>  }
> diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> index 8e2ffd4..621219b 100644
> --- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> +++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> @@ -9,14 +9,14 @@ ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
>  ICSS_EMAC_LLD_GIT_BRANCH = "master"
>  ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
>  
> -# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.07C"
> -ICSS_EMAC_LLD_SRCREV = "08cb0540eeab7721fe82b603cb6285393f314117"
> +# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.08"
> +ICSS_EMAC_LLD_SRCREV = "e689df18417236110590f7b290525a610d63f574"
>  
>  BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
>  SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
>  
>  SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
> -PV = "01.00.00.07C"
> +PV = "01.00.00.08"
>  INC_PR = "r0"
>  
>  S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
> diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
> index 272529b..81a6f5e 100644
> --- a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
> +++ b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
> @@ -6,11 +6,10 @@ include icss-emac-lld.inc
>  
>  PR = "${INC_PR}.0"
>  
> -COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
> -
>  TARGET_NAME_am57xx-evm = "SOC_AM572x"
>  TARGET_NAME_ti33x = "SOC_AM335x"
>  TARGET_NAME_ti43x = "SOC_AM437x"
> +TARGET_NAME_k2g-evm = "SOC_K2G"
>  
>  EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
>  
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8
  2017-11-06 19:42   ` Denys Dmytriyenko
@ 2017-11-06 20:57     ` Jacob Stiffler
  2017-11-07 17:02       ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Stiffler @ 2017-11-06 20:57 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



On 11/6/2017 2:42 PM, Denys Dmytriyenko wrote:
> On Thu, Nov 02, 2017 at 03:19:30PM -0400, Jacob Stiffler wrote:
>> * Extend compatibility to k2g-evm
>> * Simplify compile and install tasks as "TARGET" is no longer needed.
>>
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> ---
>>   .../icss-emac-lld/icss-emac-lld-test_git.bb        | 47 +++++++---------------
>>   recipes-bsp/icss-emac-lld/icss-emac-lld.inc        |  6 +--
>>   recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  3 +-
>>   3 files changed, 19 insertions(+), 37 deletions(-)
>>
>> diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
>> index f62bf33..5093d7c 100644
>> --- a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
>> +++ b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
>> @@ -1,6 +1,6 @@
>>   DESCRIPTION = "TI ICSS-EMAC low level driver tests"
>>   
>> -DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal"
>> +DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal ti-pdk-build-rtos icss-emac-lld-rtos"
> Why is rtos specific packages being pulled into linux build?

This requires the RTOS format for the firmware image, so it is using the 
RTOS package to get that firmware image.

>
>>   DEPENDS_append_ti33x = " starterware"
>>   DEPENDS_append_ti43x = " starterware"
>> @@ -9,39 +9,22 @@ include icss-emac-lld.inc
>>   
>>   PR = "${INC_PR}.0"
>>   
>> -COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
>> +EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages ICSS_EMAC_SRC_DIR=${S}"
>>   
>> -EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
>> +DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
>>   
>> -do_compile_am57xx-evm () {
>> -#   Build the tests
>> -    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
>> -    oe_runmake clean
>> -    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
>> +do_compile () {
>> +    # Build the tests
>> +    for device in ${DEVICE_LIST}
>> +    do
>> +        oe_runmake tests DEVICE="$device"
>> +    done
>>   }
>>   
>> -do_compile_ti33x () {
>> -#   Build the tests
>> -    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
>> -}
>> -
>> -do_compile_ti43x () {
>> -#   Build the tests
>> -    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
>> -}
>> -
>> -do_install_am57xx-evm () {
>> -#   Install the binary
>> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x" TARGET="SOC_AM571x"
>> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x" TARGET="SOC_AM572x"
>> -}
>> -
>> -do_install_ti33x () {
>> -#   Install the binary
>> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
>> -}
>> -
>> -do_install_ti43x () {
>> -#   Install the binary
>> -    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
>> +do_install() {
>> +    # Install the binary
>> +    for device in ${DEVICE_LIST}
>> +    do
>> +        oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
>> +    done
>>   }
>> diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
>> index 8e2ffd4..621219b 100644
>> --- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
>> +++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
>> @@ -9,14 +9,14 @@ ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
>>   ICSS_EMAC_LLD_GIT_BRANCH = "master"
>>   ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
>>   
>> -# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.07C"
>> -ICSS_EMAC_LLD_SRCREV = "08cb0540eeab7721fe82b603cb6285393f314117"
>> +# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.08"
>> +ICSS_EMAC_LLD_SRCREV = "e689df18417236110590f7b290525a610d63f574"
>>   
>>   BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
>>   SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
>>   
>>   SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
>> -PV = "01.00.00.07C"
>> +PV = "01.00.00.08"
>>   INC_PR = "r0"
>>   
>>   S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
>> diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
>> index 272529b..81a6f5e 100644
>> --- a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
>> +++ b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
>> @@ -6,11 +6,10 @@ include icss-emac-lld.inc
>>   
>>   PR = "${INC_PR}.0"
>>   
>> -COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
>> -
>>   TARGET_NAME_am57xx-evm = "SOC_AM572x"
>>   TARGET_NAME_ti33x = "SOC_AM335x"
>>   TARGET_NAME_ti43x = "SOC_AM437x"
>> +TARGET_NAME_k2g-evm = "SOC_K2G"
>>   
>>   EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
>>   
>> -- 
>> 2.7.4
>>
>> -- 
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



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

* Re: [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8
  2017-11-06 20:57     ` Jacob Stiffler
@ 2017-11-07 17:02       ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2017-11-07 17:02 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

On Mon, Nov 06, 2017 at 03:57:19PM -0500, Jacob Stiffler wrote:
> 
> 
> On 11/6/2017 2:42 PM, Denys Dmytriyenko wrote:
> >On Thu, Nov 02, 2017 at 03:19:30PM -0400, Jacob Stiffler wrote:
> >>* Extend compatibility to k2g-evm
> >>* Simplify compile and install tasks as "TARGET" is no longer needed.
> >>
> >>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> >>---
> >>  .../icss-emac-lld/icss-emac-lld-test_git.bb        | 47 +++++++---------------
> >>  recipes-bsp/icss-emac-lld/icss-emac-lld.inc        |  6 +--
> >>  recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  3 +-
> >>  3 files changed, 19 insertions(+), 37 deletions(-)
> >>
> >>diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
> >>index f62bf33..5093d7c 100644
> >>--- a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
> >>+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
> >>@@ -1,6 +1,6 @@
> >>  DESCRIPTION = "TI ICSS-EMAC low level driver tests"
> >>-DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal"
> >>+DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal ti-pdk-build-rtos icss-emac-lld-rtos"
> >Why is rtos specific packages being pulled into linux build?
> 
> This requires the RTOS format for the firmware image, so it is using
> the RTOS package to get that firmware image.

How much of RTOS dependencies are getting into Linux build? I see starterware, 
what else? Is it getting too heavy just for a firmware image?


> >>  DEPENDS_append_ti33x = " starterware"
> >>  DEPENDS_append_ti43x = " starterware"
> >>@@ -9,39 +9,22 @@ include icss-emac-lld.inc
> >>  PR = "${INC_PR}.0"
> >>-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
> >>+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages ICSS_EMAC_SRC_DIR=${S}"
> >>-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
> >>+DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
> >>-do_compile_am57xx-evm () {
> >>-#   Build the tests
> >>-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
> >>-    oe_runmake clean
> >>-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
> >>+do_compile () {
> >>+    # Build the tests
> >>+    for device in ${DEVICE_LIST}
> >>+    do
> >>+        oe_runmake tests DEVICE="$device"
> >>+    done
> >>  }
> >>-do_compile_ti33x () {
> >>-#   Build the tests
> >>-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
> >>-}
> >>-
> >>-do_compile_ti43x () {
> >>-#   Build the tests
> >>-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
> >>-}
> >>-
> >>-do_install_am57xx-evm () {
> >>-#   Install the binary
> >>-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x" TARGET="SOC_AM571x"
> >>-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x" TARGET="SOC_AM572x"
> >>-}
> >>-
> >>-do_install_ti33x () {
> >>-#   Install the binary
> >>-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
> >>-}
> >>-
> >>-do_install_ti43x () {
> >>-#   Install the binary
> >>-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
> >>+do_install() {
> >>+    # Install the binary
> >>+    for device in ${DEVICE_LIST}
> >>+    do
> >>+        oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
> >>+    done
> >>  }
> >>diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> >>index 8e2ffd4..621219b 100644
> >>--- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> >>+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> >>@@ -9,14 +9,14 @@ ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
> >>  ICSS_EMAC_LLD_GIT_BRANCH = "master"
> >>  ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
> >>-# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.07C"
> >>-ICSS_EMAC_LLD_SRCREV = "08cb0540eeab7721fe82b603cb6285393f314117"
> >>+# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.08"
> >>+ICSS_EMAC_LLD_SRCREV = "e689df18417236110590f7b290525a610d63f574"
> >>  BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
> >>  SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
> >>  SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
> >>-PV = "01.00.00.07C"
> >>+PV = "01.00.00.08"
> >>  INC_PR = "r0"
> >>  S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
> >>diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
> >>index 272529b..81a6f5e 100644
> >>--- a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
> >>+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
> >>@@ -6,11 +6,10 @@ include icss-emac-lld.inc
> >>  PR = "${INC_PR}.0"
> >>-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
> >>-
> >>  TARGET_NAME_am57xx-evm = "SOC_AM572x"
> >>  TARGET_NAME_ti33x = "SOC_AM335x"
> >>  TARGET_NAME_ti43x = "SOC_AM437x"
> >>+TARGET_NAME_k2g-evm = "SOC_K2G"
> >>  EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
> >>-- 
> >>2.7.4
> >>
> >>-- 
> >>_______________________________________________
> >>meta-ti mailing list
> >>meta-ti@yoctoproject.org
> >>https://lists.yoctoproject.org/listinfo/meta-ti
> 


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

end of thread, other threads:[~2017-11-07 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 19:19 [PATCH 1/2] icss-emac-lld-rtos: add for TI RTOS Jacob Stiffler
2017-11-02 19:19 ` [PATCH 2/2] icss-emac-lld: update to version 1.0.0.8 Jacob Stiffler
2017-11-06 19:42   ` Denys Dmytriyenko
2017-11-06 20:57     ` Jacob Stiffler
2017-11-07 17:02       ` Denys Dmytriyenko

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.