Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id F0979E00E31; Mon, 31 Jul 2017 22:45:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [198.47.19.16 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A6F1FE00CA6 for ; Mon, 31 Jul 2017 22:45:22 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v715jB22021365 for ; Tue, 1 Aug 2017 00:45:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1501566311; bh=SHXHgyJJ/l1msQ9bEjNy4TpTXEPcfWkwxUM8KB1YrZ0=; h=From:To:Subject:Date:In-Reply-To:References; b=dIJfRCyZckxmOms/dGj8bIpfO6+6WYoObabFeczv8KPn26Zu+Zh4SkI14bInusqKY OXs5UiaXlLKRQULHYe5S3ewAGCrhooKnQ9xir+Re5mHTH8wvAcRgrR6yMlAIVDYQOD JZ2o9OdpQFo8NGviGEpR/0N6TeNuP+4wCrcwwXjY= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v715j6jR026744 for ; Tue, 1 Aug 2017 00:45:06 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Tue, 1 Aug 2017 00:45:06 -0500 Received: from uda0868762.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v715j6fP011035 for ; Tue, 1 Aug 2017 00:45:06 -0500 From: Ivan Pang To: Date: Tue, 1 Aug 2017 00:45:05 -0500 Message-ID: <1501566306-14838-3-git-send-email-i-pang@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501566306-14838-1-git-send-email-i-pang@ti.com> References: <1501566306-14838-1-git-send-email-i-pang@ti.com> MIME-Version: 1.0 Subject: [PATCH v4 3/4] mad-utils-rtos: added recipe for MAD utils X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2017 05:45:24 -0000 Content-Type: text/plain This recipe adds the Multicore Application Deployment (MAD) utility for c665x-evm and c667x-evm. Signed-off-by: Ivan Pang --- recipes-bsp/mad-utils/mad-utils-rtos_git.bb | 57 +++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 recipes-bsp/mad-utils/mad-utils-rtos_git.bb diff --git a/recipes-bsp/mad-utils/mad-utils-rtos_git.bb b/recipes-bsp/mad-utils/mad-utils-rtos_git.bb new file mode 100644 index 0000000..0144aad --- /dev/null +++ b/recipes-bsp/mad-utils/mad-utils-rtos_git.bb @@ -0,0 +1,57 @@ +SUMMARY = "Utility for loading and running multicore applications" +DESCRIPTION = "Multicore Application Deployment (MAD) utility is used \ +for loading and running a multicore application on an embedded \ +processor with multiple cores. This utility package contains the \ +scripts to combine multiple applications for different cores into a \ +single binary as well as loadable application to parse and execute the applications on different cores." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb" + +require recipes-ti/includes/ti-paths.inc + +DEPENDS = "ti-cgt6x-7-native" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "c66x" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}" +SRCREV = "2458510f76eddfa837c2b83448965e233156944b" +PR = "r0" + +S = "${WORKDIR}/git" + +export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}" +PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:" + +DEVICE = "" +DEVICE_c665x-evm = "C6657" +DEVICE_c667x-evm = "C6678" + +ENDIAN = "" +ENDIAN_c665x-evm = "little big" +ENDIAN_c667x-evm = "little big" + +do_compile() { + cd mad-loader + for e in ${ENDIAN} + do + mkdir -p bin/${DEVICE}/${e} + make -C mal/malLib/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR} + make -C mal/malApp/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR} + cp mal/malApp/build/mal_app.exe bin/${DEVICE}/${e} + make -C nmlLoader/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR} + cp nmlLoader/build/nml.exe bin/${DEVICE}/${e} + done + cd - +} + +do_install() { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils" + +INSANE_SKIP_${PN} += "arch staticdev ldflags file-rdeps" -- 1.9.1