run: update RISC-V run script support

* fix build error for bbl upon intial build
* set memory to 128 MB in spike
* support 'forever' timeout

issue #2423
This commit is contained in:
Sebastian Sumpf
2017-08-24 16:17:54 +02:00
committed by Christian Helmuth
parent 2f38f50b1e
commit 7113c17100
4 changed files with 11 additions and 4 deletions

View File

@@ -7,10 +7,15 @@ proc run_log { wait_for_re timeout_value } {
global spike_spawn_id
global output_spawn_id
set timeout 210
set kernel_msg [run_boot_string]
set output_spawn_id $spike_spawn_id
if {$wait_for_re == "forever"} {
set timeout -1
} else {
set timeout $timeout_value
}
expect {
-i $output_spawn_id $kernel_msg { }
eof {