summaryrefslogtreecommitdiffstats
path: root/src/build/vpo
Commit message (Collapse)AuthorAgeFilesLines
* Update pnor section names WINK -> HCODE and PAYLOAD -> POWERVMcrgeddes2016-08-041-25/+25
| | | | | | | | | | | Change-Id: I66cc8a060f0eb7b50275a42970661247d2916035 RTC:154286 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27228 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P8+ VPO - HB supports to istep 7 for NVLINK testThi Tran2015-01-163-34/+112
| | | | | | | | | | Change-Id: I79ec79e1601ae51bf759b80a07c5b4cf2d97fc5c RTC: 95236 Depends-On: I19823ac32a963d7072d21140b828c30ab326a19f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14468 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to bash-isms for debian sh/dash configBrian Silver2014-07-141-6/+8
| | | | | | | Change-Id: Ia8825ed33610f11d75756e6e1abcdd9a23336d09 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12155 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-216-70/+70
| | | | | | | 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>
* Enhance hb-dump to support full memory extraction.Patrick Williams2013-07-102-18/+18
| | | | | | | | | | Change-Id: I74823572a4935d3c8c4d7999d8c00c0286de1523 RTC: 50233 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5170 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>
* Base SPLess istep on SP attribute flagsDean Sanner2013-05-151-12/+2
| | | | | | | | 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>
* Updated VPO tools and proc_start_clock_chiplets v1.10Thi Tran2013-01-192-22/+28
| | | | | | | Change-Id: I1c70b41527a5de809d3f8f2f3f6bef64abccf1c2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2869 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Multichip VPO supportsThi Tran2012-12-133-144/+221
| | | | | | | | Change-Id: I105942909a345a6984f430be7c147039144df587 RTC: 41240 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2457 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move to using ISTEP_MODE when FSP is presentMark Wenning2012-11-031-83/+61
| | | | | | | | | | | Also add code to clear status reg before starting splessmode. Change-Id: I96c8ff7fef7fd62ae8958104e47319303d9aa080 RTC: 51001 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2104 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support code coverage in extended modules.Patrick Williams2012-10-091-19/+20
| | | | | | | | | | | | | | | | | - 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>
* proc_prep_master_winkleMark Wenning2012-08-301-30/+35
| | | | | | | | Change-Id: I7e0ea508c75e0e368e3bfde9dcaef1788169dcf3 RTC: 44818 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1517 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updates for FSP attached VPODean Sanner2012-08-031-12/+109
| | | | | | | | | | | | Update hb-istep to clock and extract continous trace Make VPO attribute writable (so FSP can look for presence of file and update) Change-Id: I71e66b06c7947373616e9f43d95a2b9c8973a6f4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1440 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Avoid using seqNum 0 in hb-istep which may cause falsely istep completionVan Lee2012-07-281-1/+2
| | | | | | | | | | Change-Id: I5df0c989d8fd19a8c2276d5684a26bd7a6e57d6b RTC: 45560 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1409 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VPO tools update for model m_4_a (s1_e8032_c0400_cen1_cen077_unopt_1)Thi Tran2012-07-123-63/+73
| | | | | | | Change-Id: If1d0e4b8922bd1e12941c1722ecc25d819e89b29 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1334 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Integrate cen_sbe procedures for Grub milestoneVan Lee2012-07-121-13/+2
| | | | | | | | | | | | | | - Enable calling istep 10 under simics with required action rules - Update Fapiporeve HWP per code review - Pick up latest poreve code and update per code review - change mba_startclocks to mem_startclocks in do_sprint to sync with HB Change-Id: Id8fb932dc8409b50d3bd04be8b99724d81c74904 RTC: 42926 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1267 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix hb-istep defectsMark Wenning2012-07-022-15/+15
| | | | | | | | | | SW146494 : P8 Hostboot:VPO:hb_istep host_attnlisten_proc gives usagea SW146851 : P8 Hostboot:VPO:hb_istep sN fails to complete desired steps Change-Id: I4e2c233307a5b6dca369bf93918fc4831074c0ee Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1213 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Switch to using PNOR in SimicsDean Sanner2012-06-262-1/+4
| | | | | | | | | | | | | Switch to use manual PNOR images in simics Provided method for VPO to override Change-Id: I18195b645053f1ce90b4322ae2e09b6b08844331 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1241 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server
* Update VPO tools for Murano model & run on first good coreThi Tran2012-06-185-57/+88
| | | | | | | | RTC: 41721 Change-Id: I2b06de1eb2b6eba400c9c0e6ffad0a27699f8f21 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1193 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VPO Performance fixesDean Sanner2012-06-181-35/+3
| | | | | | | | | | | | | | | | Temporarily remove nanosleep calls in PNOR, FSI, Scom device drivers to enhance VPO performance. Cuts ddr_phy_reset from 17 hours to 17 min Also fixed race condition in hb-istep Change-Id: I0a60275066a9e14b564d0294c083eec8647b2ff7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1206 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>
* Change permissions on VPO scripts.Patrick Williams2012-06-135-7/+5
| | | | | | | | | | Change-Id: If908f435471b7a6d18f9bddb46eeb4487c05d60c RTC: 43489 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1192 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update VPO scripts to improve VPO performance and using new HW toolsThi Tran2012-05-115-156/+242
| | | | | | | | | | | | Update from review comments RTC: 41721 Change-Id: I39954c7415dfc4a6833b9003a0403fc5878778cd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1046 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* hb-istep SCOM changes.Mark Wenning2012-05-092-308/+611
| | | | | | | | | | | | Modifies vpo/hb-istep to communicate over Mailbox SCOM addresses instead of memory, in an effort to increase VPO performance. RTC: 38307 Change-Id: I020886bb2c6cf974a87b8a16d2be2b257f8d9757 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1040 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-042-6/+32
| | | | | | | | 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>
* Integrate proc_start_clocks_chiplets hw procedureThi Tran2012-04-273-82/+87
| | | | | | | | RTC: 39854 Change-Id: I0e6f51a41e5543beca1f97482aa0494bf067a7a3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/913 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add IStep Stubs for all ISteps in IPL Flow DocumentMark Wenning2012-04-172-155/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add stubs for all remaining ISteps, based on HostBoot_IPL_Flow_v1.01.odt document. Task 39253 1 -5 Not applicable, performed by SBE 6 - Save SBE (HWAS) ALL, Brian is moving some of them from 4 7 - Start Clocks on Nest Chiplets ALL 8 - EDI, EI init ALL 9 - Activate PowerBus ALL 10 - Centaur Init already implemented 11 - DMI Training already implemented 12 - MC Init already Implemented 13 - Dram Training already Implemented 14 - Dram Initialization ALL 15 - Build Winkle Images ALL 16 - Core Activate ALL 17 - Init PSI marked FSP, not implemented 18 - Establish System SMP 18.8, 9, 10 only, the rest are marked FSP 19 - Build and Load Host Image marked FSP, not implemented 20 - Load Payload ALL 21 - Start Payload ALL RTC: 38196 Change-Id: I4e853f58caafe7dd472d57b42883724eaaa2e8a3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/826 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update HB tool directories and VBU tool namesThi Tran2012-03-276-47/+1165
| | | | | | | | | | - mww branch hb-istep-notimeout patch 3 fix SeqNum Change-Id: I1d676ae7d2a3f3e9114ea00f5d3542aa280fdd52 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/781 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement clear_trace in hb-istep for ThiMark Wenning2012-03-211-16/+61
| | | | | | | | | | | RTC: 38383 - branch clear_trace Change-Id: I89f5967fa015a29756f608d13329db7eaa270d90 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/754 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Increase simics and AWAN timeouts for hb-stepMark Wenning2012-03-151-2/+5
| | | | | | | | | | | | - branch increase_simics_timeout review fixes Change-Id: Id2ee35f3d51ad040f68d8502ff11bcf36640be2a RTC: none Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/724 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI breakpoint external interface implementationDoug Gilbert2012-03-051-15/+58
| | | | | | | Change-Id: I2d18e87cb8ce250935a129e3567b09e12ce191d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/699 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix for VBU_Cacheline.pm -Mark Wenning2012-02-292-26/+81
| | | | | | | | | - branch hb-istep_debug Change-Id: Id1f78ed62374bec9cca40baac080cf842ade4809 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/693 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC 35744: Add Features to hb-istepMark Wenning2012-02-072-142/+246
| | | | | | | | | | | | | | | | | | | - branch save_po_file_setup_clear - bug that prints warning: Argument "<@istepnum>" isn't numeric in array element at ./hb-istep line 253, <FH> line 17. Argument "<@substepnum>" isn't numeric in array element at ./hb-istep line 253, <FH> line 17. This turns out to be caused by one of the new template files. - The istep numbers in Dean's document do not match the istep #'s printed for "hb-istep list" . Suggest removing the istep numbers for now, just list the names. - Currently if you type run by accident and the try "hb-istep istepmode", hb-istep will hang and eventually timeout because HostBoot has run past the point where it checks for istep mode. Suggest adding a global flag to HostBoot that hb-istep script can check to see if hostboot has already checked for Istep mode. - remove scanforisteps.pl and replace with grep/sed/sort line in makefile - this is from an old review with Patrick. - change to new vbutools dir and use HBDIR env variable. Change-Id: I67b01a2078ebe1a7949de55097415f185c5d5261 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/644 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to VPO tools:CamVan Nguyen2012-02-072-63/+32
| | | | | | | | | | | | Add tool's directory to perl's search path so tool modules can be found and tool can be invoked from anywhere. Change to use Hostboot's own copies of external vbu tools. Change to use common arguments for tools. Change-Id: Ide6233df381e33e724c4b57bf5fdeb37ff7233bb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/645 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* istep breakpoint supportDoug Gilbert2012-02-031-3/+58
| | | | | | | Change-Id: I592c617963f810209a9ab76345a8c568d14af62c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/629 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* VPO implementation of debug framework.CamVan Nguyen2012-01-254-516/+107
| | | | | | | Change-Id: Ic4efd38fb189efa7c42a7b3089c82c7f6d408c14 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/596 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC4420 SPless on VPOMark Wenning2012-01-203-0/+1041
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify SPLess code to use memory-mapped locations instead of SCOM scratchpad regs - Debug Framework does not support this at this time. VBU_Cacheline.pm is intended to be a module to read a single 64-bit word (which will be the spless command, status, and istepmode regs) from L3 memory within the AWAN model. CLread() will read the cacheline (at 128-byte boundaries) and then extract the quadword from the offet within the cacheline. CLwrite() will read/modify/write the quadword and cacheline. Note: There is a code block within VBU_Cacheline.pm called TEST - this returns dummy values to CLread and CLwrite so that I can run the perl script on a local system without connecting to simics or AWAN. It is not normally used. hb_istep is meant to be run after running a modified version of Jim McGuire's do_p8vbu_script_hbi-Sprint7 . See my public directory /gsa/ausgsa/home/w/e/wenning/Public/HBI/scripts for the modified script. These changes will be merged back into Jim McGuire's script later. The modified version loads the binaries into L3, sets up all the rest of the environment, and then exits BEFORE going into the execution loop. At that point, the user should run hb-istep --istepmode to set HostBoot up to run IStep SPLess (Single Step) . The user can then run hb-istep commands to execute isteps, etc. hb-istep use is documented on the wiki at https://w3-connections.ibm.com/wikis/home?lang=en_US#/wiki/Host%20Boot/page/HB%20ISteps%20on%20AWAN Please look there for updates. - first commit, branch vbu2 - modify spless to use memory locations instead of SCOM regs - add VBU_Cacheline.pm - archive temporary version of do_p8vbu_script_hbi-mark until we can get the hb-istep hooks into Jim McGuire's scripts - add test calls to VBU_Cacheline.pm - change flush call to Joe McGills "quiet" version - add note that p8_ins* calls are in Jim McGuires dir and will be replaced by the "official" ones soon. - experiment with git notes command, sorry for the thrash - add check to see if VPO is STOPPED before accessing anything - partial review fixes - blocked on model: can't test Change-Id: I07431dc525844c5c504175d92eae113457eac063 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/592 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Change to use new flush L2 tool for new AWAN model.CamVan Nguyen2012-01-131-2/+2
| | | | | | | | Change-Id: I39fb79f5c1ceeced58f367dbd7385dc708f11a3c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/614 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Perl fixes for variable-sized trace buffers.Monte Copeland2012-01-091-2/+25
| | | | | | | | Change-Id: I40e5efaba9bde0a2b75b8cd5b316f7b8642db8bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/594 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Update VPO debug script for new HW program locationThi Tran2011-11-221-2/+1
| | | | | | | | | Change-Id: I7bb2830470e5c32af89c6c776ee40257a18228ab Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/512 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added option to use a chiplet level target when flushing L2CamVan Nguyen2011-09-221-1/+1
| | | | | | | Change-Id: I1a31d574a15f1c40f9ea464776441c28347c06e5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/355 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server
* Added function to dump and parse error logs to hostboot dump and parse tools.CamVan Nguyen2011-09-145-0/+1344
Added new tools hb-trace, hb-errl, hb-printk, hb-dump for vbu/vpo debug. Added support for ecmd options, more error checking and misc enhancements. Change-Id: I8f5ed666a1d99ff894015e07a20595fcac8727b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/343 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
OpenPOWER on IntegriCloud