1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-07 13:41:24 +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,6 +530,7 @@ class Runner(object):
self.device.connect() self.device.connect()
except DeviceError: # device may be offline except DeviceError: # device may be offline
if self.device.can('reset_power'): if self.device.can('reset_power'):
with self._signal_wrap('INITIAL_BOOT'):
self.device.hard_reset() self.device.hard_reset()
else: else:
raise DeviceError('Cannot connect to device for initial reboot; ' raise DeviceError('Cannot connect to device for initial reboot; '