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:
parent
0c0be69e42
commit
f906cbd851
@ -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; '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user