ipc: add ipc 3.x support on tci6638 platform
PATCH 1/1 ipc: add ipc 3.x support on tci6638 platform
it had following additional features
- run name server as a daemon
- adds test images to separate package
Signed-off-by Sajesh Kumar Saran <[email protected]>
--- .../recipes-bsp/ti-ipc/ti-ipc_3.00.00.bb | 46 ++++++++++++++++++++ .../recipes-bsp/ti-ipc/tiipclad-daemon.sh | 24 ++++++++++ 2 files changed, 70 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-ipc/ti-ipc_3.00.00.bb create mode 100755 meta-arago-extras/recipes-bsp/ti-ipc/tiipclad-daemon.sh
meta-arago-extras/recipes-bsp/ti-ipc/ti-ipc_3.00.00.bb new file +46 -0
@@ -0,0 +1,46 @@ +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." + +HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://products.mak;beginline=2;endline=30;md5=195feadf798bb4165bcb1a23ffd50dbb" +SECTION = "console" +COMPATIBLE_MACHINE = "keystone" +TARGET_PLATFORM = "tci6638" + +PR = "r21" + +BRANCH ?= "master" +SRCREV = "3.00.00.16_eng" + +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 = "-j 1" + +PACKAGES =+ "${PN}-test" + +FILES_${PN}-test = "${bindir}/NameServerApp_${TARGET_PLATFORM} \ + ${bindir}/MessageQApp_${TARGET_PLATFORM} \ + ${bindir}/MessageQMulti_${TARGET_PLATFORM} \ + ${bindir}/MessageQBench_${TARGET_PLATFORM} \ + ${bindir}/ping_rpmsg" + +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} +}
meta-arago-extras/recipes-bsp/ti-ipc/tiipclad-daemon.sh new file +24 -0
@@ -0,0 +1,24 @@ +#! /bin/sh + +tiipclad_daemon=/usr/bin/lad_tci6638 +tiipclad_params=lad.txt + +test -x "$tiipclad_daemon" || exit 0 + +case "$1" in + start) + echo -n "Starting tiipclad daemon" + start-stop-daemon --start --quiet --exec $tiipclad_daemon $tiipclad_params + echo "." + ;; + stop) + echo -n "Stopping tiipclad daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/tiipclad.pid + echo "." + ;; + *) + echo "Usage: /etc/init.d/tiipclad-daemon.sh {start|stop}" + exit 1 +esac + +exit 0
Signature · 1 line
1.7.9.5