summaryrefslogtreecommitdiffstats
path: root/src/build/debug/ecmd-debug-framework.pl
Commit message (Collapse)AuthorAgeFilesLines
* Dynamic ATTR Override support via debug interfaceDean Sanner2017-06-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | -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>
* Update ecmd-debug-framework for P9Dean Sanner2016-10-171-13/+4
| | | | | | | | | | | - P9 always uses pba mode for memory access Change-Id: I7a2455c8244e58ce283ce51ea37a9979b2798d48 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31374 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* FSPless continous tracing supportDean Sanner2016-06-241-9/+1
| | | | | | | | | | | | | | | | - Updated trace daemon to output trace buf addr, size to mbox scratch 1, 2 - Moved enable disable of continous trace to "istep" control - Updated istep tool to dump traces to file and commandline Change-Id: I2d9f48f5ed9878591ff9ab45fa18a98fc286ac1f RTC:127346 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24565 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow ADU access to memory instead of PBA in ecmd debug toolDan Crowell2014-12-031-5/+58
| | | | | | | | | | | | The mempba access procedures use PBA BAR3 to get to memory. The OCC also uses BAR3 so there is a collision with the tool if the OCC is running. Added an option to the ecmd framework to allow a user to force a method (pba/adu) and for the tool to check by default. Change-Id: I403cf1f08a8f753ea7f29e59501d80fb2daf432f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14677 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add node support to ecmd debug frameworkDan Crowell2014-02-271-8/+17
| | | | | | | | Change-Id: Ibbbcf74218b66aea04d33064655b7f196545d8fa Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8849 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow Hostboot Debug tools that do unaligned writes to work on CronusMike Jones2013-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | The ecmd debug framework support uses cipputmempba to write to Hostboot memory, this was changed some time ago to disallow non cache-line aligned writes. But some tools (e.g. HwpfAttrOverride) do unaligned writes and they therefore fail. Also any tool that calls a Hostboot function using CallFunc will fail because that also does unaligned writes. The emcd team changed cipputmempba to do a read-modify-write for unaligned writes if the inj mode is specified. Also a small fix to HwpfAttrOverride here, it was interpreting a decimal value (the attribute id) as hex which must be due to something changing because this used to work. Change-Id: I6535340e41d802489070bc6cffff85b9e33337db RTC: 70350 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6362 Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Base SPLess istep on SP attribute flagsDean Sanner2013-05-151-5/+3
| | | | | | | | Change-Id: I69250fd57b264d507b0fb4f2c82f4752f83c4329 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4091 Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ECMD-based debug framework.Patrick Williams2013-01-141-0/+405
RTC: 47061 Change-Id: Ie77c553a6f4e67c11927ed8650f81ab80ae1672c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2883 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud