harness: pandaboard: powercycle rack pandaboards after sending boot command
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Thu, 10 Nov 2016 12:02:04 +0000 (13:02 +0100)
committerSimon Gerber <simon.gerber@inf.ethz.ch>
Thu, 10 Nov 2016 12:02:04 +0000 (13:02 +0100)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

tools/harness/machines/pandaboard.py

index 486c7e4..357e1ec 100644 (file)
@@ -166,6 +166,7 @@ class ETHRackPandaboardMachine(ETHBaseMachine, ARMMachineBase):
         masterpanda_sock.send('boot %s pandaboot/%s\n' %
                 (pandanum, imagename))
         masterpanda_sock.shutdown(socket.SHUT_WR)
+        self.__rackpower("-r")
         while True:
             data = masterpanda_sock.recv(1024)
             os.write(sys.stdout.fileno(), data)