All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Chase Maupin <Chase.Maupin@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 3/9] ti-ipc: Consolidate IPC recipes with include file
Date: Mon, 19 May 2014 15:24:17 -0400	[thread overview]
Message-ID: <20140519192417.GC21819@edge> (raw)
In-Reply-To: <1400527188-16951-4-git-send-email-Chase.Maupin@ti.com>

Sam, Mrinmayee,

As Chase and I discussed this, can we use the same version of IPC for both 
MCSDK and GLSDK? What is the latest version you both support?

-- 
Denys


On Mon, May 19, 2014 at 02:19:42PM -0500, Chase Maupin wrote:
> * Update the 3.00.00 and 3.21.00.07 versions of ti-ipc to use
>   a common ti-ipc.inc file which combines the configuration and
>   installation steps for both to be common.
> * Modify the tiiipclad-daemon.sh script to have a replacement
>   variable so that it can be used for more than a single device.
> * Move the tiipclad-daemon script to the ti-ipc directory with
>   the rest of the files used by this recipe.
> * Fix the permissions for the tiipclad-daemon script
> 
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
>  recipes-ti/ipc/ti-ipc.inc                          |   58 ++++++++++++++++++++
>  .../ipc/{files => ti-ipc}/tiipclad-daemon.sh       |    2 +-
>  recipes-ti/ipc/ti-ipc_3.00.00.bb                   |   51 +----------------
>  recipes-ti/ipc/ti-ipc_3.21.00.07.bb                |   31 +----------
>  4 files changed, 64 insertions(+), 78 deletions(-)
>  create mode 100644 recipes-ti/ipc/ti-ipc.inc
>  rename recipes-ti/ipc/{files => ti-ipc}/tiipclad-daemon.sh (92%)
>  mode change 100755 => 100644
> 
> diff --git a/recipes-ti/ipc/ti-ipc.inc b/recipes-ti/ipc/ti-ipc.inc
> new file mode 100644
> index 0000000..ee9feff
> --- /dev/null
> +++ b/recipes-ti/ipc/ti-ipc.inc
> @@ -0,0 +1,58 @@
> +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
> +HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
> +
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=f2518e421e230f06fe6d449718d02edc"
> +
> +DEPENDS += "virtual/kernel"
> +
> +PR = "r1"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +PLATFORM = "UNKNOWN"
> +PLATFORM_omap5-evm = "OMAP54XX"
> +PLATFORM_dra7xx-evm = "DRA7XX"
> +PLATFORM_keystone = "TCI6638"
> +
> +DAEMON = "UNKNOWN"
> +DAEMON_omap5-evm = "lad_omap54xx_smp"
> +DAEMON_dra7xx-evm = "lad_dra7xx"
> +DAEMON_keystone = "lad_tci6638"
> +
> +inherit autotools pkgconfig update-rc.d
> +
> +SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git \
> +           file://0002-ipc-Added-installation-prefix-feature-to-products.ma.patch \
> +           file://tiipclad-daemon.sh \
> +           "
> +
> +S = "${WORKDIR}/git"
> +
> +INITSCRIPT_NAME = "tiipclad-daemon.sh"
> +INITSCRIPT_PARAMS = "defaults 10"
> +
> +EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_INSTALL_DIR=${TOOLCHAIN_PATH} TOOLCHAIN_LONGNAME=${TOOLCHAIN_SYS} PLATFORM=${PLATFORM} PREFIX=${prefix}"
> +
> +do_configure() {
> +    oe_runmake -f ${S}/ipc-linux.mak config
> +}
> +
> +do_install_append() {
> +    install -d ${D}${sysconfdir}/init.d/
> +
> +    # Modify the tiipclad-daemon.sh script to point to the right
> +    # lad daemon executable.
> +    sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.sh
> +    install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
> +}
> +
> +PACKAGES =+ "${PN}-test"
> +RDEPENDS_${PN}-test += "${PN}"
> +
> +FILES_${PN}-test = " \
> +    ${bindir}/NameServerApp \
> +    ${bindir}/MessageQApp \
> +    ${bindir}/MessageQMulti \
> +    ${bindir}/ping_rpmsg"
> +
> diff --git a/recipes-ti/ipc/files/tiipclad-daemon.sh b/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
> old mode 100755
> new mode 100644
> similarity index 92%
> rename from recipes-ti/ipc/files/tiipclad-daemon.sh
> rename to recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
> index 54b3888..97f870e
> --- a/recipes-ti/ipc/files/tiipclad-daemon.sh
> +++ b/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
> @@ -1,6 +1,6 @@
>  #! /bin/sh
>  
> -tiipclad_daemon=/usr/bin/lad_tci6638
> +tiipclad_daemon=/usr/bin/__LAD_DAEMON__
>  tiipclad_params=lad.txt
>  
>  test -x "$tiipclad_daemon" || exit 0
> diff --git a/recipes-ti/ipc/ti-ipc_3.00.00.bb b/recipes-ti/ipc/ti-ipc_3.00.00.bb
> index c07b7f9..a6922c0 100644
> --- a/recipes-ti/ipc/ti-ipc_3.00.00.bb
> +++ b/recipes-ti/ipc/ti-ipc_3.00.00.bb
> @@ -1,52 +1,7 @@
> -DESCRIPTION="This support the communication between processors \
> -in a multi-processor environment and communication to peripherals. \
> -This communication includes message passing, streams, and linked lists. \
> -These modules work transparently in both uni-processor and multi-processor \
> -configurations."
> +require ti-ipc.inc
>  
> -HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
> +# For this version of IPC the PLATFORM value is lowercase
> +PLATFORM_keystone = "tci6638"
>  
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://products.mak;beginline=2;endline=30;md5=195feadf798bb4165bcb1a23ffd50dbb"
> -SECTION = "console"
> -COMPATIBLE_MACHINE = "keystone"
> -TARGET_PLATFORM = "tci6638"
> -
> -PR = "r0"
> -
> -BRANCH ?= "master"
>  # The following commit corresponds to 3.00.04.29
>  SRCREV = "12794ea33870b782bffe1fe4398e86e93fb64396"
> -
> -SRC_URI = " \
> -    git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \
> -    file://tiipclad-daemon.sh"
> -
> -S = "${WORKDIR}/git"
> -
> -export PLATFORM = "${TARGET_PLATFORM}"
> -
> -export PARALLEL_MAKE = ""
> -
> -PACKAGES =+ "${PN}-test"
> -
> -FILES_${PN}-test = " \
> -    ${bindir}/NameServerApp \
> -    ${bindir}/MessageQApp \
> -    ${bindir}/MessageQMulti \
> -    ${bindir}/ping_rpmsg"
> -
> -DEPENDS += "virtual/kernel"
> -
> -EXTRA_OECONF += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR}"
> -inherit autotools
> -
> -INITSCRIPT_NAME = "tiipclad-daemon.sh"
> -INITSCRIPT_PARAMS = "defaults 10"
> -
> -inherit update-rc.d
> -
> -do_install_append() {
> -	install -d ${D}${sysconfdir}/init.d/
> -	install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
> -}
> diff --git a/recipes-ti/ipc/ti-ipc_3.21.00.07.bb b/recipes-ti/ipc/ti-ipc_3.21.00.07.bb
> index 8131754..17cdab0 100644
> --- a/recipes-ti/ipc/ti-ipc_3.21.00.07.bb
> +++ b/recipes-ti/ipc/ti-ipc_3.21.00.07.bb
> @@ -1,31 +1,4 @@
> -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
> -HOMEPAGE = "https://git.ti.com/ipc/pages/Home"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=f2518e421e230f06fe6d449718d02edc"
> -
> -DEPENDS += "virtual/kernel"
> -
> -PR = "r1"
> -
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -PLATFORM_omap5-evm = "OMAP54XX"
> -PLATFORM_dra7xx-evm = "DRA7XX"
> -
> -inherit autotools pkgconfig
> -
> -SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git \
> -           file://0002-ipc-Added-installation-prefix-feature-to-products.ma.patch \
> -           "
> +require ti-ipc.inc
>  
> +# This commit corresponds to 3.21.00.07
>  SRCREV = "c18fece0c9f0dc76361dc1ee11b7ee2417479847"
> -
> -S = "${WORKDIR}/git"
> -
> -FILESEXTRAPATHS_prepend := "${THISDIR}:"
> -
> -EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_INSTALL_DIR=${TOOLCHAIN_PATH} TOOLCHAIN_LONGNAME=${TOOLCHAIN_SYS} PLATFORM=${PLATFORM} PREFIX=${prefix}"
> -
> -do_configure() {
> -	oe_runmake -f ${S}/ipc-linux.mak config
> -}
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


  reply	other threads:[~2014-05-19 19:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 19:19 [PATCH 0/9] Add GLSDK components for omap-a15 devices Chase Maupin
2014-05-19 19:19 ` [PATCH 1/9] ti-ipc: Consolidate include file and old recipe Chase Maupin
2014-05-19 19:19 ` [PATCH 2/9] ti-ipc: Add version 3.21.00.07 Chase Maupin
2014-05-19 19:19 ` [PATCH 3/9] ti-ipc: Consolidate IPC recipes with include file Chase Maupin
2014-05-19 19:24   ` Denys Dmytriyenko [this message]
2014-05-21 19:52     ` Denys Dmytriyenko
2014-05-21 20:16       ` Nelson, Sam
2014-05-19 19:19 ` [PATCH 4/9] ipumm-fw: Add MM accelerator firmware recipe Chase Maupin
2014-05-19 19:19 ` [PATCH 5/9] dspdce-fw: Add DSP " Chase Maupin
2014-05-19 19:19 ` [PATCH 6/9] vis: Add radio application firmware Chase Maupin
2014-05-19 19:19 ` [PATCH 7/9] bltsville: Add TI BLTsville library Chase Maupin
2014-05-19 19:19 ` [PATCH 8/9] dra7xx-evm: Add sgx to MACHINE_FEATURES Chase Maupin
2014-05-19 19:19 ` [PATCH 9/9] omap5-sgx-ddk-um-linux: Add version 1.9.0.12 Chase Maupin
2014-05-19 19:26   ` Denys Dmytriyenko
2014-05-19 20:15     ` Maupin, Chase
2014-05-21 19:48   ` Denys Dmytriyenko
2014-05-21 20:22     ` Maupin, Chase

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=20140519192417.GC21819@edge \
    --to=denys@ti.com \
    --cc=Chase.Maupin@ti.com \
    --cc=meta-ti@yoctoproject.org \
    /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.