summaryrefslogtreecommitdiffstats
path: root/src/tools/debug
Commit message (Collapse)AuthorAgeFilesLines
* Fix for pibmem attribute dumpspashabk-in2017-07-252-1/+20
| | | | | | | | | | | | | | Alignement fix for attr dump Collect attrdump in simics Fix in sbe-debug.py to determine file not found Change-Id: Ia55ccdb21e19a2f43d1f6255dc5f5533689eb8e1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43204 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Mapping register value to names in ppestate dumpspashabk-in2017-07-131-3/+80
| | | | | | | | | | | Implement the mapping of register values to their names for ppestate dump using sbe-debug.py Change-Id: Ie92cc09d7afb0c3f59120b5c5f1846e3890753b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41675 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* sbe-debug.py bug fix in attrdumpspashabk-in2017-07-121-1/+1
| | | | | | | | Change-Id: Ieee5ee9f5cd1ebce34de15f4c86db5b02ea26829 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42719 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Extend sbe-debug.py tool and fixesspashabk-in2017-06-191-67/+99
| | | | | | | | | | | | | | Added command '-l sym -s <SYMBOL>' to read a symbol value fromm pibmem All the file dependencies to be resolved in the following order - SBE_TOOLS_PATH > current directory > system PATH Fix in forced-trace command to correct the offset Change-Id: If5320c060a3580c53836c5387979d6ea8dc7518c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41882 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* sbe-debug.py Indentation Error fixedRaja Das2017-06-091-1/+1
| | | | | | | Change-Id: I72f59cd997062d2220b580bdbbba19f4f32b1aa1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41594 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Supported Stack Usage feature on HW via cronusRaja Das2017-06-062-7/+52
| | | | | | | | Change-Id: I7b5eaa1ee484e4fbd31f12146d3d47dd24344255 RTC: 175229 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41360 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Figure out DD level in simicsspashabk-in2017-06-021-10/+28
| | | | | | | | | | Command to get ddlevel of sbe - "sbe-ddlevel 0" Rename stack usage tool to "sbe-stack" Change-Id: I504a827b46957673335156dbc100e64709ef041a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41150 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Remove dependency of sbe obj path for sbestate, ppestate etcSachin Gupta2017-05-311-23/+28
| | | | | | | | | | Change-Id: I5afe599e9f128ac0721d437cef0b5a2057dc346f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41156 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Enable tools to take fsp-trace from system pathSachin Gupta2017-05-311-3/+10
| | | | | | | | | | | | | | fsp-trace is not created as part of sbe build output. So will use system path for fsp-trace. It can be overridden by manually putting fsp-trace in sbe build output. Change-Id: Ia27de410f3c705e7fc9f6d0604977e0074849a46 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41154 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix in forced trace command for DD2spashabk-in2017-05-161-2/+6
| | | | | | | | Change-Id: If8a92cb7a0ceaf19dc20f24b9fa58062ac176ddc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40199 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Minor changes in debug scriptSachin Gupta2017-04-281-2/+2
| | | | | | | | | | Change-Id: Ib8d9531ce51a886639885e7198449e52d0f89c25 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39770 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fixes and enhancements in sbe-debug.pyspashabk-in2017-04-191-6/+71
| | | | | | | | | | | | Added 'forced-trace' command to get SBE traces even if the proper SBE symbol files are not available Fixes in 'sbestatus' to properly get the status regsiter Change-Id: I2c2b4dccf9246219f23b61746f4c1dfd644d1d74 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39198 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* BMC Mpipl isteps updated, 50009 Reg updated for Major/Minor IstepRaja Das2017-03-211-4/+4
| | | | | | | | | | Change-Id: Id06d2f0e84f055feb3080b043f0ac3de3de5ab01 RTC: 164425 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33292 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* SBE Dump parser (sbestate, sbelocalregister, ppestate, pibmem)Raja Das2017-03-201-10/+65
| | | | | | | | | Change-Id: I6fdd38cc6d682573d7c7fd6525be673ddf8b6424 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36712 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Added support for FILE (traces/attr) in sbe-debug.pyRaja Das2017-02-071-82/+120
| | | | | | | | RTC: 161828 Change-Id: I456806f9c1f89e07512f5c7646dfcd85d87979c2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33391 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* DD2 image infrastructurespashabk-in2017-02-032-14/+25
| | | | | | | | | | Change-Id: Iacd98b961f87b805fab788f004d87880c4f5f7e0 cmvc-req:1013262 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34241 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Saving existing Cronus FIFO state in sbe-debug.pyspashabk-in2017-01-191-11/+19
| | | | | | | | Change-Id: Ice8801e36f563ba0565b13e55b2b83a11a834d90 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33234 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Remove argparse modulespashabk-in2016-12-011-30/+72
| | | | | | | | Change-Id: I51e03ae9cd39e07cffc88cd626a5298f4f8514d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32995 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Replace SIM_run_alone with run_command in sbe-trace toolspashabk-in2016-11-221-3/+3
| | | | | | | | | | | SIM_run_alone command is run in a different context, which was causing issues if 'sbe-trace' itself is invoked through SIM_run_alone CQ:SW372118 Change-Id: I772a90158437ba74f8721e7767a9c9d9e42765ab Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32856 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Enhance sbe-istep command to take rangesShakeeb2016-11-141-1/+1
| | | | | | | | | | | | Signature of command remains the same Ex1: sb-istep 2 2 -> will run only istep 2.2 Ex2: sb-istep 2.3 4.5 -> will run all the SBE isteps from 2.3 to 4.5 Change-Id: I7ede7a295485bcf209916c0a05798bfb5173996b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31611 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE stack usage toolspashabk-in2016-11-101-0/+40
| | | | | | | | Change-Id: I1f8fa279520dc97729935de9e41762259cc7d4dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31964 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Temporary Fix for timerSachin Gupta2016-10-261-0/+17
| | | | | | | | | | | Also include fix for changing the behavior on simics CMVC-Prereq: 1009109 Change-Id: Ib191e2c30ac508d2506ea1ed48dd76cc59da62f2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31519 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Update SBE makefileShakeeb2016-10-241-1/+1
| | | | | | | | Change-Id: Ib7a7f6d39f943ce5edf13e6dd4d27bd76a392749 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31487 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Updated sbe-debug.pyRaja Das2016-10-221-4/+6
| | | | | | | | | | | | | | | sbeStatus() now accept Node and Proc as input sbe-debug.py is now part of simics.tar RTC: 163289 Change-Id: I0575b21d882680634cfefbad6fe39065f06e4a2b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31616 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Disable/enable FIFO in sbe-debugSachin Gupta2016-10-131-0/+15
| | | | | | | | | | | | Change-Id: Ic6cea88c9007726a6829002ac9b16acb8483f81c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31003 Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Added support for SBE status registerSunil.Kumar2016-10-111-2/+51
| | | | | | | | | Change-Id: Ia2ae65fdb2ed1536412aacbff1a5034084915c5b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30655 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Rename sbe debug fileSachin Gupta2016-09-301-1/+1
| | | | | | | | | Change-Id: If73afba13589ab204b335639376efc711d693300 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30483 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
* Update debug tools as per new proceduresSachin Gupta2016-09-261-35/+85
| | | | | | | | | | | | Change-Id: If6508d9ccbfe5d30ec425df23ef7877764fb0325 RTC: 158545 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29165 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Update file headersSachin Gupta2016-09-163-0/+3
| | | | | | | | Change-Id: Icdd7460d8e3213f9bbd3d52e7825242bc59fc9e9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29825 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE code restructure: cleanupShakeeb2016-09-013-4/+2
| | | | | | | | | Change-Id: I354cc79ba25b843fdb1a7524a19b8d0c41bd9051 RTC:159709 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29060 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE code restructure: Image directory setupShakeeb2016-08-301-0/+136
| | | | | | | | Change-Id: I6305135b930d12ab933e5ddfc946b047ebba3f49 RTC:159709 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28902 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE code restructure: sbe -> src renameShakeeb2016-08-304-0/+157
Change-Id: I6e4378d0e71a00ed2b239658d43f180df2a9b748 RTC:159709 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28875 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud