1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

Sent INITIAL_BOOT signal in hard reset path during intial boot

This commit is contained in:
Sergei Trofimov 2015-04-24 17:51:55 +01:00
parent 0c0be69e42
commit f906cbd851

View File

@ -530,7 +530,8 @@ class Runner(object):
self.device.connect()
except DeviceError: # device may be offline
if self.device.can('reset_power'):
self.device.hard_reset()
with self._signal_wrap('INITIAL_BOOT'):
self.device.hard_reset()
else:
raise DeviceError('Cannot connect to device for initial reboot; '
'and device does not support hard reset.')