TCI6638: Linux target side scripts for loading, running lad, dumping trace.
authorG Anthony <a0783926@ti.com>
Mon, 29 Apr 2013 23:39:33 +0000 (16:39 -0700)
committerChris Ring <cring@ti.com>
Tue, 30 Apr 2013 00:16:42 +0000 (17:16 -0700)
Useful scripts to be used for the 8 core TCI6638 platformm.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
linux/etc/tci66xx/dump_trace.sh
linux/etc/tci66xx/load_all.sh [new file with mode: 0644]
linux/etc/tci66xx/run_lad.sh [new file with mode: 0644]
linux/etc/tci66xx/test_multi.sh
linux/etc/tci66xx/test_multiBench.sh [new file with mode: 0644]

index cfac51865e2b44a29ba712b6595f6a6d7fd9e151..7f6761e881d79aa48c91142a6c4f01dc9f6c908c 100644 (file)
@@ -1,11 +1,23 @@
 echo "Core 0 Trace..."
-cat /debug/remoteproc/dsp-core0/trace0
+cat /debug/remoteproc/remoteproc0/trace0
 echo "-----------------------------------------"
 echo "Core 1 Trace..."
-cat /debug/remoteproc/dsp-core1/trace0
+cat /debug/remoteproc/remoteproc1/trace0
 echo "-----------------------------------------"
 echo "Core 2 Trace..."
-cat /debug/remoteproc/dsp-core2/trace0
+cat /debug/remoteproc/remoteproc2/trace0
 echo "-----------------------------------------"
 echo "Core 3 Trace..."
-cat /debug/remoteproc/dsp-core3/trace0
+cat /debug/remoteproc/remoteproc3/trace0
+echo "-----------------------------------------"
+echo "Core 4 Trace..."
+cat /debug/remoteproc/remoteproc4/trace0
+echo "-----------------------------------------"
+echo "Core 5 Trace..."
+cat /debug/remoteproc/remoteproc5/trace0
+echo "-----------------------------------------"
+echo "Core 6 Trace..."
+cat /debug/remoteproc/remoteproc6/trace0
+echo "-----------------------------------------"
+echo "Core 7 Trace..."
+cat /debug/remoteproc/remoteproc7/trace0
diff --git a/linux/etc/tci66xx/load_all.sh b/linux/etc/tci66xx/load_all.sh
new file mode 100644 (file)
index 0000000..f30ea22
--- /dev/null
@@ -0,0 +1,6 @@
+echo "Loading and Running " $1 "..."
+for i in 0 1 2 3 4 5 6 7
+do
+./mpmcl load dsp$i $1
+./mpmcl run dsp$i
+done
diff --git a/linux/etc/tci66xx/run_lad.sh b/linux/etc/tci66xx/run_lad.sh
new file mode 100644 (file)
index 0000000..2b4d732
--- /dev/null
@@ -0,0 +1,2 @@
+lad_tci6638 lad.txt
+# tail -f /tmp/LAD/lad.txt &
index 8a205993213b19243a0c8c79f65cb8afa5fa8d38..ea5f289b78692b0a3c20c6ba8f6b9d4a03e380f6 100644 (file)
@@ -1,4 +1,4 @@
-for i in 1 2 3 4
+for i in 1 2 3 4 5 6 7 8
 do
-MessageQApp $1 $i &
+MessageQApp_tci6638 $1 $i &
 done
diff --git a/linux/etc/tci66xx/test_multiBench.sh b/linux/etc/tci66xx/test_multiBench.sh
new file mode 100644 (file)
index 0000000..6d5dfb5
--- /dev/null
@@ -0,0 +1,4 @@
+for i in 1 2 3 4 5 6 7 8
+do
+MessageQBench_tci6638 $1 8 $i &
+done