All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [rocko][PATCH 4/4] sciclient: Add recipe for SCI client driver
Date: Wed, 22 Aug 2018 18:46:33 -0400	[thread overview]
Message-ID: <20180822224633.GI29422@beryl> (raw)
In-Reply-To: <1534974652-28676-4-git-send-email-sam.nelson@ti.com>

On Wed, Aug 22, 2018 at 05:50:52PM -0400, Sam Nelson wrote:
> Sci client provides API to communicate with the core running System
> firmware
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  recipes-bsp/sciclient/sciclient-rtos_git.bb | 89 +++++++++++++++++++++++++++++
>  1 file changed, 89 insertions(+)
>  create mode 100644 recipes-bsp/sciclient/sciclient-rtos_git.bb
> 
> diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb
> new file mode 100644
> index 0000000..6a6de40
> --- /dev/null
> +++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb
> @@ -0,0 +1,89 @@
> +SUMMARY = "TI RTOS low level driver for SCICLIENT"
> +DESCRIPTION = "TI RTOS low level driver for SCICLIENT "
> +
> +inherit ti-pdk
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444815f1737bfcdfa892a"
> +
> +COMPATIBLE_MACHINE = "am65xx-evm"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SCICLIENT_GIT_URI = "git://git@bitbucket.itg.ti.com/processor-sdk/sciclient.git"

NAK!


> +SCICLIENT_GIT_PROTOCOL = "ssh"
> +SCICLIENT_GIT_BRANCH = "master"
> +
> +# Below commit ID corresponds to "DEV.SCICLIENT.01.00.00.00"
> +SCICLIENT_SRCREV = "4ac052a70764c5fcf9dd18d521fe3b631bfcd875"
> +
> +BRANCH = "${SCICLIENT_GIT_BRANCH}"
> +SRC_URI = "${SCICLIENT_GIT_URI};protocol=${SCICLIENT_GIT_PROTOCOL};branch=${BRANCH}"
> +
> +SRCREV = "${SCICLIENT_SRCREV}"
> +PV = "01.00.00.00"
> +PR = "r0"
> +
> +DEPENDS_append = " osal-rtos common-csl-ip-rtos"
> +
> +# Build with make instead of XDC
> +TI_PDK_XDCMAKE = "0"
> +
> +SCICLIENT_PACKAGE_BASE   = "${S}/../sciclient_base"
> +SCICLIENT_ROOTPATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/sciclient"
> +
> +export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
> +export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages"
> +
> +#export PDK_SCICLIENT_ROOT_PATH ="${WORKDIR}/build"
> +#export DEST_ROOT="${S}"
> +
> +LIMSOCS = "am65xx"
> +LIMSOCS_am65xx-evm = "am65xx"
> +
> +LIMBOARDS = "am65xx_evm"
> +LIMBOARDS_am65xx-evm = "am65xx_evm"
> +
> +BOARD_PACKAGE = ""
> +BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
> +
> +# HTML doc link params
> +PDK_COMP_LINK_TEXT = "SCICLIENT"
> +
> +do_configure() {
> +
> +    rm -rf ${SCICLIENT_PACKAGE_BASE}
> +    cd ${S}
> +
> +    # remove any previous package
> +    rm -f ${SCICLIENT_PACKAGE_BASE}
> +
> +    # make the release package before building it
> +    make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${SCICLIENT_PACKAGE_BASE} PDK_SCICLIENT_COMP_PATH=${S}
> +
> +   # This is to ensure the make package completed successfully
> +    cat  ${SCICLIENT_ROOTPATH}/makefile
> +}
> +
> +do_compile() {
> +
> +    cd ${SCICLIENT_ROOTPATH}
> +
> +    # Clean
> +    # make clean LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
> +
> +    # Build am65xx libraries
> +    make lib xdc_meta doxygen LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
> +
> +    #archive
> +    tar -cf sciclient.tar --exclude='*.tar' ./*
> +}
> +
> +do_install() {
> +    cd ${SCICLIENT_ROOTPATH}
> +    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient
> +    find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient \;
> +}
> +
> +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
> +
> +INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


  reply	other threads:[~2018-08-22 22:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-22 21:50 [rocko][PATCH 1/4] ti-pdk-build-rtos: Update to new version 1.0.0.10 Sam Nelson
2018-08-22 21:50 ` [rocko][PATCH 2/4] common-csl-ip: Update to new version 05.01.00.00 Sam Nelson
2018-08-22 22:47   ` Denys Dmytriyenko
2018-08-22 23:13     ` Nelson, Sam
2018-08-22 21:50 ` [rocko][PATCH 3/4] osal: Update to new version 1.0.0.12 Sam Nelson
2018-08-22 22:48   ` Denys Dmytriyenko
2018-08-22 21:50 ` [rocko][PATCH 4/4] sciclient: Add recipe for SCI client driver Sam Nelson
2018-08-22 22:46   ` Denys Dmytriyenko [this message]
2018-08-22 23:12     ` Nelson, Sam
2018-08-22 22:47 ` [rocko][PATCH 1/4] ti-pdk-build-rtos: Update to new version 1.0.0.10 Denys Dmytriyenko
2018-08-22 23:28   ` Nelson, Sam
2018-08-23  0:01     ` Denys Dmytriyenko
2018-08-23  0:11       ` Nelson, Sam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180822224633.GI29422@beryl \
    --to=denys@ti.com \
    --cc=meta-ti@yoctoproject.org \
    --cc=sam.nelson@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.