Skip to contentSkip to conversation

Sam Nelson : ti-ipc: Add recipe for ti-ipc version 3.0.x

PATCH Arago Project git 1 participant 1 message Mar 5, 2014

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: dora
Commit: 2c3d72b18162cbdedabcef6539c7879173f265b7
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=2c3d72b18162cbdedabcef6539c7879173f265b7
Author: Sam Nelson <[email protected]>
Date:   Wed Feb 12 05:41:49 2014 +0000

ti-ipc: Add recipe for ti-ipc version 3.0.x

- Supports communication between processors in TI keystone architecture

---

 recipes-ti/ipc/files/tiipclad-daemon.sh |   24 ++++++++++++++
 recipes-ti/ipc/ti-ipc_3.00.00.bb        |   52 +++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 0 deletions(-)
recipes-ti/ipc/files/tiipclad-daemon.sh new file +24 -0
new file mode 100755
index 0000000..54b3888
@@ -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
recipes-ti/ipc/ti-ipc_3.00.00.bb new file +52 -0

52 lines not on this page · raw message