From 93ec888fc3dbe387cc42d52ef58f239b23b41ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 17 Aug 2015 16:58:43 +0200 Subject: Change execute folder for boot Folder in which novaboot is called is now same as nbscript. Binaries are linked to this folder from upper folders. --- targets/ryuglab/cyclictest/nbscripts | 4 ++-- targets/ryuglab/scripts/boot | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'targets') diff --git a/targets/ryuglab/cyclictest/nbscripts b/targets/ryuglab/cyclictest/nbscripts index 385c69f..ba35885 100644 --- a/targets/ryuglab/cyclictest/nbscripts +++ b/targets/ryuglab/cyclictest/nbscripts @@ -1,5 +1,5 @@ #!/usr/bin/env novaboot # -*-sh-*- -load ../../../jobfiles/linuxImage console=ttyPSC0,115200 quiet +load uImage console=ttyPSC0,115200 quiet load shark-ryu.dtb -load ../../../root/cyclictest/images/rootfs.cpio.uboot +load rootfs.cpio.uboot diff --git a/targets/ryuglab/scripts/boot b/targets/ryuglab/scripts/boot index a28358b..cd04162 100755 --- a/targets/ryuglab/scripts/boot +++ b/targets/ryuglab/scripts/boot @@ -5,4 +5,9 @@ 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" +cd ../cyclictest + +ln -s ../../../jobfiles/linuxImage uImage +ln -s ../../../root/cyclictest/images/rootfs.cpio.uboot rootfs.cpio.uboot + +novaboot nbscripts --exiton="NOVABOOT EXIT LINUX-CONF-PERF" -- cgit v1.2.3