1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

juno: use bootargs on hard_reset with u-boot

This commit is contained in:
Sergei Trofimov
2015-08-17 14:36:28 +01:00
parent 95c3f049fb
commit 205934d55b
4 changed files with 31 additions and 15 deletions

View File

@@ -563,8 +563,11 @@ class LinuxDevice(BaseLinuxDevice):
super(LinuxDevice, self).hard_reset()
self._is_ready = False
def boot(self, **kwargs):
self.reset()
def boot(self, hard=False, **kwargs):
if hard:
self.hard_reset()
else:
self.reset()
self.logger.debug('Waiting for device...')
start_time = time.time()
while (time.time() - start_time) < self.boot_timeout: