Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 48824E00C09; Wed, 30 Aug 2017 15:42:46 -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 B2B18E00C09 for ; Wed, 30 Aug 2017 15:42:39 -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 v7UMgSjx031966 for ; Wed, 30 Aug 2017 17:42:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1504132948; bh=UIHco8dFLgorUfVlFVD57XCQWCPe6EgxwBJgX+vYBs0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kbbXt6mPNl8kMbYkIHK7ERKSelzCOe94FWJyzInDqk/4ckC0Sa9gSIcDwfDrIwYgY uOWnlqk2fNcaUVddep5CebtN4XIHf7yWPp5zvGavU4wlcGgLGCJ+aY7xIHOm48iuiU X+Dkr4fHpgL520gJaLOtT90KSwzgNewJ9mi7/GCk= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7UMgN6k014867 for ; Wed, 30 Aug 2017 17:42:23 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 30 Aug 2017 17:42:23 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Wed, 30 Aug 2017 17:42:23 -0500 Received: from uda0875154a.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7UMgL0c004119; Wed, 30 Aug 2017 17:42:23 -0500 From: Mahesh Radhakrishnan To: Date: Wed, 30 Aug 2017 18:42:11 -0400 Message-ID: <1504132936-7725-2-git-send-email-m-radhakrishnan2@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504132936-7725-1-git-send-email-m-radhakrishnan2@ti.com> References: <1504132936-7725-1-git-send-email-m-radhakrishnan2@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: [PATCH v3 2/7] transport-rtos: Added transport recipes(bmet, nimu, nimu-icss) for rtos 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: Wed, 30 Aug 2017 22:42:46 -0000 Content-Type: text/plain Upstreaming RTOS driver for Network Interface Management Unit (NIMU),BMET Ethernet and NIMU ICSS Signed-off-by: Mahesh Radhakrishnan --- v3 - Removed the redundant DEPENDS for dra7xx-evm v2 - Added summary recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb | 21 +++++++++++++++ recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb | 28 ++++++++++++++++++++ recipes-bsp/transport-rtos/nimu-rtos_git.bb | 33 ++++++++++++++++++++++++ recipes-bsp/transport-rtos/transport.inc | 17 ++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb create mode 100644 recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb create mode 100644 recipes-bsp/transport-rtos/nimu-rtos_git.bb create mode 100644 recipes-bsp/transport-rtos/transport.inc diff --git a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb new file mode 100644 index 0000000..775ef3d --- /dev/null +++ b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb @@ -0,0 +1,21 @@ +SUMMARY = "RTOS driver for BMET Ethernet" + +inherit ti-pdk +require transport.inc + +PR = "${INC_PR}.0" + +LIC_FILES_CHKSUM = "file://bmet_transport.h;beginline=12;endline=40;md5=7c7fbe6af03d79b61025a67a8fc96f93" + +COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm|k2l-evm" + +DEPENDS_append = " qmss-lld-rtos \ + cppi-lld-rtos \ +" + +BMET_ETH_DESTSUFFIX = "git/bmet_eth" + +S = "${WORKDIR}/${BMET_ETH_DESTSUFFIX}" + +# HTML doc link params +PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport" diff --git a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb new file mode 100644 index 0000000..3ca196d --- /dev/null +++ b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "RTOS driver for NIMU ICSS" + +inherit ti-pdk +require transport.inc + +PR = "${INC_PR}.0" + +LIC_FILES_CHKSUM = "file://nimu_icssEth.h;beginline=1;endline=35;md5=fd897e67955a19ba88443d4bc2e7e18a" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1" + +DEPENDS_append = " ti-ndk \ + pruss-lld-rtos \ + icss-emac-lld-rtos \ +" + +NIMU_ICSS_DESTSUFFIX = "git/ndk/nimu_icss" + +# Build with make instead of XDC +TI_PDK_XDCMAKE = "0" + +S = "${WORKDIR}/${NIMU_ICSS_DESTSUFFIX}" + +export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build" +export DEST_ROOT="${S}" + +export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}" +XDCPATH_append = ";${NDK_INSTALL_DIR}/packages" diff --git a/recipes-bsp/transport-rtos/nimu-rtos_git.bb b/recipes-bsp/transport-rtos/nimu-rtos_git.bb new file mode 100644 index 0000000..5366da7 --- /dev/null +++ b/recipes-bsp/transport-rtos/nimu-rtos_git.bb @@ -0,0 +1,33 @@ +SUMMARY = "RTOS driver for Network Interface Management Unit (NIMU)" + +inherit ti-pdk +require transport.inc + +PR = "${INC_PR}.0" + +LIC_FILES_CHKSUM = "file://nimu_eth.h;beginline=1;endline=35;md5=52ba99291b03b91058e37115b66edb10" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1" + +NIMU_DESTSUFFIX = "git/ndk/nimu" + +S = "${WORKDIR}/${NIMU_DESTSUFFIX}" + +DEPENDS_append = " ti-ndk osal-rtos" +DEPENDS_append_ti33x = " starterware-rtos emac-lld-rtos" +DEPENDS_append_ti43x = " starterware-rtos emac-lld-rtos" +DEPENDS_append_omap-a15 = " emac-lld-rtos" +DEPENDS_append_keystone = " qmss-lld-rtos cppi-lld-rtos" +DEPENDS_append_k2hk-evm = " pa-lld-rtos" +DEPENDS_append_k2e-evm = " pa-lld-rtos" +DEPENDS_append_k2l-evm = " pa-lld-rtos" +DEPENDS_append_k2g = " emac-lld-rtos" + +# Build with make instead of XDC +TI_PDK_XDCMAKE = "0" + +export PDK_NIMU_ROOT_PATH ="${WORKDIR}/build" +export DEST_ROOT="${S}" + +export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}" +XDCPATH_append = ";${NDK_INSTALL_DIR}/packages" diff --git a/recipes-bsp/transport-rtos/transport.inc b/recipes-bsp/transport-rtos/transport.inc new file mode 100644 index 0000000..82427fb --- /dev/null +++ b/recipes-bsp/transport-rtos/transport.inc @@ -0,0 +1,17 @@ +LICENSE = "BSD-3-Clause" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +TRANSPORT_GIT_URI = "git://git.ti.com/keystone-rtos/transport.git" +TRANSPORT_GIT_PROTOCOL = "git" +TRANSPORT_GIT_BRANCH = "master" + +# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.07A" +TRANSPORT_SRCREV = "099dbf371cea3b2d883f5c97a4b0e7ef40e84c6a" + +BRANCH = "${TRANSPORT_GIT_BRANCH}" +SRC_URI = "${TRANSPORT_GIT_URI};protocol=${TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}" + +SRCREV = "${TRANSPORT_SRCREV}" +PV = "01.00.00.07A" +INC_PR = "r0" -- 1.9.1