aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-17 16:39:46 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-17 16:51:43 +0200
commite12d7df724e5058bee6c4b71bb7310f49550721b (patch)
treeee270d8d82cd326710b04632f507dd6d7d95c6ff /targets
parent256fe819eeaf93d7882f6b93372f6e2254beab13 (diff)
downloadlinux-conf-perf-e12d7df724e5058bee6c4b71bb7310f49550721b.tar.gz
linux-conf-perf-e12d7df724e5058bee6c4b71bb7310f49550721b.tar.bz2
linux-conf-perf-e12d7df724e5058bee6c4b71bb7310f49550721b.zip
Add etherwake to boot command
Diffstat (limited to 'targets')
-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"