Skip to contentSkip to conversation

ti-ipc: Update to new version 3.47.02.00

PATCH In review Sam Nelson 1 participant 2 messages May 21, 2018 – May 22, 2018

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v5 1/1 ti-ipc: Update to new version 3.47.02.00

Added new examples for AM571X

---
Change from previous version
Remove signit part
---

---
 recipes-ti/ipc/ti-ipc-3.47.01.00.inc              |  4 --
 recipes-ti/ipc/ti-ipc-3.47.02.00.inc              |  4 ++
 recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend |  4 +-
 recipes-ti/ipc/ti-ipc-examples_git.bbappend       | 57 ++++++++++++++++++++++-
 recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc         |  7 ---
 recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc         |  5 ++
 recipes-ti/ipc/ti-ipc-rtos_git.bbappend           | 52 ++++++++++++++++++++-
 recipes-ti/ipc/ti-ipc_git.bbappend                |  2 +-
 8 files changed, 117 insertions(+), 18 deletions(-)
 delete mode 100644 recipes-ti/ipc/ti-ipc-3.47.01.00.inc
 create mode 100644 recipes-ti/ipc/ti-ipc-3.47.02.00.inc
 delete mode 100644 recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc
 create mode 100644 recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc
recipes-ti/ipc/ti-ipc-3.47.01.00.inc deleted +0 -4
deleted file mode 100644
index 02abfa6..0000000
@@ -1,4 +0,0 @@
-PV = "3.47.01.00"
-
-#Corresponds to 3.47.01.00A
-TI_IPC_SRCREV = "6a2595a4148fb12f259efc19164a9d33ad2ed294"
recipes-ti/ipc/ti-ipc-3.47.02.00.inc new file +4 -0
new file mode 100644
index 0000000..970f04b
@@ -0,0 +1,4 @@
+PV = "3.47.02.00"
+
+#Corresponds to 3.47.02.00
+TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend +2 -2
index c0eac74..6d6a771 100644
@@ -1,5 +1,5 @@
 PR_append = ".tisdk1"
 
-require ti-ipc-3.47.01.00.inc
+require ti-ipc-3.47.02.00.inc
 
-require ti-ipc-rtos-3.47.01.00.inc
+require ti-ipc-rtos-3.47.02.00.inc
recipes-ti/ipc/ti-ipc-examples_git.bbappend +55 -2

60 lines not on this page · raw message

recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc deleted +0 -7
deleted file mode 100644
index d31773d..0000000
@@ -1,7 +0,0 @@
-# Corresponds to tag: 3.47.01.00B
-SRCREV_ipc-examples = "03ff856444b5bb9e60a907125a1f042b29b25d7b"
-
-# Corresponds to tag: 3.47.01.00A
-SRCREV_ipc-metadata = "72578cce9c9f9a932eb22b3397b46131efb12d69"
-
-PR = "${INC_PR}.r5"
recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc new file +5 -0
new file mode 100644
index 0000000..84178e7
@@ -0,0 +1,5 @@
+# Corresponds to tag: 3.47.02.00
+SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+
+# Corresponds to tag: 3.47.02.00
+SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
recipes-ti/ipc/ti-ipc-rtos_git.bbappend +50 -2

55 lines not on this page · raw message

recipes-ti/ipc/ti-ipc_git.bbappend +1 -1
index 96b3c2d..3451b19 100644
@@ -1,3 +1,3 @@
 PR_append = ".tisdk0"
 
-require ti-ipc-3.47.01.00.inc
+require ti-ipc-3.47.02.00.inc
Signature · 1 line
1.9.1
#1 lore raw

Ping..

Quoted 244 lines

-----Original Message-----
From: Nelson, Sam
Sent: Monday, May 21, 2018 10:10 AM
To: [email protected]
Cc: Nelson, Sam
Subject: [meta-processor-sdk][PATCH v5] ti-ipc: Update to new version 3.47.02.00

Added new examples for AM571X

---
Change from previous version
Remove signit part
---

---
 recipes-ti/ipc/ti-ipc-3.47.01.00.inc              |  4 --
 recipes-ti/ipc/ti-ipc-3.47.02.00.inc              |  4 ++
 recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend |  4 +-
 recipes-ti/ipc/ti-ipc-examples_git.bbappend       | 57
++++++++++++++++++++++-
 recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc         |  7 ---
 recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc         |  5 ++
 recipes-ti/ipc/ti-ipc-rtos_git.bbappend           | 52 ++++++++++++++++++++-
 recipes-ti/ipc/ti-ipc_git.bbappend                |  2 +-
 8 files changed, 117 insertions(+), 18 deletions(-)
 delete mode 100644 recipes-ti/ipc/ti-ipc-3.47.01.00.inc
 create mode 100644 recipes-ti/ipc/ti-ipc-3.47.02.00.inc
 delete mode 100644 recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc
 create mode 100644 recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-3.47.01.00.inc +0 -0

3.47.01.00.inc
deleted file mode 100644
index 02abfa6..0000000

recipes-ti/ipc/ti-ipc-3.47.01.00.inc deleted +0 -4
@@ -1,4 +0,0 @@
-PV = "3.47.01.00"
-
-#Corresponds to 3.47.01.00A
-TI_IPC_SRCREV = "6a2595a4148fb12f259efc19164a9d33ad2ed294"
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-3.47.02.00.inc +0 -0

3.47.02.00.inc
new file mode 100644
index 0000000..970f04b

recipes-ti/ipc/ti-ipc-3.47.02.00.inc new file +4 -0
@@ -0,0 +1,4 @@
+PV = "3.47.02.00"
+
+#Corresponds to 3.47.02.00
+TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
recipes- renamed from recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend +0 -0

ti/ipc/ti-ipc-examples-linux_git.bbappend
index c0eac74..6d6a771 100644

recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend +2 -2
@@ -1,5 +1,5 @@
 PR_append = ".tisdk1"
 
-require ti-ipc-3.47.01.00.inc
+require ti-ipc-3.47.02.00.inc
 
-require ti-ipc-rtos-3.47.01.00.inc
+require ti-ipc-rtos-3.47.02.00.inc
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-examples_git.bbappend +0 -0

examples_git.bbappend
index c0eac74..4491a25 100644

recipes-ti/ipc/ti-ipc-examples_git.bbappend +22 -1
@@ -1,5 +1,58 @@
 PR_append = ".tisdk1"
 
-require ti-ipc-3.47.01.00.inc
+require ti-ipc-3.47.02.00.inc
+
+require ti-ipc-rtos-3.47.02.00.inc
+
+ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
+
+do_compile() {
+
+  cd ${S_ipc-examples}/src
+  oe_runmake .examples \
+    IPCTOOLS="${S_ipc-metadata}/src/etc"
+
+  for alt_platform in ${ALT_PLATFORM}; do
+    oe_runmake .examples "PLATFORM=${alt_platform}" \
+      IPCTOOLS="${S_ipc-metadata}/src/etc"
+  done
+}
+
+do_compile_append() {
+
+  if [  "${PLATFORM}" != "UNKNOWN" ]; then
+    oe_runmake extract HOSTOS="bios"

IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"

recipes-ti/ipc/ti-ipc-examples_git.bbappend +21 -0
+
+    for alt_platform in ${ALT_PLATFORM}; do
+      oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \
+         IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
+    done
+    oe_runmake -C examples all HOSTOS="bios" \
+      IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
+    for alt_platform in ${ALT_PLATFORM}; do
+      oe_runmake -C examples all HOSTOS="bios" \
+        IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}"
+    done
+  fi
+}
+
+do_install_append() {
+  if [  "${PLATFORM}" != "UNKNOWN" ]; then
+    # Install directory for bios examples
+    install -d ${D}/ipc_${IPC_VERSION}/examples/bios
+    oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
+      HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
+    oe_runmake -C examples install_rov

IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \

recipes-ti/ipc/ti-ipc-examples_git.bbappend +5 -0
+      HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
+
+    for alt_platform in ${ALT_PLATFORM}; do
+      oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
+        HOSTOS="bios"

EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \

recipes-ti/ipc/ti-ipc-examples_git.bbappend +2 -0
+        PLATFORM="${alt_platform}"
+      oe_runmake -C examples install_rov

IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
+ HOSTOS="bios"
EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \

recipes-ti/ipc/ti-ipc-examples_git.bbappend +4 -1
+        PLATFORM="${alt_platform}"
+    done
+  fi
+}
 
-require ti-ipc-rtos-3.47.01.00.inc
recipes-ti/ipc/ti-ipc-rtos- renamed from recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc +0 -0

3.47.01.00.inc
deleted file mode 100644
index d31773d..0000000

recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc deleted +0 -7
@@ -1,7 +0,0 @@
-# Corresponds to tag: 3.47.01.00B
-SRCREV_ipc-examples = "03ff856444b5bb9e60a907125a1f042b29b25d7b"
-
-# Corresponds to tag: 3.47.01.00A
-SRCREV_ipc-metadata = "72578cce9c9f9a932eb22b3397b46131efb12d69"
-
-PR = "${INC_PR}.r5"
recipes-ti/ipc/ti-ipc-rtos- renamed from recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc +0 -0

3.47.02.00.inc
new file mode 100644
index 0000000..84178e7

recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc new file +5 -0
@@ -0,0 +1,5 @@
+# Corresponds to tag: 3.47.02.00
+SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+
+# Corresponds to tag: 3.47.02.00
+SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bbappend +0 -0

rtos_git.bbappend
index c0eac74..d181688 100644

recipes-ti/ipc/ti-ipc-rtos_git.bbappend +29 -2
@@ -1,5 +1,53 @@
 PR_append = ".tisdk1"
 
-require ti-ipc-3.47.01.00.inc
+require ti-ipc-3.47.02.00.inc
 
-require ti-ipc-rtos-3.47.01.00.inc
+require ti-ipc-rtos-3.47.02.00.inc
+
+ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
+
+do_compile() {
+  oe_runmake -f ipc-bios.mak clean
+  oe_runmake -f ipc-bios.mak release
+
+  cd ${S_ipc-metadata}
+  oe_runmake .all-files IPC_INSTALL_DIR="${S}" \
+    BUILD_HOST_OS="linux" \
+    RELEASE_TYPE="${RELEASE_TYPE}"
+
+  cd ${S_ipc-examples}/src
+  oe_runmake .examples \
+    IPCTOOLS="${S_ipc-metadata}/src/etc"
+  for alt_platform in ${ALT_PLATFORM}; do
+    oe_runmake .examples \
+      IPCTOOLS="${S_ipc-metadata}/src/etc" \
+      PLATFORM=${alt_platform}
+  done
+
+  if [  "${PLATFORM}" != "UNKNOWN" ]; then
+    oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}"
+    oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}"
+
+    for alt_platform in ${ALT_PLATFORM}; do
+      oe_runmake extract PLATFORM=${alt_platform} HOSTOS="bios"

IPC_INSTALL_DIR="${S}"
+ oe_runmake extract PLATFORM=${alt_platform} HOSTOS="linux"
IPC_INSTALL_DIR="${S}"

recipes-ti/ipc/ti-ipc-rtos_git.bbappend +7 -0
+    done
+  fi
+
+  IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
+  install -d ${IPC_PACKAGE_DIR}
+  # Copy docs and other meta files
+  cp -pPrf  ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d

${IPC_PACKAGE_DIR}

recipes-ti/ipc/ti-ipc-rtos_git.bbappend +5 -0
+
+  # Copy example folders corresponding to the platforms
+  if [  "${PLATFORM}" != "UNKNOWN" ]; then
+    install -d ${IPC_PACKAGE_DIR}/examples
+    cp -pPf ${S_ipc-examples}/src/examples/*.*

${IPC_PACKAGE_DIR}/examples/
+ cp -pPf ${S_ipc-examples}/src/examples/makefile
${IPC_PACKAGE_DIR}/examples/
+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*
${IPC_PACKAGE_DIR}/examples/

recipes-ti/ipc/ti-ipc-rtos_git.bbappend +2 -0
+    for alt_platform in ${ALT_PLATFORM}; do
+      cp -pPrf ${S_ipc-examples}/src/examples/${alt_platform}*

${IPC_PACKAGE_DIR}/examples/

recipes-ti/ipc/ti-ipc-rtos_git.bbappend +4 -0
+    done
+    find ${IPC_PACKAGE_DIR}/examples/ -name "*zip" -type f | xargs -I {} rm {}
+  fi
+}
recipes-ti/ipc/ti- renamed from recipes-ti/ipc/ti-ipc_git.bbappend +0 -0

ipc_git.bbappend
index 96b3c2d..3451b19 100644

recipes-ti/ipc/ti-ipc_git.bbappend +1 -2
@@ -1,3 +1,3 @@
 PR_append = ".tisdk0"
 
-require ti-ipc-3.47.01.00.inc
+require ti-ipc-3.47.02.00.inc
--

1.9.1