summaryrefslogtreecommitdiffstats
path: root/src/build/simics/hb-simdebug.py
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-04-26 15:21:31 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-05-10 12:16:17 -0400
commitbadc9c4d313ae5a282b27fba8196c85b28e85c9b (patch)
treec713cee1aef74e213b6a4e72e429fb693d5bf7e6 /src/build/simics/hb-simdebug.py
parent6b5cbe4f6329a608a916b74cf5a2dff12546827e (diff)
downloadtalos-hostboot-badc9c4d313ae5a282b27fba8196c85b28e85c9b.tar.gz
talos-hostboot-badc9c4d313ae5a282b27fba8196c85b28e85c9b.zip
Create Tool to Debug Bootloader Issues
Create a Bootloader Trace parser under the hb tools in order to determine if Bootloader ran and to see what it ran. Change-Id: Ibfb8c95ac6565169f822a4092c028aceb7923b87 RTC: 152484 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23695 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/simics/hb-simdebug.py')
-rwxr-xr-xsrc/build/simics/hb-simdebug.py22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/build/simics/hb-simdebug.py b/src/build/simics/hb-simdebug.py
index fedb0780f..d9f7be5aa 100755
--- a/src/build/simics/hb-simdebug.py
+++ b/src/build/simics/hb-simdebug.py
@@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2011,2015
+# Contributors Listed Below - COPYRIGHT 2011,2016
# [+] International Business Machines Corp.
#
#
@@ -39,6 +39,26 @@ default_stringFile = "hbotStringFile"
#------------------------------------------------
#------------------------------------------------
+new_command("hb-bltrace",
+ lambda: run_hb_debug_framework("BlTrace", outputFile = "hb-bltrace.output"),
+ #alias = "hbt",
+ type = ["hostboot-commands"],
+ #see_also = ["hb-trace"],
+ see_also = [ ],
+ short = "Display the Bootloader trace buffer",
+ doc = """
+Parameters: \n
+
+Defaults: \n
+ 'syms' = './hbibl.syms' \n\n
+
+Examples: \n
+ hb-bltrace \n\n
+ NOTE: Results are unpredictable after control is passed to Hostboot Base.\n
+ """)
+
+#------------------------------------------------
+#------------------------------------------------
new_command("hb-trace",
(lambda comp: run_hb_debug_framework("Trace",
("components="+comp) if comp else "",
OpenPOWER on IntegriCloud