mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
tool/run: multiple attempt for AMT SOL connection
Some devices do not answer connection attempts timely, which leads amtterm to time out (after 60s). Using multiple attempts in 500 ms intervals results in timely connection and complete boot logs. Issue #4429
This commit is contained in:
parent
c1c94d37d7
commit
7f0403c8c1
@ -86,8 +86,12 @@ proc run_log { wait_for_re timeout_value } {
|
||||
}
|
||||
set exit_result 1
|
||||
|
||||
spawn /bin/sh -c "$amt_cmd"
|
||||
set output_spawn_id $spawn_id
|
||||
lassign [retry 30 "/bin/sh -c \"$amt_cmd\"" ".*session authentication" 0.5] retry_output output_spawn_id
|
||||
|
||||
if {$retry_output == ""} {
|
||||
puts stderr "Aborting, AMT SOL not accessible"
|
||||
return false
|
||||
}
|
||||
|
||||
set kernel_msg [run_boot_string]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user