[Skiboot] [PATCH] gcov: Fix skiboot size to dump out from simulators

Stewart Smith stewart at linux.ibm.com
Fri Jul 19 16:33:39 AEST 2019


We can be up to 5MB now, and have been for a while.

Fixes: 7c9b3eb3c149843a27b9674e66b0227cf289a29a
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 test/hello_world/run_hello_world.tcl   | 2 +-
 test/run_boot_test.tcl                 | 2 +-
 test/sreset_world/run_sreset_world.tcl | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/hello_world/run_hello_world.tcl b/test/hello_world/run_hello_world.tcl
index 0e2922db6baf..bbd916c39674 100644
--- a/test/hello_world/run_hello_world.tcl
+++ b/test/hello_world/run_hello_world.tcl
@@ -1,5 +1,5 @@
 source ../../external/mambo/skiboot.tcl
 
 mysim go
-mysim memory fwrite 0x30000000 0x300000 skiboot-hello_world.dump
+mysim memory fwrite 0x30000000 0x500000 skiboot-hello_world.dump
 exit
diff --git a/test/run_boot_test.tcl b/test/run_boot_test.tcl
index f8072ccab971..9aa708de27c9 100644
--- a/test/run_boot_test.tcl
+++ b/test/run_boot_test.tcl
@@ -12,5 +12,5 @@ proc console_trigger {response args} {
 mysim trigger set console "Welcome to Petitboot" { console_trigger "x" }
 mysim trigger set console "# "  { console_trigger "halt\n" }
 mysim go
-mysim memory fwrite 0x30000000 0x300000 $env(SKIBOOT_MEM_DUMP)
+mysim memory fwrite 0x30000000 0x500000 $env(SKIBOOT_MEM_DUMP)
 exit
diff --git a/test/sreset_world/run_sreset_world.tcl b/test/sreset_world/run_sreset_world.tcl
index d399a0dafaba..38da0d23542a 100644
--- a/test/sreset_world/run_sreset_world.tcl
+++ b/test/sreset_world/run_sreset_world.tcl
@@ -2,5 +2,5 @@ source ../../external/mambo/skiboot.tcl
 source ../../external/mambo/mambo_utils.tcl
 
 mysim go
-mysim memory fwrite 0x30000000 0x300000 skiboot-sreset_world.dump
+mysim memory fwrite 0x30000000 0x500000 skiboot-sreset_world.dump
 exit
-- 
2.21.0



More information about the Skiboot mailing list