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