ti-ipc: Update to new version 3.47.02.00
PATCH v4 1/1 ti-ipc: Update to new version 3.47.02.00
Added new examples for AM571X
---
Change from previous version
Update alt platform for am57xx-evm instead of dra7xx
---
--- 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 | 67 ++++++++++++++++++++++- recipes-ti/ipc/ti-ipc_git.bbappend | 2 +- 8 files changed, 132 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 +65 -2
70 lines not on this page · raw message
recipes-ti/ipc/ti-ipc_git.bbappend +1 -1
@@ -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
Quoted 150 lines · Sam Nelson
Added new examples for AM571X
Signed-off-by Sam Nelson <[email protected]>---
Change from previous version
Update alt platform for am57xx-evm instead of dra7xx
------ 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 | 67 ++++++++++++++++++++++- recipes-ti/ipc/ti-ipc_git.bbappend | 2 +- 8 files changed, 132 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@@ -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@@ -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@@ -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.increcipes-ti/ipc/ti-ipc-examples_git.bbappend +55
-2@@ -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}" + + 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}" \ + 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" \ + 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" \ + PLATFORM="${alt_platform}" + done + fi +} -require ti-ipc-rtos-3.47.01.00.increcipes-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-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-rtos_git.bbappend +0
-0@@ -1,5 +1,68 @@ PR_append = ".tisdk1"
recipes-ti/ipc/ti-ipc-rtos_git.bbappend line 9
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bbappend +6
-2-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" + +require recipes-ti/includes/ti-paths-append.inc
This include file is not available.
recipes-ti/ipc/ti-ipc-rtos_git.bbappend line 11
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bbappend +2
-0+ +DEPENDS_append = " ti-eclipse-signit-native "
This dependency is not available.
Quoted 66 lines
recipes-ti/ipc/ti-ipc-rtos_git.bbappend +57
-0+ +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}" + 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} + + # 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/ + for alt_platform in ${ALT_PLATFORM}; do + cp -pPrf ${S_ipc-examples}/src/examples/${alt_platform}* ${IPC_PACKAGE_DIR}/examples/ + done + find ${IPC_PACKAGE_DIR}/examples/ -name "*zip" -type f | xargs -I {} rm {} + fi +} + +do_install_append() { + # Sign the eclipse plugins + cd ${TI_ECLIPSE_SIGNIT_INSTALL_DIR} + for dir_name in ${D}${IPC_INSTALL_DIR_RECIPE}/eclipse/features/*; do + PATH=${JDK_INSTALL_DIR}/bin:$PATH bash -e ./signit "${dir_name}" + done + for dir_name in ${D}${IPC_INSTALL_DIR_RECIPE}/eclipse/plugins/*; do + PATH=${JDK_INSTALL_DIR}/bin:$PATH bash -e ./signit "${dir_name}" + done +}recipes-ti/ipc/ti-ipc_git.bbappend +1
-1@@ -1,3 +1,3 @@ PR_append = ".tisdk0" -require ti-ipc-3.47.01.00.inc +require ti-ipc-3.47.02.00.inc