summaryrefslogtreecommitdiffstats
path: root/src/build/tools/hb
Commit message (Collapse)AuthorAgeFilesLines
* Support for ATTR_TMP and GUARD in standalone simicsDan Crowell2020-01-101-1/+1
| | | | | | | | | | | | | | | | | If a file called ATTR_TMP or GUARD exists in the simics search path, they will be automatically loaded into pnor when simics starts. The offset is computed when the pnor is built by way of a generated python file that we then load into simics. Change-Id: I4d68215a589dcbdaefb2a67e65d1f6928ce639fa Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88398 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Luis P Fernandez <luis.fernandez@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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
* Axone 2-Proc Standalone Sim EnablementBill Hoffa2019-08-301-1/+1
| | | | | | | | | | | | | | | - XML Additions for all targets on 2nd proc Change-Id: Ib8a860e4679e08253076abbbade98f4ba172e81d RTC: 208448 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82685 Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Start simics in vexec for Axone by defaultChristian Geddes2019-07-101-4/+12
| | | | | | | | | | | | | | | | | | | | | Previously when you called 'hb startsimics' with the axone config we were not running in a vexec shell. This was causing the pool machines to crater if people were running 1 or 2 simics sessions. This commit will check if the '-nre' flag has been passed in, or if we are in a vexec shell already. If niether of those are true then we will boot simics in a vexec shell, if they are -nre has been passed or we are already inside a vexec then we will not boot simics inside a vexec. Change-Id: I17895bb109f18bbcc4b0daafe6c864531bf5994a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79573 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Chen Du <duchen@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add command echo to sandbox executorDan Crowell2019-07-091-2/+1
| | | | | | | | | | | | | | | Print out the command being run inside the ode sandbox whenever execute_in_sandbox is called. Change-Id: I6c1a78a93860eddaf7f99d88cb402609d2b4e166 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79549 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Revert "Remove references to prebuilt eecache"Christian R. Geddes2019-07-011-0/+3
| | | | | | | | | This reverts commit 1b06c4f813fd7a8395ccfc93c9dea9b22dd488f1. Change-Id: Ibbbd4a25a7374a001333b18aa863e9d5fd04293e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79849 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Remove references to prebuilt eecacheChristian Geddes2019-06-251-3/+0
| | | | | | | | | | These changes mistakenly got pulled in early. The will come in a commit that introduces the prebuilt eeprom cache pnor section. Change-Id: Ic0c94b42f2e3c1715318dd22f51266a8dcb0e15b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79451 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Update simics release used for Axone simicsChristian Geddes2019-06-241-1/+5
| | | | | | | | | | | | | | | | | | Changes that Hostboot cares about are: - 2 proc fixes - newer sbe image for axone - new #V nest freq (2400 -> 2000) - updated scandef Change-Id: I7279035c24442e1e7b29a83d53d3f53505ebf9bf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79348 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Update bbuild and point axone simics at scandef.abr from bbuildChristian Geddes2019-06-131-1/+1
| | | | | | | | | | | | | | | | | | We had issues updating the backing build because the SBE code was failing to boot without getting updated scandef information. Simics was lagging behind updating their copy of the scandef so we will just point directly to the one in the bbuild we want to use in the cmd line call. Change-Id: I258ccaecc3e17e82de31ff2d6d4359dcb92045b0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78701 Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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>
* Enable the UART console in Axone Simics configDan Crowell2019-06-031-2/+5
| | | | | | | | | | | | | | | Enable the code to support the console output and force Simics to display it. Change-Id: Ie7aaad150ce9191cf53387af8d147f293d98126a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78196 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow temporary args to be passed to runsim through hb startsimicsDan Crowell2019-06-031-1/+1
| | | | | | | | | | | | | | | | Passes through additional arguments placed after "hb startsimics" directly to the runsim command. Extra args can also be added to the SIMICSOPTIONS env var. Change-Id: Ifcfa5ad12e16f6e8004e345c7ae10d9ec5908b17 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78178 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Pull in latest axone-simics releaseGlenn Miles2019-05-141-2/+2
| | | | | | | | | | | | | | | | | | New Features ------------ 1- OCMB doorebll mmio and i2c path fix 2- All uchip registers present in the cec-chip and initail values set 3- #V vpd support with fix to PG keyword Change-Id: Ib302fd1dbe0b80a6d7b3462a0bf77596b0967a42 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77306 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update simbuild for axone simics bringupGlenn Miles2019-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | The XML for the RAM1 register was not being parsed correctly resulting in too few registers being allocated in uchip_regs.chip not defining all of the registers. This latest build adds those registers manually until the parser can be fixed. This build also sets the POR values for the RAM1 registers. Also changes OCMB I2C addresses to 0x40 Change-Id: Icd2df80874200741d82fc152cb4b8bdbc75c5bed Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76764 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update simbuild to latest simics releaseChristian Geddes2019-04-251-2/+2
| | | | | | | | | | | | | | | | Simics release updates include new VPD, omi io dc calibration action and .chip workarounds, and it correctly sets the IDEC value for the OCMB in the explorer.por file. Change-Id: I038b7e4839c83937d48888faee1c1dd453b4e73d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76393 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update simics build and pull in Axone binary to pnor generationChristian Geddes2019-02-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | Previously we were using some CUMULUS binaries as placeholders until Axone versions were available. We now use the Axone version of the SBE and HW ref images. Also for MEMD we will now just fill it in with zeroed out ECC (all FF's w/ 0 for ECC bit). No plans to use that MEMD now but setting it aside for DDIMM config overwrites. When we pulled in the new SBE image we hit issues with the VPD being used not having the correct sizes. MVPD for Axone is not complete yet so until that gets resolved we will disable sbe updates for Axone. RTC: 197497 Change-Id: I470f44d297179556d7c2eb7b210c91a2cd38f23c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72090 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix issues w/ axone updates to simics scriptsChristian Geddes2019-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Simics teams were hitting a problem trying to boot older simics models because our scripts relied on $MACHINE being set to CEC_MODEL. This value gets set by linux so we cannot rely on it. Instead use the old way to lookup MODEL for older version of simics, and for new way, (axone and beyond) just force MODEL to be "AXONE" for now. Eventually simics team needs to provide interface to lookup MODEL. Also in this commit we need to write "0x5A5A5A5A" to the SBE seeprom images to avoid updates, update the simics backing build, and change the CLI args for hb startsimics in axone to no longer use -o and always pass in the path to the combined SBE image/ HBBL image Change-Id: Ib477e86b0b8aa1a4d44545c62b16fc2cbed2034b CQ: SW453806 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71323 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: CALEB SCHLOSSIN <calebs@us.ibm.com> Reviewed-by: VIJAY F. LOBO <vflobo@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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update simics to latest build for Axone simics bringupChristian Geddes2019-02-111-3/+3
| | | | | | | | | | | | | | | | | Axone and beyond use the src/build/citest/etc/simbuild file to declare which version of released simics we want to use. This will grab a number of simics improvements, highlights are fixes to the i2c_mux logic and general IPL speed improvements. Change-Id: I9294d2adf33a8584f5eb1a381a4ba50b932c5ee5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71355 Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Axone Simics Updates -- Finds Functional Master ProcBill Hoffa2018-12-141-5/+22
| | | | | | | | | | | | | | | | | - Updates for new Simics infrastructure - Finds Functional Master Proc - Finds TPM - Boots to istep6.9 before failing target verification (more Axone FW changes needed) Change-Id: Ib3f44008ed12202777c2edacea42d5cb20a4a7a3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67206 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Fix standalone compile and simics when secureboot compiled outStephen Cprek2017-11-191-2/+19
| | | | | | | | | | | | | 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>
* 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>
* 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-011-4/+1
| | | | | | | | | | | | | | 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>
* Port secureboot build infrastructure from P8 to P9Stephen Cprek2016-11-161-1/+2
| | | | | | | | | | | Change-Id: Ief0412848818c45ee9b49476926cd742b9fa78f3 RTC:163081 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31591 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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 the import tree to have hostboot prologsStephen Cprek2016-08-051-2/+2
| | | | | | | | | | | | Also removed suffix from addCopyright script Change-Id: I83f633ee8a9e91eccf817756e8f4f19a6c89da27 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22460 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Change securerom test to use current hw hash keyStephen Cprek2016-05-181-0/+3
| | | | | | | | | | | | | | | Change-Id: Icb596e6c69fadd2f7b8109876a92db04763f206f RTC: 68883 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23066 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23070
* Remove P8 simics targetsDan Crowell2016-02-261-2/+2
| | | | | | | | | | | | Removed all references to the P8 simics configs to speed up build time and remove clutter. Change-Id: Ibaa69ad674c82f7247b451c0df6ef253a61078fa Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24312 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Elizabeth Liner <eliner@us.ibm.com> Reviewed-by: Christian Geddes <crgeddes@us.ibm.com>
* Generalize env vars, env setup, and copyright scriptsStephen Cprek2015-09-011-23/+23
| | | | | | | | | | | | | Methods ported over from code in EKB. Change-Id: I26b6f2326314936b0316f64272230730ecd3f9ee RTC: 126634 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17465 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pass Return Code back to HB tool for errlparserBill Hoffa2015-08-101-0/+1
| | | | | | | | | | | | Change-Id: Iec541eedd2e87b8ca600589850baeb71e7e4207f CQ: SW311867 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18661 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add some safety measures to the hb rsync commandStephen Cprek2015-06-181-5/+61
| | | | | | | | | | | | | | Confirm if rsync dir is empty or looks like a hostboot repository, otherwise prompt the user if the location specified is what they want Also added the --force option to skip over this check can be used for cronjobs Change-Id: I06d5488d4e4fca6a91a25a650e4e042b7f70e7ee Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16955 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Prevent hb prime errors when called in cronjobsStephen Cprek2015-06-081-10/+16
| | | | | | | | | Change-Id: I42b2e1ba33ed4afdd36e8f5af424c2a06e13d53c Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17533 Tested-by: Jenkins Server Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: ANDRES A. LUGO-REYES <aalugore@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>
* Build error log parsers during Jenkins build.Patrick Williams2014-04-251-21/+1
| | | | | | | | | | Change-Id: Ia404970a84897d1a89e1f86a18220fc0199e4df1 RTC: 66441 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10674 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reorganize citest scripts.Patrick Williams2014-04-251-4/+4
| | | | | | | | | | | | | | Split pieces of the autocitest script out so that we can control the order of the pieces, allow some to run in parallel, etc. This will enable us to build the error log parsers as part of Jenkins testing. Change-Id: I017c7b0516673dc267eb90adf03b4604602281e6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10673 Tested-by: Jenkins Server Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Make libs smaller by overlapping text and rodata sections.Patrick Williams2013-07-121-5/+6
| | | | | | | | | Change-Id: I0f3b9a941c19040635752b2648ef51c50dba849b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5135 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>
* Updates to I2C and EEPROM Device Drivers to work for P8Mike Baiocchi2013-07-021-0/+1
| | | | | | | | | | | | | | | There were several changes required for successful operation of the I2C and EEPROM Device Drivers based on HW Testing. There was also a need to upddate the attribute files and various testcases for processor support. Change-Id: Idd9351ffb01a992c835f99d06ef1246709eceb8b RTC: 64765 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4678 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update bbuild to b0521a_1321.810Adam Muhle2013-06-031-0/+6
| | | | | | | | | | | | | Updated bbuild to b0521a_1321.810. Fixed bug in hb script so workarounds.presimsetup will work if/when needed. Change-Id: I53926c94c0494cc5189b1268d85539708cb6f246 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4610 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update execute_in_sandbox to exit when sb command hits errorRichard J. Knight2013-04-291-0/+6
| | | | | | | | | | Change-Id: Ideb1cefc6f2f2134db11da36a00692ab198f59d5 RTC:69928 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4131 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add PNOR support to prcd_compileBrian Horton2013-04-081-8/+35
| | | | | | | | | | | | | | | . update prcd_server.tcl script to create PNOR files and ship them back to the client. . added option to prcd_compile.tcl for user to specifiy the fips level/build separatly from the hostboot build . add 'fipssetup' option to the hb tool, so that sandbox is created, but simics patches are processed. Change-Id: Ie720d820d61435954085395525e77d276ff5bbd0 RTC: 34097 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3075 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support ERRL UD and SRC parsing in hostboot standaloneRichard J. Knight2013-02-281-112/+33
| | | | | | | | | | | Change-Id: I16ec13f87d9a71c3e0248bf4776e9f3402be6285 RTC:49967 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3138 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Verify sandbox build during hb prime before proceeding.Adam Muhle2012-08-221-8/+18
| | | | | | | | | | | | | | | hb prime was not comparing the sandbox driver to bbuild value before runing hbDistribute. This can lead to confusing errors if the hostboot content has requirements on what FSP drivers can be used. I've made the hb prime checking the same as hb startsimics to avoid this confusion. Change-Id: If491900fe944537deed93957527a6cb939a6c86e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1568 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Improve distribution mechanism for FSP delivery.Patrick Williams2012-06-081-7/+3
| | | | | | | | | | | | | | | | | | | | | | 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>
* Tool changes to load hostboot files to new locations for simicsAdam Muhle2012-05-301-1/+1
| | | | | | | | | | | | Tweaked our various scripts to put the hostboot images in $sb/../images/ppc/lab/flash as that is where simics looks for them now. Change-Id: I3b019a460a6f5f03ad666d93724ec1d6fe1ff3c9 RTC: 35728 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1095 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Make MURANO config work in SimicsDan Crowell2012-03-281-1/+1
| | | | | | | | | | | | | | | | | | | This is work for Task 38048 -Updated bbuild to an 810 build with the latest Simics support -Pulled support for Salerno from build tools -Changed DEFAULT_MACHINE to MURANO -Updated testcases to follow error logging guidelines -Fixed up some FSI error handling bugs -Disabled FSI loopback on VENICE (fix with Task 39187) -Disabled a few testcases (see Impediment 39188) Verified both MURANO and VENICE configurations Change-Id: Ie7761f49c9e653489c8c4dad261b1c8852fa7548 RTC: 35596 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/791 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tools for managing binary files in git.Patrick Williams2012-03-071-1/+75
| | | | | | | | | Change-Id: I420803b36707e877a4ba35f6f484c74c9ed4eb43 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/711 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot-aware errl tool part 1.Monte Copeland2012-02-021-6/+147
| | | | | | | Change-Id: Ibe49dc935206775de032d397b2800a7b83208283 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/630 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Update hb and autocitest scripts to support patching a simicsInfo file.Dan Crowell2011-10-201-4/+9
| | | | | | | | | Also moving to simics build fi111013b700.42 and fips build b1018a_1143.760 Change-Id: Idc95909d1d2106f562e68ea645f457346bb8ac4e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/446 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HB script: remove 'machine' message.Patrick Williams2011-10-191-6/+12
| | | | | | | Change-Id: I771210da0108179b1dc3b9be8667dc3e15021374 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/442 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Pull FSI data from real attributes (Task 3909).Dan Crowell2011-10-141-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add copyright_check to hb.Patrick Williams2011-09-011-1/+42
| | | | | | | | Change-Id: I45ef334d4f7a98ae9228444994ffb0bad470a9fd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/291 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* New 'hb objsizes' commandPatrick Williams2011-08-111-1/+31
| | | | | | | Change-Id: I6693c0d70170794f448f29165266732f8e6d2682 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/246 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Add sandbox backing build checking to hb scriptPatrick Williams2011-07-281-0/+31
| | | | | | | | | Change-Id: I2d4c4a09a78befd5ac7a3ed70755c9324e215555 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/218 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
OpenPOWER on IntegriCloud