mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
run: look for platform boot string at beginning of line
When running the same kernel in a VM as on the host system and the kernel boot message from the VM appears on the log output, the run tool assumes that the host machine has rebooted unexpectedly. With this commit, an unexpected reboot is assumed only if the kernel boot message appears at the beginning of a line. On base-hw, we enforce a line feed at the beginning of the boot message as the SPIKE emulator log starts with the first message of the kernel lacking a line feed. Fixes #2041
This commit is contained in:
parent
747137c201
commit
84ee970e9b
@ -60,7 +60,7 @@ extern "C" void init_kernel()
|
||||
|
||||
Core_thread::singleton();
|
||||
|
||||
Genode::printf("kernel initialized\n");
|
||||
Genode::printf("\nkernel initialized\n");
|
||||
|
||||
test();
|
||||
|
||||
|
@ -60,7 +60,7 @@ set fiasco_serial_esc_arg "-serial_esc "
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "L4 Bootstrapper"
|
||||
return "\nL4 Bootstrapper"
|
||||
}
|
||||
|
||||
|
||||
|
@ -248,7 +248,7 @@ proc run_boot_dir_arm {binaries} {
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "L4 Bootstrapper"
|
||||
return "\nL4 Bootstrapper"
|
||||
}
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@ proc run_boot_dir_hook { } {
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "kernel initialized"
|
||||
return "\nkernel initialized"
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ proc nova_external { } {
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "NOVA Microhypervisor"
|
||||
return "\n\r\fNOVA Microhypervisor"
|
||||
}
|
||||
|
||||
|
||||
|
@ -102,7 +102,7 @@ set weaver_xml_template {
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "OKL4 -"
|
||||
return "\n\r\033\\\[1m\033\\\[33mOKL4 -"
|
||||
}
|
||||
|
||||
|
||||
|
@ -64,7 +64,7 @@ proc kernel_external { } {
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "L4Ka::Pistachio -"
|
||||
return "\n\r\033\\\[1m\033\\\[33mL4Ka::Pistachio -"
|
||||
}
|
||||
|
||||
|
||||
|
@ -15,7 +15,7 @@ proc run_boot_dir_hook { } {
|
||||
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "Starting node #0"
|
||||
return "\n\rStarting node #0"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user