summaryrefslogtreecommitdiffstats
path: root/src/build/debug
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-04-26 10:56:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-07 16:13:33 -0400
commit6634b6fca3df25e48a489ee45f09ba40e67b99f0 (patch)
tree519e3a90734e5b09c0225923b9112f501f349c74 /src/build/debug
parentdd25ed1a207c0bcc7f0b36733f6e5a0fcca31f38 (diff)
downloadtalos-hostboot-6634b6fca3df25e48a489ee45f09ba40e67b99f0.tar.gz
talos-hostboot-6634b6fca3df25e48a489ee45f09ba40e67b99f0.zip
Better debug for weird PIR issues
Ran into a case where Hostboot was getting booted with the wrong fabricid for the node it was on. In the process I realized it was hard to tell what was going on. Added printk output to show the PIR of the boot core. Modified how force-hrmor option is consumed in ecmd-debug-framework so that you can force unnatural lookups. Change-Id: I77fc614889aa3cedcc8ccd39cac9ebc36f239b56 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57910 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/debug')
-rwxr-xr-xsrc/build/debug/ecmd-debug-framework.pl13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/build/debug/ecmd-debug-framework.pl b/src/build/debug/ecmd-debug-framework.pl
index 6514f5b0f..15439c66a 100755
--- a/src/build/debug/ecmd-debug-framework.pl
+++ b/src/build/debug/ecmd-debug-framework.pl
@@ -6,7 +6,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2013,2017
+# Contributors Listed Below - COPYRIGHT 2013,2018
# [+] International Business Machines Corp.
#
#
@@ -45,7 +45,7 @@ my $toolOptions = "";
my $cfgHelp = 0;
my $cfgMan = 0;
my $toolHelp = 0;
-my $forceHRMOR = DEFAULT_HRMOR;
+my $forceHRMOR = 0;
my $node = 0; # -nX parm to ecmd
my $proc = 0; # -pX parm to ecmd
my $memMode = "check";
@@ -148,7 +148,14 @@ sub getEnv
#
sub getHRMOR
{
- return $forceHRMOR + ($node * PER_NODE_OFFSET);
+ if( $forceHRMOR != 0 )
+ {
+ return $forceHRMOR;
+ }
+ else
+ {
+ return DEFAULT_HRMOR + ($node * PER_NODE_OFFSET);
+ }
}
# @sub readData
OpenPOWER on IntegriCloud