[meta-ti] [PATCH v2 35/37] transport-rtos: Added transport recipes(bmet, nimu, nimu-icss) for rtos

Denys Dmytriyenko denys at ti.com
Tue Sep 26 11:31:28 PDT 2017


On Mon, Sep 18, 2017 at 04:40:25PM -0400, Radhakrishnan, Mahesh wrote:
>    Hi Denys,
> 
>    Please see my comments inline.
> 
>    I have submitted a new patch with the fix and an updated commit message
>    (attached)
> 
>     
> 
>    Regards
> 
>    Mahesh
> 
>     
> 
>    -----Original Message-----
>    From: Dmytriyenko, Denys
>    Sent: Thursday, August 24, 2017 4:12 PM
>    To: Radhakrishnan, Mahesh
>    Cc: meta-ti at yoctoproject.org
>    Subject: Re: [meta-ti] [PATCH v2 35/37] transport-rtos: Added transport
>    recipes(bmet, nimu, nimu-icss) for rtos
> 
>     
> 
>    On Tue, Jul 18, 2017 at 07:03:46PM -0400, Mahesh Radhakrishnan wrote:
> 
>    > Upstreaming RTOS driver for Network Interface Management Unit
> 
>    > (NIMU),BMET Ethernet and NIMU ICSS
> 
>    > Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2 at ti.com>
> 
>    > ---
> 
>    >
> 
>    > 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      | 34
>    ++++++++++++++++++++++++
> 
>    >  recipes-bsp/transport-rtos/transport.inc         | 17 ++++++++++++
> 
>    >  4 files changed, 100 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 \
> 
>     
> 
>    Blocked by ti-ndk
> 
>    ti-ndk has been pushed now.

No, I don't think so...


> 
>    > +                   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..0a415ae
> 
>    > --- /dev/null
> 
>    > +++ b/recipes-bsp/transport-rtos/nimu-rtos_git.bb
> 
>    > @@ -0,0 +1,34 @@
> 
>    > +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_dra7xx-evm = " emac-lld-rtos"
> 
>     
> 
>    omap-a15 already covers dra7xx-evm.
> 
>    This has been corrected in the latest patch(V4)
> 
>     
> 
>    > +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
> 
>    >
> 
>    > --
> 
>    > _______________________________________________
> 
>    > meta-ti mailing list
> 
>    > meta-ti at yoctoproject.org
> 
>    > https://lists.yoctoproject.org/listinfo/meta-ti

Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE70.ent.ti.com
 (157.170.170.113) with Microsoft SMTP Server (TLS) id 14.3.294.0; Mon, 18 Sep
 2017 15:33:37 -0500
Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE101.ent.ti.com
 (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 18
 Sep 2017 15:33:38 -0500
Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE108.ent.ti.com
 (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0,
 cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport;
 Mon, 18 Sep 2017 15:33:37 -0500
Received: from uda0875154a.am.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
 v8IKXbZu032387;	Mon, 18 Sep 2017 15:33:37 -0500
From: "Radhakrishnan, Mahesh" <m-radhakrishnan2 at ti.com>
To: "meta-ti at yoctoproject.org" <meta-ti at yoctoproject.org>
CC: "Radhakrishnan, Mahesh" <m-radhakrishnan2 at ti.com>
Subject: [PATCH v4] transport-rtos: Added transport recipes(bmet, nimu,
 nimu-icss) for rtos
Thread-Topic: [PATCH v4] transport-rtos: Added transport recipes(bmet, nimu,
 nimu-icss) for rtos
Thread-Index: AQHTML1oBrZV47Lm5Uq/+sGLQIeh7A==
Date: Mon, 18 Sep 2017 16:33:33 -0400
Message-ID: <1505766813-61304-1-git-send-email-m-radhakrishnan2 at ti.com>
Content-Language: en-US
X-MS-Exchange-Organization-AuthMechanism: 10
X-MS-Exchange-Organization-AuthSource: DLEE108.ent.ti.com
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
> 
> RTOS driver for Network Interface Management Unit
> (NIMU),BMET Ethernet and NIMU ICSS
> Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2 at ti.com>
> ---
> 
>  v4 - Updated the commit message
>  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
> 



More information about the meta-ti mailing list