summaryrefslogtreecommitdiffstats
path: root/src/build/debug/ecmd-debug-framework.pl
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2017-06-01 14:05:18 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-08 10:10:23 -0400
commitf195e428f6b6494c5789c0833291321f564b058e (patch)
treeebb1485e5fd0a5b5eb0aaa5be754bbb6fb0d0e57 /src/build/debug/ecmd-debug-framework.pl
parent4c586e2298ffafed3c1979784e1626868bd46f58 (diff)
downloadtalos-hostboot-f195e428f6b6494c5789c0833291321f564b058e.tar.gz
talos-hostboot-f195e428f6b6494c5789c0833291321f564b058e.zip
Dynamic ATTR Override support via debug interface
-Supported by debug tools (ecmd-debug-framework/Cronus) Only in istep mode and between isteps Requires HB to be running -Uses output of attributeOverride tool (same format as ATTR_TMP) -Introduces two new "debug" isteps 255,4,set_attr_overrides 255,5,clear_attr_overrides -Once istep is triggered Hostboot sends down address/size and the debug tool uses putmempba to push data to cache/mem. Then Hostboot consumes just like ATTR_TMP Change-Id: I4ade7b85acac077a15bdb36bba1ef9df4263b428 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41271 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/debug/ecmd-debug-framework.pl')
-rwxr-xr-xsrc/build/debug/ecmd-debug-framework.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/build/debug/ecmd-debug-framework.pl b/src/build/debug/ecmd-debug-framework.pl
index 7cb574f46..6514f5b0f 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,2016
+# Contributors Listed Below - COPYRIGHT 2013,2017
# [+] International Business Machines Corp.
#
#
@@ -220,15 +220,13 @@ sub writeData
my $putmemcmd = "putmempba";
if( $memMode =~ /adu/ ) { $putmemcmd = "putmemproc"; }
- my $command = sprintf(
- "$putmemcmd -n%d -p%d -cft -fb %s %x -quiet -mode inj > %s",
+ my $command = sprintf("%s -n%d -p%d -fb %s %x -quiet -mode inj > %s",
$putmemcmd,
$node,
$proc,
$filename,
$addr,
$debugfile);
- ::userDisplay($command);
if (system($command) != 0)
{
system("cat $debugfile");
OpenPOWER on IntegriCloud