Return-Path: Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by arago-project.org (Postfix) with ESMTPS id 99A6D5297E for ; Thu, 17 May 2018 03:57:16 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4H3vBuw022330 for ; Wed, 16 May 2018 22:57:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526529431; bh=jG7Mh9dHRn07KEXC3jFGZ/CmjhvKg2WzS2p8Fasbc3g=; h=From:To:CC:Subject:Date; b=Pp7Xd6z4RQHG/jOOcbmofJbeeALpA+R7N6XiXJcqCc6ILoRomDE742lq3yuwIrvkM +MM4+H9v6y2FO5TBH4KBGtAmRolL32D0w7tr6ch+vR5uXkZS7GJm0mZ2EIeNIZPpSo gtLFVRyZE3bFRmwya2yRXu5yfNyRlM9s8Zu4bJhE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4H3vBdY001331 for ; Wed, 16 May 2018 22:57:11 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 16 May 2018 22:57:11 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 16 May 2018 22:57:11 -0500 Received: from uda0862859a.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4H3vBVI019497; Wed, 16 May 2018 22:57:11 -0500 From: Sam Nelson To: Date: Wed, 16 May 2018 23:57:09 -0400 Message-ID: <1526529429-25464-1-git-send-email-sam.nelson@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: [meta-processor-sdk][PATCH v2] ti-ipc: Update to new version 3.47.02.00 X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2018 03:57:17 -0000 Content-Type: text/plain Added new examples for AM571X Signed-off-by: Sam Nelson --- Change from previous version - Rabased to latest --- --- 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 diff --git a/recipes-ti/ipc/ti-ipc-3.47.01.00.inc b/recipes-ti/ipc/ti-ipc-3.47.01.00.inc deleted file mode 100644 index 02abfa6..0000000 --- a/recipes-ti/ipc/ti-ipc-3.47.01.00.inc +++ /dev/null @@ -1,4 +0,0 @@ -PV = "3.47.01.00" - -#Corresponds to 3.47.01.00A -TI_IPC_SRCREV = "6a2595a4148fb12f259efc19164a9d33ad2ed294" diff --git a/recipes-ti/ipc/ti-ipc-3.47.02.00.inc b/recipes-ti/ipc/ti-ipc-3.47.02.00.inc new file mode 100644 index 0000000..970f04b --- /dev/null +++ b/recipes-ti/ipc/ti-ipc-3.47.02.00.inc @@ -0,0 +1,4 @@ +PV = "3.47.02.00" + +#Corresponds to 3.47.02.00 +TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36" diff --git a/recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend b/recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend index c0eac74..6d6a771 100644 --- a/recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend +++ b/recipes-ti/ipc/ti-ipc-examples-linux_git.bbappend @@ -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 diff --git a/recipes-ti/ipc/ti-ipc-examples_git.bbappend b/recipes-ti/ipc/ti-ipc-examples_git.bbappend index c0eac74..5796468 100644 --- a/recipes-ti/ipc/ti-ipc-examples_git.bbappend +++ b/recipes-ti/ipc/ti-ipc-examples_git.bbappend @@ -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_dra7xx = "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.inc diff --git a/recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc b/recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc deleted file mode 100644 index d31773d..0000000 --- a/recipes-ti/ipc/ti-ipc-rtos-3.47.01.00.inc +++ /dev/null @@ -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" diff --git a/recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc b/recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc new file mode 100644 index 0000000..84178e7 --- /dev/null +++ b/recipes-ti/ipc/ti-ipc-rtos-3.47.02.00.inc @@ -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" diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bbappend b/recipes-ti/ipc/ti-ipc-rtos_git.bbappend index c0eac74..3a9fbd8 100644 --- a/recipes-ti/ipc/ti-ipc-rtos_git.bbappend +++ b/recipes-ti/ipc/ti-ipc-rtos_git.bbappend @@ -1,5 +1,68 @@ 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_dra7xx = "AM572X AM571X" + +require recipes-ti/includes/ti-paths-append.inc + +DEPENDS_append = " ti-eclipse-signit-native " + +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 +} diff --git a/recipes-ti/ipc/ti-ipc_git.bbappend b/recipes-ti/ipc/ti-ipc_git.bbappend index 96b3c2d..3451b19 100644 --- a/recipes-ti/ipc/ti-ipc_git.bbappend +++ b/recipes-ti/ipc/ti-ipc_git.bbappend @@ -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