aboutsummaryrefslogtreecommitdiff
path: root/targets/ryuglab
diff options
context:
space:
mode:
Diffstat (limited to 'targets/ryuglab')
-rw-r--r--targets/ryuglab/conf.py3
-rwxr-xr-xtargets/ryuglab/scripts/boot8
2 files changed, 9 insertions, 2 deletions
diff --git a/targets/ryuglab/conf.py b/targets/ryuglab/conf.py
index 93dd9ea..b8e85b4 100644
--- a/targets/ryuglab/conf.py
+++ b/targets/ryuglab/conf.py
@@ -4,8 +4,7 @@
kernel_arch = 'powerpc'
build_command = ['../targets/ryuglab/scripts/compile']
-boot_command = ['novaboot', 'targets/ryuglab/cyclictest/nbscript',
- '--exiton="NOVABOOT EXIT LINUX-CONF-PERF"']
+boot_command = ['targets/ryuglab/scripts/boot']
db_user = 'kocikare'
db_password = 'ohNg3Ien'
diff --git a/targets/ryuglab/scripts/boot b/targets/ryuglab/scripts/boot
new file mode 100755
index 0000000..a28358b
--- /dev/null
+++ b/targets/ryuglab/scripts/boot
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Wake target if target is suspended
+sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46
+
+# Boot using novaboot
+cd `dirname $0`
+novaboot ../cyclictest/nbscripts --exiton="NOVABOOT EXIT LINUX-CONF-PERF"