summaryrefslogtreecommitdiffstats
path: root/src/build/simics
Commit message (Collapse)AuthorAgeFilesLines
* Add HCDB Support for eeprom cache processChristian Geddes2019-06-261-0/+7
| | | | | | | | | | | | | | | | | | While parsing the EEPROMs of the system as part of the EECACHE process if we detect a part has been replaced, removed, or added then we must call markTargetChanged to notify hwas to take appropriate actions. This commit also introduces the new preloaded EECACHE section for simics. Change-Id: I9f2a8a62d5c6f9a6c66a0c0c7ed5ed86f7d94aec RTC: 211109 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78762 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add MMIO test cases that force failuresGlenn Miles2019-06-071-0/+8
| | | | | | | | | | | | Change-Id: I9af1230917c1629c9f9568ae6645291c11b0140e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78524 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update startup.simics to correctly lookups processor targetsChristian Geddes2019-06-051-1/+1
| | | | | | | | | | | | | | | | Simics has changed the way we lookup processor targets so we must adjust our scripts to use the new "get-all-procs" command RTC: 210806 Change-Id: I4a053197ab0c517d20c4e3670b492180e7743634 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78312 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: VIJAY F. LOBO <vflobo@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove VPD generation from Axone simics startupDan Crowell2019-06-031-2/+2
| | | | | | | | | | | | | | We no longer use the VPD cache so we don't need to generate the vpd content. Change-Id: I5623c6445ee72068a55bd8c25aab3ea56fc0d17e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78175 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: 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-0/+39
| | | | | | | | | | | | | | | | | | 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>
* Remove DJVPD and CVPD sections from axone pnor layoutMatt Derksen2019-04-191-11/+18
| | | | | | | | | | | | | | | | | | | | | Remove unneeded Centaur VPD and DIMM JEDEC VPD sections to help reduce axone pnor memory space. Hit a simics issue where sysmvpd.data.ecc size was overwriting the first four 4-byte words of HBB, so procmvpd_p9a.dat size was corrected to 64KB. procmvpd_p9c.dat had same issue, but the overwrite was being corrected by a following CVPD write. Change-Id: I70eb12709be0ac7b73609fb080d956ee2faa39a2 RTC:207995 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75896 Reviewed-by: Glenn Miles <milesg@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>
* Stop overwriting OCMB vpd info in standalone and handle DDIMM modulesChristian Geddes2019-04-031-15/+0
| | | | | | | | | | | | | | | | | This commit removes some lines that were overwriting the OCMB's eeproms with what we thought was "good" VPD. Simics itself now has a better copy so we will use theirs. When consuming their VPD however we found that Hostboot was missing support for the DDIMM type modules. This commit also update the spd driver to handle this new type of memory module. Change-Id: I97dba2adee4d816f86228d8fbd7aeb671a050e11 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75197 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: Matthew Raybuck <matthew.raybuck@ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Update simics release that Axone is using and adjust simics scriptChristian Geddes2019-03-211-30/+17
| | | | | | | | | | | | | | | | Simics team has released a new version of simics that adds support for get-master-pnors , support for get-dimms, fixes a TPM issues, and tries to fix an indirect scom issue (not sure its really resolved) Change-Id: I4ba1c249fae2a5428808c4e7682c88ad301f8f1c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73206 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Again try to fix checkpoint issue with fips930 simicsChristian Geddes2019-03-011-2/+11
| | | | | | | | | | | | | | | | | | | Previously we tried to fix the issue where checkpoints were failing because environment variables were not set. We thought by using the printenv command it would just return "" if no variable was defined but we still saw errors. Now we will explicitly set the local variable to "" then check if the environment variable exists, if it does then we will set it to the local variable we are using. Change-Id: Iff5ffc9d9a05b1dd8ee85dbc8299884c26d4c892 CQ: SW458604 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72649 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: CALEB SCHLOSSIN <calebs@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Use shell command to look up CEC_TYPEChristian Geddes2019-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | Using the native 'env' command in simics causes users to have problems when reloading checkpoints on pre-axone systems. When you reload the checkpoint CEC_MODEL is not defined and it gives env an error which crashes the simics run. Using the shell command allows it to fail to find the CEC_MODEL variable and is able to continue on. This is actually reverting back to the original behavior prior to suggestions from simics team. Change-Id: Ieefd0d73e0651cf233f94a297f8f4ea2f5f0dbfe Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72161 Reviewed-by: Hieu C. Nguyen <hieu.nguyen@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: CALEB SCHLOSSIN <calebs@us.ibm.com> Reviewed-by: Michael J. Walsh <micwalsh@us.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-3/+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>
* Add new path in EEPROM device op to allow reading from new EECACHEChristian Geddes2019-02-161-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | Recently a new EECACHE section was introduced to Hostboot. This section gets populated with a copy of every PRIMARY_VPD eeprom (someday could contain other eeprom roles also) during host_discover_targets. This commit add support to allow users to select where they want to perform their EEPROM device operation. If they pass CACHE to the deviceOp macro then a read will come from the pnor cache, writes will write to pnor cache and then also write to the eeprom HW. If HARDWARE is passed in then reads and writes will be directly done on the eeprom hardware. If AUTOSELECT is passed the code will check our cache to see if we have a copy of the eeprom in question, if we have a copy we will go the CACHE path, if no copy exists we will go the HARDWARE path. Along with this change some reorganization was done w/ the eeprom related files. RTC: 196805 Change-Id: If2c4e5d3e338a1a10780740c1a019eb4af003b73 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70822 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: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix issues w/ axone updates to simics scriptsChristian Geddes2019-02-131-16/+47
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Change code using SANDBOX ENVAR to use CLI variables start sim scriptsChristian Geddes2019-01-041-5/+16
| | | | | | | | | | | | | | | | | | The PHYP simics environment does not use an ODE sandbox for running simics. They are using the hostboot startup scripts though. Hostboot cannot rely on any artifacts from the sandbox such as sandbox related ENV variables in these scripts. Change-Id: I1e736149bb341d880c92905447614619d0d7b65c CQ: SW453636 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70101 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: CALEB SCHLOSSIN <calebs@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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 Redundant phyiscal map setupChristian Geddes2018-12-191-19/+12
| | | | | | | | | | | | | Axone simics model now does this for us natively Change-Id: I986ae45fa63cfce601ff56754fbcabe2e040d5e1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69940 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Write SPD to DDIMM eeproms for axone simicsChristian Geddes2018-12-181-12/+44
| | | | | | | | | | | | | | | The goal for axone is to read VPD from real HW so we need to preload the simics model with the data we want until they do it for us Change-Id: I1cf337a5bd90a62600d1e8cf43f3e429308992ba Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69874 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Axone Simics Updates -- Finds Functional Master ProcBill Hoffa2018-12-144-59/+114
| | | | | | | | | | | | | | | | | - 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>
* Axone PNOR GenerationBill Hoffa2018-10-111-0/+2
| | | | | | | | | | | | | | | | | - 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>
* Use Cumulus DD1.3 SBE image instead of DD1.0Dan Crowell2018-08-201-2/+2
| | | | | | | | | | | | | | | Adding support for Cumulus DD1.3 SBE images in the FSP PNOR Dropping support for Cumulus DD1.0 SBE image from FSP PNOR CMVC-Prereq: 1060757 CMVC-Prereq: 1063108 CMVC-Prereq: 1061378 Change-Id: Ia315c6f786ef6c522acf4e580ad435b0180513b3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62636 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>
* Enable Cumulus CDIMM ConfigBill Hoffa2018-03-043-10/+46
| | | | | | | | | | | | | Change-Id: I76fd0d1c401a8ea68904e9982c48ea7588f2c16e RTC: 188480 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54834 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix simulation get all registers commandBill Hoffa2018-01-301-2/+2
| | | | | | | | | | | | | - The name of the cpu simulation object changed Change-Id: Ibb1f556fdc612f635a930a1dd047c807f17f8462 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52939 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>
* Integration of hardware vpd accessor functions into Hostboot.Donald Washburn2017-11-011-3/+16
| | | | | | | | | | | | | | | | | *Created macros and platform functions to invoke vpd accessor functions for reading attributes from Hostboot. *Create a unit test for calling each attribute accessor macro. RTC: 178950 Change-Id: Ia74406eabcdff238f6bbc4bd8dc43715ebfcd643 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48185 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>
* cumulus: add simics workarounds to avoid patchingPrachi Gupta2017-09-081-0/+7
| | | | | | | | | | | | | | | | | | | | - memory creation in istep 14, when we do exit cache contained - copying p9c and centaur action files - turn on power to the centaur cec-chip - fixup a few attributes im simics_CUMULUS.system.xml to allow scoming the membuf using the fsi engine Change-Id: I8b731daa7cf086281141073cc79a270e6941dc82 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45246 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: Thomas R. Sand <trsand@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: SWATHI M. BHATTIPROLU <bhmadhur@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable VPD population for Cumulus SimulationDean Sanner2017-08-242-5/+21
| | | | | | | | | | | | | Change-Id: I45bd9b557ad21c64728531e88ab029b8bfdeb54d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43432 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: SWATHI M. BHATTIPROLU <bhmadhur@in.ibm.com> Reviewed-by: Sakethan R. Kotta <sakkotta@in.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>
* Increase HBB PNOR section max size to 1MB with ECCStephen Cprek2017-07-201-3/+11
| | | | | | | | | | | | | | | Change-Id: Icfd9411deac792d9772e89e35e7da5df272a7ecc RTC: 175114 CMVC-prereq: 1027576 CMVC-prereq: 1027947 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42170 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update for cumulus in simics startup scriptSachin Gupta2017-07-161-0/+1
| | | | | | | | | | | Change-Id: I8b2f8a018f87a65f8401a054bdc6521e1116510c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43025 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.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: Jenkins Server <pfd-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>
* Use effective fabric position for LPC operations in the bootloaderMarty Gloff2017-06-081-1/+21
| | | | | | | | | | | | | | | | | | | When the LPC BAR value is supplied in the SBE to BL structure, use it as the base LPC address, otherwise, still use the LPC constant. Save the value being used in the Bootloader data (which is reorganized to align data blocks on boundaries). Also add hb-bldata to parse out the Bootloader data. Change-Id: I1db19467464b90e0190c4df5f7404624c9423eb5 RTC: 173525 Depends-on: I2b0d1959c303df8c9c28c8f0a5b5be1e77aa154f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40217 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Move bbuild to b0404a_1714.910Dan Crowell2017-04-111-0/+1
| | | | | | | | | | | | | Remove old workarounds for 1019444,1020522,1020384 Modify SBE start bits for standalone Change-Id: I29b9572eb6a8ad74612c297e6fffd4691566899f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39044 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add hook to skip VPD preload in simBill Hoffa2017-04-061-3/+10
| | | | | | | | | | | Change-Id: I56af37509cbdb616121f367087c7408d0b1170a7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SECUREBOOT: Support simulation setup for secure modeNick Bofferding2017-01-191-0/+28
| | | | | | | | | | | | | - Modified simics startup script to configure logical secure jumpers Change-Id: I7fa793bd3ca25e9539216e6e3470bf1995b70529 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34574 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add helpful simics script for manually stepping through MPIPL pathcrgeddes2016-11-151-0/+73
| | | | | | | | | | | | | | | | | I found this script to be very helpful to control the MPIPL path when I was developing/debugging, I think it is useful enough to put into the master branch in case we need something like it for work in the future Change-Id: If1444361f0cee7f607358e36e47c31b85e523896 RTC:139061 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32257 Tested-by: Jenkins Server <pfd-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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add call to update SBE image if nest freq changed in istep 7.3Andres Lugo-Reyes2016-10-051-2/+4
| | | | | | | | | | | Change-Id: I529056bf1380238f5064f18b39bc09ec97e7a112 RTC: 157659 Depends-on: Idea9e3ae8d08052e960c00c225522bbe8da3ea5e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29521 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add triggerMPIPL simics script into the build directorycrgeddes2016-10-011-0/+30
| | | | | | | | | | | | This is a handy script that can be used to trigger our standalone model re-ipl with the MPIPL flag set after completing istep 16. Change-Id: I270b7a1ec4dbd5a8fe4e2aee69bd55d88c4340f2 RTC: 157653 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30423 Tested-by: Jenkins Server <pfd-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>
* Update dvpd.dat file and the code that parses the vpdcrgeddes2016-09-281-0/+5
| | | | | | | | | | | We got an updated version of DVPD for p9 nimbus. The supported frequencies changed so we had to update some verification code to handle that Change-Id: I3fd0ed943252d878f0dd7467aea163dad9866eff Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30429 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Arrange fake pnor xml to fit 2 chip VPO modelDean Sanner2016-09-251-2/+7
| | | | | | | | | | Change-Id: I0093ff34518f9081fc503ce254eb460e09218614 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29312 Tested-by: Jenkins Server <pfd-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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Interface to determine what nest freq the system booted withAndres Lugo-Reyes2016-09-201-0/+1
| | | | | | | | | | | Change-Id: Idea9e3ae8d08052e960c00c225522bbe8da3ea5e RTC:157890 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29505 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>
* Changes for P9 SBE - Enable/Remove Istep calls/processingMarty Gloff2016-09-031-6/+5
| | | | | | | | | | | | | | | | | | | | | | 3) Clean up TODO's in isteps 08, 09, and 10 In istep08 enable resolveProcessorSbeSeeproms call from call_host_slave_sbe_config.C and remove findSBEInPnor call and other processing from call_proc_check_slave_sbe_seeprom_complete.C. In istep09 remove updateProcessorSbeSeeproms call and nest frequency processing from call_fabric_erepair.C. In istep10 enable updateProcessorSbeSeeproms call from call_host_slave_sbe_update.C and enable loop to set use of xscom in call_proc_build_smp.C. Change-Id: I79237f530738e3088d1b3aedafdc6ad1139d21a8 RTC: 156597 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26801 Tested-by: Jenkins Server <pfd-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>
* Update Bootloader to handle moving the TOC of PNOR aroundcrgeddes2016-08-251-8/+3
| | | | | | | | | | | | | | | | | | | Moved 1 of the PNOR TOCs from 0x8000 to TOP_OF_FLASH - 64KB. Updated bootloader and pnor access code to handle new toc location. Update the defaultPnorLayout to reflect these changes Also added a FSP default pnor xml that will generate a 128 MB image for FSP boxes to use. RTC: 154286 Change-Id: I0253590299ff9714b0d5ab12a02ac9d653b115fa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27461 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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* VPO updates for constrained mem, hbbl, simicsDean Sanner2016-08-171-0/+4
| | | | | | | | | | Change-Id: I2302776822f9aa599adb3d134514149c4468f32e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26577 Tested-by: Jenkins Server <pfd-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: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Switch fakepnor over to VBU XML file, default to istepDean Sanner2016-05-262-0/+13
| | | | | | | | | | Change-Id: I5fef5732c2f658438733eb8278854a08f093b85f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22494 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Create Tool to Debug Bootloader IssuesMarty Gloff2016-05-101-1/+21
| | | | | | | | | | | | | | Create a Bootloader Trace parser under the hb tools in order to determine if Bootloader ran and to see what it ran. Change-Id: Ibfb8c95ac6565169f822a4092c028aceb7923b87 RTC: 152484 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23695 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* P9 changes for PR core restrictionMarty Gloff2016-04-271-0/+8
| | | | | | | | | | | | | | | | | | | Covers the work required to support the P9 module vpd and new EQ/EX/EC core structure in relation to the processing of the PR keyword to restrict the number of cores. Add new traces or enhance old traces with additional data to improve debug. Update the module vpd binary for our standalone model. Change-Id: I20018ccf1daa429e5b0ad9e38f50b1bc5943bcb5 RTC:145459 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/705 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Enable HBBL support on standalone simicsSachin Gupta2016-04-211-12/+4
| | | | | | | | | | | Change-Id: If545b18cff34da550ec5e8d0af351ef627aa4efa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22821 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Changes related to packaging of memory vpd on Nimbus - part 1Bill Schwartz2016-03-243-57/+86
| | | | | | | | | | | Lower level vpd and targeting plumbing changes for Nimbus direct memory Change-Id: I6ac97404f5ef7432d14192945f9a1e258ed66dd3 RTC: 128112 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/711 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9: Enable SBE in hostboot standalone (nimbus model)Andrew Geissler2016-03-041-0/+6
| | | | | | | | Change-Id: I8b1c3b2cf30c2f674905d34e67cfebe364f729ff RTC: 147953 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21354 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove pnor image workaround for standalone simicsDan Crowell2016-02-191-3/+0
| | | | | | | | | Change-Id: I875a533fa2663774301f3a0bcac0ab400dbabc54 RTC: 138068 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23840 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix Simics hb_machine, Enable Simics for CIDean Sanner2016-02-191-1/+6
| | | | | | | | RTC: 137477 Change-Id: I57d1b410ebaaccc6e270ea7ff15f83fe7c70f177 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23054 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update bbuild and fix Simics checkpointingDean Sanner2016-01-051-1/+0
| | | | | | | | | Change-Id: Ie84aa7f70f555df0c78315ddff6300a92fd17502 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22926 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move bbuild to latest working versionDean Sanner2015-12-112-4/+2
| | | | | | | | | Change-Id: Ieb27525599f6109b823724ef73e7d28cb1d6cf37 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22641 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hack to get VPD Loadingcrgeddes2015-12-111-1/+2
| | | | | | | | | | Change-Id: I7548b57f765a050280f1eef0d114f13432ba7088 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22573 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud