summaryrefslogtreecommitdiffstats
path: root/src/build/tools
Commit message (Collapse)AuthorAgeFilesLines
* Pushing HB plugins and related files for building errltoolVenkatesh Sainath2018-11-151-1/+7
| | | | | | | | | | | | Change-Id: I91d432a901fb4ee6de469ca8076637eaa2e1315d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/60027 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Sampa Misra <sampmisr@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix incorrect syntax in addimgid shell scriptArtem Senichev2018-10-291-2/+2
| | | | | | | | | | | | | | | | | | | Construction '>&' is a bash specific redirection. Make-based build system uses posix shell (sh), not bash. As a result, during the call to addimgid from Makefile we got 'Syntax error: Bad fd number' and empty image name. Anyway, it is a bad idea to hide build logs. Resolves #149 Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I77102484f41e4198cca8906a6698fc42b7574380 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67624 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove auto-release & hbRelease toolsCamVan Nguyen2018-10-231-2983/+0
| | | | | | | | | | | | | | These tools have been ported to pfd_infra_tools Change-Id: I5bc519689b8f13b48eb97a194b9b9f8ad0cb2840 RTC: 200487 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67707 Reviewed-by: Sameer R Veer <sveer@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Axone PNOR GenerationBill Hoffa2018-10-111-1/+3
| | | | | | | | | | | | | | | | | - Makefile updates to generate Axone image - Initial Axone Simics XML file created with sys/node/proc targets (Several future commits will add the rest of the targets piece by piece) Change-Id: I3030265a5d81a8aeed527924bf0afd1215ac9740 RTC: 197037 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64240 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* ipmi: Split into ipmibase and ipmiext modulesAndrew Jeffery2018-10-101-1/+2
| | | | | | | | | | | | | | | | | | Split the IPMI module into base and ext portions, with the BT interface, device driver and resource provider in the base portion, and all remaining IPMI functionality in the ext portion. The split is in preparation for moving the base functionality in the hostboot base image. Change-Id: Iec864f96240d79f4fadd5519d2ef46437d07c1fd Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66792 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* new targeting sorting tools removes newline from prologMatt Raybuck2018-10-081-1/+1
| | | | | | | | | | | | | | | | | | There was a defect with the new targeting sorting tools where newer versions of xsltproc wouldn't handle the prolog correctly on some systems. This commit resolves the issue. Change-Id: I95ffe09ef865954add1afe4c75c441cecd595221 CQ:SW447229 CMVC-Prereq: 1067370 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67073 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added portable shebang to applyTargetingStyle toolZane Shelley2018-09-141-1/+25
| | | | | | | | | | | | Change-Id: Iab2877114c8b34d3406bae61f726101515564a20 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66079 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew Raybuck <mraybuc@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* Add commit hook to sort the attribute xml filesMatt Raybuck2018-09-115-1/+129
| | | | | | | | | | | | | | | | | | When xml files were changed it would produce an instant merge conflict. To resolve this issue a pre-commit hook was added that will sort the xml attributes by id preventing instant conflicts. Change-Id: Iffea1abfab459c542fe4f961616e0b5b4062804f RTC: 180350 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65894 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Fixing copyright prolog to 2018 after Gerrit server move from RTP to RCHLANDSameer Veer2018-07-191-1/+2
| | | | | | | | | | | | Change-Id: Ic1dbf6534e26126d7667a0c9fdfdff75c6963b2b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62889 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Camvan T. Nguyen <ctnguyen@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change gerrit server references to reflect move from RTP to RCHLANDSameer Veer2018-07-191-1/+1
| | | | | | | | | | Change-Id: I6c1ea55d931257328c11169839f699b6830f3ebb Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62813 Reviewed-by: Camvan T. Nguyen <ctnguyen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
* Add Resolves option for tagsDan Crowell2018-07-111-5/+21
| | | | | | | | | | | | | Allow a github issue to be used in addition to CQ or RTC tags. Change-Id: I0e7b317fe9f25b5edc864ca877b76b1ede30507f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59160 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove "Force hbRelease to search master branch" codeCamVan Nguyen2018-07-101-14/+0
| | | | | | | | | | | | Change-Id: I59bf7cccb5993e73b3a8975a65526b365c1ceefc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62075 Reviewed-by: Sameer R. Veer <sveer@us.ibm.com> Tested-by: Sameer R. Veer <sveer@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Revert "Force hbRelease to search 'master' branch"William G. Hoffa2018-06-021-9/+14
| | | | | | | | | This reverts commit 6bb10d4941533e21d5b01c634d7f2fcaed83364c. Change-Id: Id196db5a0e19494254063360cd74de85feeb3d23 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59807 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Force hbRelease to search 'master' branchBill Hoffa2018-06-011-14/+9
| | | | | | | | | | | | - There was a situation where first searching for release-fips920 would find a commit, but with a different number of patchsets and would cause errors. Change-Id: Ie8c86e446a993b4e7d80459eb1398b321b640c62 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59778 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add 2nd query to hbRelease script finding commits in release-fips920Bill Hoffa2018-06-011-1/+14
| | | | | | | | | | | | | | | | - A lot of the underlying logic assumes a one branch per FSP release stream concept. This is no longer true for release-fips920. If the query to release-fips920 fails a 2nd query will be performed to the master branch. - This should only be temporary as the real change is worked Change-Id: Ibf8650f3d761444e2b51b61376a9d74c5e3097df Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59737 Reviewed-by: Sameer R. Veer <sveer@us.ibm.com> Tested-by: Sameer R. Veer <sveer@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add Mutex and Error Recovery for Node CommunicationsMike Baiocchi2018-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | This commit adds the attributes needed for a mutex XBUS and ABUS lock and then uses them in the Node Communications Device Driver. It also adds some additional error recovery to the Node Comm DD. Plus, it adds some additional SCOMs to the Read and Write Node Comm DD operations. Change-Id: I27b94f29a6e3c2e3e2ba98fec48cc000c39add47 RTC:191008 Depends-on:I19510888c0922e5bb857cffc9426399e79e113ba Depends-on:I11893af06b7a097b43106117d648e9a431c4f3ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59292 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add check for copyright date if its begin-end years sameSumit Kumar2018-05-161-1/+12
| | | | | | | | | | Change-Id: I7ccf73f1605b3e971f6babf3cdd4a6baa9806688 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58753 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Create utility script to help automate scp calls to a given systemChristian Geddes2018-04-231-0/+50
| | | | | | | | | | | | | | | This script will leverage expect to automate scp calls to a given system target. Change-Id: Ica5ebdbe8d3b7674b445ffcd9e7b433ee0ae0359 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57564 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Add script to generate istep wait timer attribute overrideChristian Geddes2018-04-201-0/+214
| | | | | | | | | | | | | | | | | | This commit introduces a simple script that will generate an attr override file that the user can easily load into /tmp/ on an FSP in order to add a delay after a given major/minor istep combination. This script can be used by both hostboot developers or by the test team. Change-Id: If9c15d5c2988eba28e026193e26d616c68ebc881 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57303 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Force checkstops for unhandled machine checksDan Crowell2018-03-291-0/+1
| | | | | | | | | | | | | | | | | | | Default MSR[ME]=0 during initial boot for bootloader and hostboot kernel Once the xscom address range has been mapped in, enable the machine check handler to force a checkstop and set MSR[ME]=1 to allow regular machine check handling CQ: SW401402 Change-Id: I104e39465e61b3b19d5c073e71271102711ae54f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47179 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Integrate track before fsp-CI run triggersSameer Veer2018-03-281-3/+6
| | | | | | | | | | | | Change-Id: If15c2e7ccdf23ef0125f2566b17f3c8b5d399465 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56323 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added cmvcCheckinForceFlag to break links for new releasesSameer Veer2018-03-071-3/+23
| | | | | | | | | | | Change-Id: Ia0cc1e8af43972c81f44c337e51b3108ceb15362 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55217 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Remove code flows that use non-open signing toolsJaymes Wilks2018-03-071-5/+1
| | | | | | | | | | | | | | | | | | | | The environment variable SIGNING_TOOL_EDITION=community is no longer needed by genPnorImages.pl as open signing tools are the default and all code paths formerly exercised by its absence have been taken out. References to SIGNING_TOOL_EDITION have also been removed from the makefiles. Change-Id: I1f8a525fa5eb25bf8365e73e8546cd4e7b23b135 RTC:183183 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54898 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* New functions added for automating mustfix releasesSameer Veer2018-03-061-0/+200
| | | | | | | | | | | Change-Id: Ib098262d51acbda5fe8f67450c86da097648f49c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52383 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Deliver cumulus_cdimm pnor image to fips for Simics regression testingBill Hoffa2018-03-041-2/+4
| | | | | | | | | | | | | | | | | | - Add cumulus_cdimm pnor image when releasing along with the simics.tar for this image. Change-Id: Ia41dacca45c2f8a1428a3bbc1b1b37913c10d081 RTC: 188480 CMVC-Prereq: 1047062 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54835 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add duplibs.sh tool to our hostboot repoMatt Derksen2018-02-141-0/+45
| | | | | | | | | | | | | This tool helps detect if object files are being included in multiple libraries Change-Id: Ie01a079560ee785802e9245e8804db6587893191 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53592 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HB supports - Use ADU chipops to switch fabric configurationThi Tran2018-02-031-1/+5
| | | | | | | | | | | | | Change-Id: I090cdac654d9c6efbe30748713687c6e36ff914d RTC:177597 CQ:SW413432 Backport: release-fips910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52878 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Tweaks to multicast scom workaroundDan Crowell2018-01-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Added a mode to avoid a pile of FFDC collection for the case where we expect errors could happen. Also added a couple new flags to control which chiplets get accessed as part of the workaround, one to avoid access to slave cores before they are running and the other to avoid access to the memory chiplets before they have clocks enabled. Without these changes, the code is still functionally correct but the traces get filled with pointless non-errors which makes real problems harder to find and also increases boot time. Change-Id: I834781261d16748cbbfd8511d9649ec19de53d81 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50503 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Deliver NIMBUS and CUMULUS standalone images to fips for Simics regressionIlya Smirnov2017-11-301-0/+12
| | | | | | | | | | | | | | | | | | | | As part of hostboot release process, both nimbus and cumulus pnor images will be checked in to the release CMVC track along with simics.tar for each image. In order to build standalone images, new steps were added to the build functions of the auto-release script. Change-Id: Ifca2bb0b213a0e2a474709a68d6c4cb5cb74c701 RTC:141612 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48513 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix standalone compile and simics when secureboot compiled outStephen Cprek2017-11-192-3/+20
| | | | | | | | | | | | | Change-Id: Ia5e50817208eee672c7899441166add7af718c02 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49329 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Put editimgid into fsp.tarCorey Swenson2017-11-101-1/+0
| | | | | | | | | | | | Change-Id: Ia643b67e6f513b882754ec5a4d74e80f23622785 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49558 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Add script to edit hostboot binary images to enable CFM testingRichard J. Knight2017-11-082-0/+93
| | | | | | | | | | | | | | | | | | | | -Add editimgid perl script to grab image id from binary file and upate it with /cfm extension -Modify hbfw/img/makefile to call script when CFM_TEST_IMAGE environment variable is set -Update hbRelease and dist.targets to process the new perl script Change-Id: Ib4816e44932b37c2b432969b8f910d4f0ed381b2 RTC:160351 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48957 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: PAMELA J. EGGLER <eggler@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Secure Boot: Support HB standalone imprint signing with open toolingNick Bofferding2017-10-231-4/+18
| | | | | | | | | | | | | | | Change-Id: I679c9ad2984c2331f0f5d98ff3378801859ba96e RTC: 157356 CMVC-Coreq: 1036927 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48530 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add std::map operator== overload and != for vectorStephen Cprek2017-10-101-8/+16
| | | | | | | | | | | | | Change-Id: I3b40533d2586d455db184e9d845618b41b848296 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46712 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Refactor SecureBoot Workarounds to better control leniencyStephen Cprek2017-08-251-12/+0
| | | | | | | | | | | | | | | | | | At this time we are trying to secure OpenPOWER in secure mode, but allow best effort policies in other scenarios Change-Id: I9ec2b5be49dbfcff678c4d30bb85f8762e448cb6 RTC: 170136 RTC: 155374 RTC: 168021 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43640 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable Secure Mode in standalone simicsStephen Cprek2017-07-261-0/+2
| | | | | | | | | | | | | Change-Id: Icd5f1b3111f4726c01c60c8e0899d4e42f7f9131 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43336 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* pre-commit: Improve error message if not in a workonJoachim Fenkes2017-07-071-2/+4
| | | | | | | | | | | Change-Id: I8c8597f8a415053094d0886e972c9ca1e93cc09d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42028 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* bootloader: Remove hbi_ImageIdWilliam A. Kennington III2017-06-251-1/+7
| | | | | | | | | | | | | | | | | | | | None of the bootloader code references the hbi_ImageId but it is included anyway. If the version string is changed in the build sequence this results in a new hbbl.bin image. When booting with this new image, an SBE update will be triggered since the hbbl.bin is different than the one in the on chip SBE. Resolves #102 Signed-off-by: William A. Kennington III <wak@google.com> Change-Id: I5c19408473bb68ee89ef864517b6964844aad9bd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40822 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding hostboot commit hash to the release notesElizabeth Liner2017-06-131-0/+3
| | | | | | | | | | | Change-Id: Ide5991eb3a4ae85be61ce39db2898fb36bc540b7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41444 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Bug fixes in hb scriptZane Shelley2017-05-191-36/+36
| | | | | | | | | | | | | | | | | | | | | | sh uses '.' to source a file. For some reason 'source' is allowed, but not on all systems and therefore is not portable. The '==' comparison is only for strings. The '-eq' comparison should be used for numeric comparisons. 'exit' takes a value of 0-255. Use of a negative number, such as '-1', is will throw an error. Change-Id: Ib617f632a9c9ad11a28ad0e07154f364d8572f57 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40579 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@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: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Port P8 HBI page verification functionalityStephen Cprek2017-05-012-4/+8
| | | | | | | | | | | | | | Verify HBI pages via its securely signed hash page table Change-Id: I86d29ee393c19aa0d9c5270b0b6c561a9fc4ab51 RTC: 167668 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39071 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix for Add header and verify Hostboot Bootloader for sbe updateStephen M. Cprek2017-04-251-1/+10
| | | | | | | | | | | | | | Also enable the use of the FSP specific pnor layout. CMVC-prereq:1021911 Change-Id: If346c59537928d12af1dfbd085b2a492398cbf27 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39159 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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>
* Adding support to die if we see a HW-Image reqElizabeth Liner2017-03-271-0/+27
| | | | | | | | | | | | | | | | | | This change adds in a check for HW-Image-Prereq and HW-Image-Coreq. With the way this is set up, we will need to manually run after this fails since Phase 2 would continually fail even after we add in the required tracks. Change-Id: Ic838bf7d0735cb77cbdb85d577701776235e59f2 RTC:171603 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38330 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: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Adding important information in an easy-to-read formatElizabeth Liner2017-03-271-1/+57
| | | | | | | | | | | | | | | | | There was a need to have easier access to some information about the Automatic Hostboot Release. At the end of both Phase 1 and Phase 2 this will print out the bestquest number and link, track number, and every commit in the release. Change-Id: Ie85459c37335e3dd4ae26338affa93de2c67c7f1 RTC:169421 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38266 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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Allow URL in commit messageRichard J. Knight2017-03-221-2/+3
| | | | | | | | | | | | | | | -Updated URL check to mark a line as tagged line if it contains both "http" and "Reviewed-on", other URL instances will be marked as untagged lines. Change-Id: I90c12fe1c763fc083e4d7b349adc4fed7c9a5c15 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38257 Reviewed-by: Elizabeth K. Liner <eliner@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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Allow URLs in commit messagesDan Crowell2017-03-201-1/+2
| | | | | | | | | | | | | Changed the commit verifier to not think that URLs are tags Change-Id: I115918b86617c368e5feb835fde88d2b5234e117 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38103 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: STEWART E. SMITH <stewart@linux.vnet.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix HBRelease scope bugBill Hoffa2017-02-061-1/+2
| | | | | | | | | Change-Id: I8222df9d43c7db2999403c8e6b18f98671836eb8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35970 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Porting ekb verify-commit enhancements to hostbootIlya Smirnov2017-02-031-13/+59
| | | | | | | Change-Id: I6eccfca504b9396e1998f5999053b2b2f0908d73 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34366 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ensure TODOs associated with commit's RTC/CQ are addressed.Ilya Smirnov2017-02-031-0/+169
| | | | | | | | | | | | | | | Verify-commit will throw warnings when TODO or FIXME tags are found with RTC or CQ numbers that are the same as the ones in the commit message. Change-Id: Ia1b89edfeaa99eab480d99de26397af7883798fc RTC:166676 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34454 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: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding support for Auto Releases with a previously created trackElizabeth Liner2017-02-031-12/+22
| | | | | | | | | | | Change-Id: Ib3bf5a5eddd436a029bf4a5375a67f172f043495 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34218 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud