mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
parent
e6cf426d72
commit
be6d8db491
@ -222,14 +222,19 @@ if {[have_include "power_on/qemu"]} {
|
|||||||
run_genode_until {.*got IP address.*\n} 60
|
run_genode_until {.*got IP address.*\n} 60
|
||||||
set serial_id [output_spawn_id]
|
set serial_id [output_spawn_id]
|
||||||
} else {
|
} else {
|
||||||
run_genode_until {\[init -> tcp_terminal\] listening on port 8888\.\.\.} 60
|
#
|
||||||
|
# We have to look for 'got IP address' twice because tcp_terminal
|
||||||
|
# as well as noux_net will request one and we do not know the
|
||||||
|
# order in advance.
|
||||||
|
run_genode_until {.*got IP address.*} 60
|
||||||
set serial_id [output_spawn_id]
|
set serial_id [output_spawn_id]
|
||||||
|
run_genode_until {.*got IP address.*\n} 10 $serial_id
|
||||||
|
|
||||||
regexp {\[init -> noux_net\] .{1,5}got IP address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $output noux_ip_addr
|
regexp {\[init -> noux_net\] .{1,5}got IP address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $output noux_ip_addr
|
||||||
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $noux_ip_addr noux_ip_addr
|
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $noux_ip_addr noux_ip_addr
|
||||||
|
|
||||||
regexp {\[init -> tcp_terminal\] .{1,5}got IP address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $output serial_ip_addr
|
regexp {\[init -> tcp_terminal\] .{1,5}got IP address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $output serial_ip_addr
|
||||||
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $serial_ip_addr serial_ip_addr
|
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $serial_ip_addr serial_ip_addr
|
||||||
|
|
||||||
# connect to Genode target and reading log output via network connection
|
# connect to Genode target and reading log output via network connection
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user