Return-Path: Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by arago-project.org (Postfix) with ESMTPS id 0E05052090 for ; Mon, 21 May 2018 14:03:50 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4LE3jtS025741 for ; Mon, 21 May 2018 09:03:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526911425; bh=ygY3osTp1ZQHEOmH+jJoCGnFWkaMhTEgUR2pzRucw4E=; h=Subject:To:References:From:Date:In-Reply-To; b=S5nzoFpl590VNVccrNnfSv8RKS/zl8iW2X/ntNk2XjebSCuEYrcqmI7L9IbI46BwO gEC/GnMsxGJcsdYxe4Z3XDOzOY1rr4Mfm4tKxLrbOu+111ZMljcD+8IGc/zPtV4k4a tsXOCDYhoWWnxvdGvYACE1HK9YFj84msFyNxetBw= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4LE3j8o030878 for ; Mon, 21 May 2018 09:03:45 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 21 May 2018 09:03:45 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 21 May 2018 09:03:45 -0500 Received: from [10.218.109.201] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4LE3i9b018981; Mon, 21 May 2018 09:03:45 -0500 To: Sam Nelson , References: <1526576538-30322-1-git-send-email-sam.nelson@ti.com> From: Jacob Stiffler Message-ID: <2ba3fc98-f488-92f1-3f4f-145e6da89871@ti.com> Date: Mon, 21 May 2018 10:03:44 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1526576538-30322-1-git-send-email-sam.nelson@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: Re: [EXTERNAL] [meta-processor-sdk][PATCH v4] 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: Mon, 21 May 2018 14:03:51 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 5/17/2018 1:02 PM, Sam Nelson wrote: > Added new examples for AM571X > > Signed-off-by: Sam Nelson > > --- > 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 > > 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..4491a25 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_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.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..6290dcb 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_am57xx-evm = "AM572X AM571X" > + > +require recipes-ti/includes/ti-paths-append.inc This include file is not available. > + > +DEPENDS_append = " ti-eclipse-signit-native " This dependency is not available. > + > +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