Skip to contentSkip to conversation

icss-emac-lld*: update to version 01.00.00.08

PATCH Superseded Hongmei Gou 4 participants 5 messages Sep 20, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 icss-emac-lld*: update to version 01.00.00.08

* Add icss-emac-lld-rtos to build firmware binaries
* Add k2g support for linux user space
* Cleanup to remove TARGET from oe_runmake

---
 .../icss-emac-lld/icss-emac-lld-01.00.00.inc       |  6 ++--
 .../icss-emac-lld/icss-emac-lld-rtos_git.bb        | 28 ++++++++++++++++++
 .../icss-emac-lld/icss-emac-lld-test_git.bb        | 34 +++++++++++++---------
 recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  5 ++--
 4 files changed, 54 insertions(+), 19 deletions(-)
 create mode 100644 recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +3 -3
index 8e2ffd4..621219b 100644
@@ -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}"
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +28 -0
new file mode 100644
index 0000000..06ee279
@@ -0,0 +1,28 @@
+inherit ti-pdk
+require icss-emac-lld-01.00.00.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"
+
+LIMSOCS_ti33x = "am335x"
+LIMSOCS_ti43x = "am437x"
+LIMSOCS_am57xx-evm = "am571x am572x"
+LIMSOCS_k2g = "k2g"
+
+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"
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +21 -13
index 6beafbf..375bfbc 100644
@@ -1,47 +1,55 @@
 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"
 
 include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
+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}"
 
 do_compile_am57xx-evm () {
 #   Build the tests
-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
+    oe_runmake tests DEVICE="am571x"
     oe_runmake clean
-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
+    oe_runmake tests DEVICE="am572x"
 }
 
 do_compile_ti33x () {
 #   Build the tests
-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake tests DEVICE="am335x"
 }
 
 do_compile_ti43x () {
 #   Build the tests
-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake tests DEVICE="am437x"
+}
+
+do_compile_k2g-evm () {
+#   Build the tests
+    oe_runmake tests DEVICE="k2g"
 }
 
 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"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x"
 }
 
 do_install_ti33x () {
 #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x"
 }
 
 do_install_ti43x () {
 #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x"
+}
+
+do_install_k2g-evm () {
+#   Install the binary
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="k2g"
 }
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +2 -3
index b3be89b..bfa655d 100644
@@ -4,13 +4,12 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
 include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
-
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
+PR = "${INC_PR}.0"
 
 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}"
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 51 lines · Hongmei Gou

* Add icss-emac-lld-rtos to build firmware binaries
* Add k2g support for linux user space
* Cleanup to remove TARGET from oe_runmake

---
  .../icss-emac-lld/icss-emac-lld-01.00.00.inc       |  6 ++--
  .../icss-emac-lld/icss-emac-lld-rtos_git.bb        | 28 ++++++++++++++++++
  .../icss-emac-lld/icss-emac-lld-test_git.bb        | 34 +++++++++++++---------
  recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  5 ++--
  4 files changed, 54 insertions(+), 19 deletions(-)

create mode 100644 recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +3 -3
index 8e2ffd4..621219b 100644
@@ -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}"
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +10 -0
new file mode 100644
index 0000000..06ee279
@@ -0,0 +1,28 @@
+inherit ti-pdk
+require icss-emac-lld-01.00.00.inc
+
+PR = "${INC_PR}.0"
+
+DEPENDS_append = " osal-rtos \
+                   pruss-lld-rtos \
+"
+DEPENDS_append_ti33x = " starterware-rtos \
+"

recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb line 20

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +10 -0
+DEPENDS_append_ti43x = " starterware-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+LIMSOCS_ti33x = "am335x"
+LIMSOCS_ti43x = "am437x"
+LIMSOCS_am57xx-evm = "am571x am572x"
+LIMSOCS_k2g = "k2g"

The LIMIT_SOCS are not used by the ti-pdk.bbclass anymore. See http://arago-project.org/git/?p=meta-ti.git;a=commitdiff;h=b00044c43e7785decb1d6ac35349ca4b2711676e

The correct variables are set in the machine configuration, so they can be removed from there.

Quoted 71 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +8 -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"
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +15 -12
index 6beafbf..375bfbc 100644
@@ -1,47 +1,55 @@
  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"
 
  include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
+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}"
 
  do_compile_am57xx-evm () {
  #   Build the tests
-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
+    oe_runmake tests DEVICE="am571x"
      oe_runmake clean
-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
+    oe_runmake tests DEVICE="am572x"
  }
 
  do_compile_ti33x () {
  #   Build the tests
-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake tests DEVICE="am335x"
  }
 
  do_compile_ti43x () {
  #   Build the tests
-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake tests DEVICE="am437x"
+}
+
+do_compile_k2g-evm () {
+#   Build the tests
+    oe_runmake tests DEVICE="k2g"
  }
 
  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"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x"
  }
 
  do_install_ti33x () {
  #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x"
  }
 

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 55

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +6 -1
  do_install_ti43x () {
  #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x"
+}
+
+do_install_k2g-evm () {
+#   Install the binary
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="k2g"
  }

It appears that this "DEVICE" is an element out of the TI_PDK_LIMIT_SOCS list. If this is true, then these compile and install tasks can be greatly simplified by looping over the TI_PDK_LIMIT_SOCS list.

Quoted 20 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +2 -3
index b3be89b..bfa655d 100644
@@ -4,13 +4,12 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
  include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
-
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
+PR = "${INC_PR}.0"
 
  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 lore raw

Jake,
For the RTOS recipe, can we apply the below meta-ti patch (under review) which has addressed the review comments ?
http://patchwork.dal.design.ti.com/patch/32325/

Regards
Mahesh

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stiffler, Jacob
Sent: Wednesday, September 20, 2017 11:40 AM
To: Gou, Hongmei; [email protected]
Subject: Re: [meta-arago] [EXTERNAL] [meta-processor-sdk] [PATCH] icss-emac-lld*: update to version 01.00.00.08

Quoted 52 lines · Hongmei Gou

* Add icss-emac-lld-rtos to build firmware binaries
* Add k2g support for linux user space
* Cleanup to remove TARGET from oe_runmake

---
  .../icss-emac-lld/icss-emac-lld-01.00.00.inc       |  6 ++--
  .../icss-emac-lld/icss-emac-lld-rtos_git.bb        | 28 ++++++++++++++++++
  .../icss-emac-lld/icss-emac-lld-test_git.bb        | 34 +++++++++++++---------
  recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  5 ++--
  4 files changed, 54 insertions(+), 19 deletions(-)

create mode 100644
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +3 -3
index 8e2ffd4..621219b 100644
@@ -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}"
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +8 -0
new file mode 100644
index 0000000..06ee279
@@ -0,0 +1,28 @@
+inherit ti-pdk
+require icss-emac-lld-01.00.00.inc
+
+PR = "${INC_PR}.0"
+
+DEPENDS_append = " osal-rtos \
+                   pruss-lld-rtos \
+"

recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb line 18

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +10 -0
+DEPENDS_append_ti33x = " starterware-rtos \ "
+DEPENDS_append_ti43x = " starterware-rtos \ "
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+LIMSOCS_ti33x = "am335x"
+LIMSOCS_ti43x = "am437x"
+LIMSOCS_am57xx-evm = "am571x am572x"
+LIMSOCS_k2g = "k2g"

The LIMIT_SOCS are not used by the ti-pdk.bbclass anymore. See http://arago-project.org/git/?p=meta-ti.git;a=commitdiff;h=b00044c43e7785decb1d6ac35349ca4b2711676e

The correct variables are set in the machine configuration, so they can be removed from there.

Quoted 72 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +8 -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"
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +15 -12
index 6beafbf..375bfbc 100644
@@ -1,47 +1,55 @@
  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"
 
  include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
+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}"
 
  do_compile_am57xx-evm () {
  #   Build the tests
-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
+    oe_runmake tests DEVICE="am571x"
      oe_runmake clean
-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
+    oe_runmake tests DEVICE="am572x"
  }
 
  do_compile_ti33x () {
  #   Build the tests
-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake tests DEVICE="am335x"
  }
 
  do_compile_ti43x () {
  #   Build the tests
-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake tests DEVICE="am437x"
+}
+
+do_compile_k2g-evm () {
+#   Build the tests
+    oe_runmake tests DEVICE="k2g"
  }
 
  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"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x"
  }
 
  do_install_ti33x () {
  #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x"
  }
 

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 55

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +6 -1
  do_install_ti43x () {
  #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x"
+}
+
+do_install_k2g-evm () {
+#   Install the binary
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="k2g"
  }

It appears that this "DEVICE" is an element out of the TI_PDK_LIMIT_SOCS list. If this is true, then these compile and install tasks can be greatly simplified by looping over the TI_PDK_LIMIT_SOCS list.

Quoted 11 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +0 -2
index b3be89b..bfa655d 100644
@@ -4,13 +4,12 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
  include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
-

recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb DEPENDS="common-csl-ip pruss-lld osal" · line 15

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +2 -1
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
+PR = "${INC_PR}.0"
 
  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}"
 

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw
Quoted 3 lines · Mahesh

Jake,
For the RTOS recipe, can we apply the below meta-ti patch (under review) which has addressed the review comments ?
http://patchwork.dal.design.ti.com/patch/32325/

We will still need to bump the version to 1.0.0.8.

Quoted 188 lines

Regards
Mahesh

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stiffler, Jacob
Sent: Wednesday, September 20, 2017 11:40 AM
To: Gou, Hongmei; [email protected]
Subject: Re: [meta-arago] [EXTERNAL] [meta-processor-sdk] [PATCH] icss-emac-lld*: update to version 01.00.00.08

Quoted 52 lines · Hongmei Gou

* Add icss-emac-lld-rtos to build firmware binaries
* Add k2g support for linux user space
* Cleanup to remove TARGET from oe_runmake

---
   .../icss-emac-lld/icss-emac-lld-01.00.00.inc       |  6 ++--
   .../icss-emac-lld/icss-emac-lld-rtos_git.bb        | 28 ++++++++++++++++++
   .../icss-emac-lld/icss-emac-lld-test_git.bb        | 34 +++++++++++++---------
   recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  5 ++--
   4 files changed, 54 insertions(+), 19 deletions(-)

create mode 100644
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +3 -3
index 8e2ffd4..621219b 100644
@@ -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}"
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +8 -0
new file mode 100644
index 0000000..06ee279
@@ -0,0 +1,28 @@
+inherit ti-pdk
+require icss-emac-lld-01.00.00.inc
+
+PR = "${INC_PR}.0"
+
+DEPENDS_append = " osal-rtos \
+                   pruss-lld-rtos \
+"

recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb line 18

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +10 -0
+DEPENDS_append_ti33x = " starterware-rtos \ "
+DEPENDS_append_ti43x = " starterware-rtos \ "
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+LIMSOCS_ti33x = "am335x"
+LIMSOCS_ti43x = "am437x"
+LIMSOCS_am57xx-evm = "am571x am572x"
+LIMSOCS_k2g = "k2g"

The LIMIT_SOCS are not used by the ti-pdk.bbclass anymore. See http://arago-project.org/git/?p=meta-ti.git;a=commitdiff;h=b00044c43e7785decb1d6ac35349ca4b2711676e

The correct variables are set in the machine configuration, so they can be removed from there.

Quoted 72 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +8 -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"
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +15 -12
index 6beafbf..375bfbc 100644
@@ -1,47 +1,55 @@
   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"
 
   include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"
+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}"
 
   do_compile_am57xx-evm () {
   #   Build the tests
-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
+    oe_runmake tests DEVICE="am571x"
       oe_runmake clean
-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
+    oe_runmake tests DEVICE="am572x"
   }
 
   do_compile_ti33x () {
   #   Build the tests
-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake tests DEVICE="am335x"
   }
 
   do_compile_ti43x () {
   #   Build the tests
-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake tests DEVICE="am437x"
+}
+
+do_compile_k2g-evm () {
+#   Build the tests
+    oe_runmake tests DEVICE="k2g"
   }
 
   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"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am571x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am572x"
   }
 
   do_install_ti33x () {
   #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am335x"
   }
 

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 55

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +6 -1
   do_install_ti43x () {
   #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="am437x"
+}
+
+do_install_k2g-evm () {
+#   Install the binary
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="k2g"
   }

It appears that this "DEVICE" is an element out of the TI_PDK_LIMIT_SOCS list. If this is true, then these compile and install tasks can be greatly simplified by looping over the TI_PDK_LIMIT_SOCS list.

Quoted 11 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +0 -2
index b3be89b..bfa655d 100644
@@ -4,13 +4,12 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
   include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
-

recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb DEPENDS="common-csl-ip pruss-lld osal" · line 15

Quoted 10 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +2 -1
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
+PR = "${INC_PR}.0"
 
   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}"
 

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#4 lore raw
Quoted 9 lines

-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, September 20, 2017 11:46 AM
To: Radhakrishnan, Mahesh; Gou, Hongmei; [email protected]
Subject: Re: [meta-arago] [EXTERNAL] [meta-processor-sdk] [PATCH] icss- emac-lld*: update to version 01.00.00.08

Quoted 8 lines
Quoted 2 lines · Mahesh

Jake,
For the RTOS recipe, can we apply the below meta-ti patch (under

review) which has addressed the review comments ?

Quoted 1 line

http://patchwork.dal.design.ti.com/patch/32325/

We will still need to bump the version to 1.0.0.8.

I will separate the original patch into two patches, one for RTOS which uses http://patchwork.dal.design.ti.com/patch/32325/, and another one which includes version bump and the update for linux user space.

Quoted 216 lines
Quoted 6 lines

Regards
Mahesh

-----Original Message-----
From: [email protected] [mailto:meta-arago-

[email protected]] On Behalf Of Stiffler, Jacob

Quoted 3 lines

Sent: Wednesday, September 20, 2017 11:40 AM
To: Gou, Hongmei; [email protected]
Subject: Re: [meta-arago] [EXTERNAL] [meta-processor-sdk] [PATCH] icss-

emac-lld*: update to version 01.00.00.08

Quoted 8 lines · Hongmei Gou
Quoted 4 lines

* Add icss-emac-lld-rtos to build firmware binaries
* Add k2g support for linux user space
* Cleanup to remove TARGET from oe_runmake

Quoted 4 lines
Quoted 4 lines
---
   .../icss-emac-lld/icss-emac-lld-01.00.00.inc       |  6 ++--
   .../icss-emac-lld/icss-emac-lld-rtos_git.bb        | 28

++++++++++++++++++

Quoted 1 line
Quoted 1 line
   .../icss-emac-lld/icss-emac-lld-test_git.bb        | 34 +++++++++++++-------

--

Quoted 14 lines
Quoted 14 lines
   recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb     |  5 ++--
   4 files changed, 54 insertions(+), 19 deletions(-)

create mode 100644
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +0 -0
index 8e2ffd4..621219b 100644
@@ -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"
 
Quoted 2 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc ICSS_EMAC_LLD_GIT_PROTOCOL = "git" · line 13

Quoted 2 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +0 -2
-# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.07C"
-ICSS_EMAC_LLD_SRCREV =

"08cb0540eeab7721fe82b603cb6285393f314117"

Quoted 2 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc ICSS_EMAC_LLD_GIT_PROTOCOL = "git" · line 13

Quoted 2 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +2 -0
+# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.08"
+ICSS_EMAC_LLD_SRCREV =

"e689df18417236110590f7b290525a610d63f574"

Quoted 3 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc ICSS_EMAC_LLD_GIT_PROTOCOL = "git" · line 15

Quoted 3 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +0 -0
   BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
   SRC_URI =

"${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFI X};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"

Quoted 25 lines
Quoted 25 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-01.00.00.inc +1 -1
   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}"
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +11 -0
new file mode 100644
index 0000000..06ee279
@@ -0,0 +1,28 @@
+inherit ti-pdk
+require icss-emac-lld-01.00.00.inc
+
+PR = "${INC_PR}.0"
+
+DEPENDS_append = " osal-rtos \
+                   pruss-lld-rtos \
+"
+DEPENDS_append_ti33x = " starterware-rtos \ "
+DEPENDS_append_ti43x = " starterware-rtos \ "
+
Quoted 8 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb line 20

Quoted 7 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +7 -0
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+LIMSOCS_ti33x = "am335x"
+LIMSOCS_ti43x = "am437x"
+LIMSOCS_am57xx-evm = "am571x am572x"
+LIMSOCS_k2g = "k2g"

The LIMIT_SOCS are not used by the ti-pdk.bbclass anymore. See

http://arago-project.org/git/?p=meta-
ti.git;a=commitdiff;h=b00044c43e7785decb1d6ac35349ca4b2711676e

Quoted 2 lines

The correct variables are set in the machine configuration, so they can be

removed from there.

Quoted 17 lines
Quoted 17 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb new file +8 -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"
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -0
index 6beafbf..375bfbc 100644
@@ -1,47 +1,55 @@
   DESCRIPTION = "TI ICSS-EMAC low level driver tests"
 
Quoted 2 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 3

Quoted 2 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -1
-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"

Quoted 4 lines
Quoted 4 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -0
   DEPENDS_append_ti33x = " starterware"
   DEPENDS_append_ti43x = " starterware"
 
Quoted 8 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb

Quoted 8 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -4
   include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.0"
 
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
-
-EXTRA_OEMAKE += "-f makefile_armv7

PDK_INSTALL_PATH=${STAGING_INCDIR} ICSS_EMAC_SRC_DIR=${S}"

Quoted 1 line

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 11

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -0
+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}"

Quoted 27 lines
Quoted 27 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +9 -4
   do_compile_am57xx-evm () {
   #   Build the tests
-    oe_runmake tests DEVICE="am571x" TARGET="SOC_AM571x"
+    oe_runmake tests DEVICE="am571x"
       oe_runmake clean
-    oe_runmake tests DEVICE="am572x" TARGET="SOC_AM572x"
+    oe_runmake tests DEVICE="am572x"
   }
 
   do_compile_ti33x () {
   #   Build the tests
-    oe_runmake tests DEVICE="am335x" TARGET="SOC_AM335x"
+    oe_runmake tests DEVICE="am335x"
   }
 
   do_compile_ti43x () {
   #   Build the tests
-    oe_runmake tests DEVICE="am437x" TARGET="SOC_AM437x"
+    oe_runmake tests DEVICE="am437x"
+}
+
+do_compile_k2g-evm () {
+#   Build the tests
+    oe_runmake tests DEVICE="k2g"
   }
 
Quoted 3 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb

Quoted 3 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -1
   do_install_am57xx-evm () {
   #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am571x" TARGET="SOC_AM571x"

Quoted 1 line

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 34

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -1
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am572x" TARGET="SOC_AM572x"

Quoted 1 line

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 36

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -0
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am571x"

Quoted 1 line

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 37

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -0
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am572x"

Quoted 5 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb

Quoted 5 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -1
   }
 
   do_install_ti33x () {
   #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am335x" TARGET="SOC_AM335x"

Quoted 1 line

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 42

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -0
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am335x"

Quoted 5 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb

Quoted 5 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -1
   }
 
   do_install_ti43x () {
   #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am437x" TARGET="SOC_AM437x"

Quoted 1 line

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 47

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +1 -0
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="am437x"

Quoted 5 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb

Quoted 5 lines
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +5 -0
+}
+
+do_install_k2g-evm () {
+#   Install the binary
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}

DEVICE="k2g"

Quoted 2 lines

recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb line 53

Quoted 1 line
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb +0 -0
   }

It appears that this "DEVICE" is an element out of the TI_PDK_LIMIT_SOCS

list. If this is true, then these compile and install tasks can be greatly simplified by looping over the TI_PDK_LIMIT_SOCS list.

Quoted 15 lines
Quoted 15 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +1 -3
index b3be89b..bfa655d 100644
@@ -4,13 +4,12 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
   include icss-emac-lld-01.00.00.inc
 
-PR = "${INC_PR}.2"
-
-COMPATIBLE_MACHINE = "am57xx-evm|ti33x|ti43x"
+PR = "${INC_PR}.0"
 
Quoted 6 lines

recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb DEPENDS="common-csl-ip pruss-lld osal"

Quoted 6 lines
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +1 -0
   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}"

Quoted 5 lines
Quoted 1 line

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago