summaryrefslogtreecommitdiffstats
path: root/src/build/debug/simics-debug-framework.py
Commit message (Collapse)AuthorAgeFilesLines
* Load PAYLOAD from FFS partition.Thi Tran2014-06-301-1/+11
| | | | | | | | Change-Id: Ib4f3b0631a9afb92fd5950b1636b8a3077684dbc Origin: Google Shared Technology Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11553 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot memory mirroring supportDoug Gilbert2014-06-021-4/+19
| | | | | | | | | Change-Id: I20a5de367b33c657abdc5c6aef29cecab940a8ca RTC: 102529 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10641 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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>
* Move mailbox area to leave more room for Sapphire.Patrick Williams2014-05-091-2/+2
| | | | | | | | | | Change-Id: If39241fbbc110400177b3ef3a5e895f5ed14f2a4 RTC: 81670 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10588 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove phys_mem hardcoding to handle map changesDan Crowell2014-01-071-8/+23
| | | | | | | | | | | | Fixes 2 issues: -Memory map changes broke 2-node Brazos -P8_NO_SP config busted because HRMOR=0 CQ: SW239593 Change-Id: Id62f1d707b59849d8633a51bb4f74905e7318d78 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7883 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add multinode support to HB continuous traceDoug Gilbert2013-12-091-3/+39
| | | | | | | | Change-Id: I0eb3d33992d821fc1f1fced189553c73c7778929 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7332 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed performance issues in SIMICS IPLStephen Cprek2013-10-311-0/+4
| | | | | | | | Change-Id: Iccce5b641d0e2dc414bacc143a6b3e186f4e49ab CQ: SW224728 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6960 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tweaks for simics scriptsDan Crowell2013-08-091-1/+2
| | | | | | | | | | | | 1) Moved hardcoded cpu to 1 place only 2) Attempt to use Simics commands for masterproc Change-Id: If6bb1f60342d16da54cb558a4092425da2ed1215 RTC: 51267 CQ: SW214903 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5509 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support Brazos Simics model names in debug toolsDan Crowell2013-04-171-1/+1
| | | | | | | | | | | | | | Quick fix to support the new object names in the Brazos Simics model. There are more changes required to support multinode (see RTC: 61853) but this should work for single node bringup. Change-Id: If0c591a2ae7c6665dcf76aa4a2e5a904455da4dd RTC: 68898 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3955 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support multi-core in standalone and move to new build.Andrew Geissler2013-04-051-1/+1
| | | | | | | | | | Change-Id: I5e69a15be0117b007dc343fcba5fa7e1493331fc RTC: 68317 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3841 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow trace magic instrs to succeed when fsp-trace missing.Patrick Williams2013-01-151-2/+2
| | | | | | | | | | | | | | The PHYP environment does not have the fsp-trace executable in their environment and so the magic instruction handlers for continuous trace were failing. Allow the fsp-trace invocation to succeed by running 'fsp-trace || true'. The side effect is that tracMERG will be empty if there really is an issue with fsp-trace. Change-Id: I5bef846591252fd63500b354768c8a23f29ff9ec Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2932 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Lockless trace implementationPatrick Williams2012-12-141-46/+8
| | | | | | | | | RTC: 35396 Change-Id: I96ea0d95606f04abb4dc2b0470345ca475b53912 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2520 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support code coverage in extended modules.Patrick Williams2012-10-091-0/+14
| | | | | | | | | | | | | | | | | - Reduce optimization (to -Os) to fit when doing coverage profile. - Remove errl storage area from base image. - Add GCC function attributes to sys library functions. RTC: 36933 Change-Id: Ic83011a2444ef5b735db0446a14a0af34187eebf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1908 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for Non-zero HRMORDan Crowell2012-09-161-0/+24
| | | | | | | | | | | | | | | | | | Changes to kernel code to support detection and use of HRMOR offset in memory Changes to tooling to handle the real memory offset New interface to retrieve the physical address that corresponds to a virtual address To test, run these commands before starting up Hostboot: system_cmp0.cpu0_0_05_0.write-reg HRMOR 0x8000000 proc_venicechip_cmp0.phys_mem.del-map p8Proc0.l3_cache_ram 0 0 RTC: 46032 Change-Id: I50ab248f941218a3a14a8f0fc12a551b56dc7cf3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1553 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory profiling tools.Patrick Williams2012-09-071-14/+87
| | | | | | | | | | Change-Id: I4a9cfc1f55c09ff6d02dce80889ac2e3150ab137 RTC: 44504 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1619 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial attention handler support.Brad Bishop2012-07-161-0/+4
| | | | | | | | RTC: 40764 Change-Id: Ic5b5b3e80915cb4f0ee543baa6fe4abc51e07ad2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1079 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update HB simics calls to new PHYP model names.Patrick Williams2012-06-281-7/+9
| | | | | | | | | | | | | | | See SW149779. The PHYP simics model is changing the location of phys_mem to be under system_cmp0 and renaming venice_cec_chip_cmp0 to proc_venicechip_cmp0. Change our debug and startup scripts to match these new naming conventions. Change-Id: I32b2ff8fa3467806ac4d7fac1b8b2e1db0796259 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1256 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix continuous trace missing traces issue in simics when hostboot shuts downVan Lee2012-06-251-2/+3
| | | | | | | | Change-Id: Ib4e619b0eaf01caf1e1276d2a712dfbb6da996de RTC: 43475 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1215 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* hb-Istep workaround for simicsMark Wenning2012-06-251-1/+9
| | | | | | | | | RTC: 43953 Change-Id: I8e13c6186a39786382e70be4276a67b9ec8f92e9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1238 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Improve distribution mechanism for FSP delivery.Patrick Williams2012-06-081-9/+13
| | | | | | | | | | | | | | | | | | | | | | Replaced 'cpfiles' with a set of makefiles that does all of the old function and also allows more complex behaviors such as creating a TAR file of all our common code. Moved the delivery location of our content into a simics sandbox to match the locations in an FSP build. Updated debug tools to handle living in a different location. Removed 'post_model_hook.simics' and replaced with the {startup,standalone,combined}.simics files. Updated various scripts that were calling 'cpfiles' to instead call 'hbDistribute' (which in turn calls the makefiles). RTC: 41640 Change-Id: I10d1782ae89a397725e880c44ba44d01b0e4b011 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1173 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support P8 memory map from PHYPPatrick Williams2012-06-011-2/+2
| | | | | | | | | Change-Id: I19e5c373713b6e8b12386266c5c2c3a015068d5a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1132 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pick up Simics FSI fixes for multiple chipsDan Crowell2012-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | Updating the Simics level to get FSI fixes to allow multiple chips to work. This also allows us to remove some previous workarounds. The new Simics build pulled in a different PNOR so needed to disable some of the tests. The new Simics build also modified some of the L3 objects so changes were required to some debug tools. Had to update the VENICE config since Ched rewired it to look like MURANO/Tuleta. Testing: Verified 2-proc, 4-centaur MURANO config Verified 2-proc, 4-centaur VENICE config Change-Id: I6aaaf8aad2f82dbfffb8ade551d545bedaa3e048 RTC: 41305 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1066 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* hb-istep in debug frameworkMark Wenning2012-05-211-15/+49
| | | | | | | | Change-Id: I21d95952e526e3ade6399c2f7e022e0897ae4610 RTC: 38308 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/959 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix continuous trace function losing traces in high traffic condition.Van Lee2012-05-041-0/+9
| | | | | | | | Change-Id: I9444e222e89e44017bf3039a09ecb28e9409a389 RTC: 39164 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/917 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VPO continuous trace support for VBU (AWAN) execution environemtVan Lee2012-03-031-4/+27
| | | | | | | | Change-Id: Ib304cb0e203e4a4b69a07e824cb88581462463e2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/687 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Continuous trace: clear mixed trace buffer from callback in SimicsMonte Copeland2012-02-031-0/+27
| | | | | | | | Change-Id: Ia42c047c40e2d87200e4d3f531ff194a1c3af1ac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/641 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Simics continuous traceMonte Copeland2012-01-111-0/+77
| | | | | | | | | Change-Id: I5f5d9c30b4cc0f0d8704fb99c10757e0f41018bf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/603 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Interactive debug tool.Patrick Williams2011-12-061-9/+43
| | | | | | | | | | | | | | | - Modify debug fw to support writing data. - Modify debug fw to support clocking model forward. - Add simics environment support for both. - Kernel support to start a task when directed. - Write debug tool to modify kernel structure for debug. Change-Id: Ic001dfd45f91392aefbc9d5096c5344018d5190e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/518 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* DbgFw: save tool output to file in simics.Patrick Williams2011-11-181-4/+10
| | | | | | | Change-Id: Ib796caecac77df68012c79fce481445ba171d7ed Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/507 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errl.pm for error log handling via perl debug frameworkMonte Copeland2011-11-161-0/+1
| | | | | | | | Change-Id: Idf79ba5e147afba2d98e926b73263adf9714e604 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/489 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Simics implementation of debug framework.Patrick Williams2011-11-161-0/+224
Change-Id: Ie9f6963070ced0a39c2e62f685c79d6da01fdcdb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/488 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud