mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
run: configurable AMT power-on timeout
The default timeout is 5 seconds and can be changed like follows. RUN_OPT += --power-on-amt-timeout 11
This commit is contained in:
parent
e0a97d5642
commit
240e70d989
@ -18,6 +18,11 @@ proc power_on_amt_password { } {
|
||||
}
|
||||
|
||||
|
||||
proc power_on_amt_timeout { } {
|
||||
return [get_cmd_arg_first --power-on-amt-timeout 5]
|
||||
}
|
||||
|
||||
|
||||
##
|
||||
# Reset via Intel AMT (works up to version smaller Intel AMT 9)
|
||||
#
|
||||
@ -126,6 +131,8 @@ proc run_power_on { } {
|
||||
}
|
||||
}
|
||||
|
||||
sleep 5
|
||||
puts "wait [power_on_amt_timeout] seconds for power on"
|
||||
sleep [power_on_amt_timeout]
|
||||
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user