diff options
| author | Christian Geddes <crgeddes@us.ibm.com> | 2019-01-23 14:43:37 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-02-16 09:10:13 -0600 |
| commit | e6832f74ac222be90b6719a33613863698239ce4 (patch) | |
| tree | 58f0f0010bd984b11c8ce200e3dabae2b0bbd91a /src/build/simics | |
| parent | bc80fc6b84359fa03c4212162e3e548dadcd8a9c (diff) | |
| download | talos-hostboot-e6832f74ac222be90b6719a33613863698239ce4.tar.gz talos-hostboot-e6832f74ac222be90b6719a33613863698239ce4.zip | |
Add new path in EEPROM device op to allow reading from new EECACHE
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>
Diffstat (limited to 'src/build/simics')
| -rwxr-xr-x | src/build/simics/standalone.simics | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/src/build/simics/standalone.simics b/src/build/simics/standalone.simics index 8ad8e89e4..c34dfc794 100755 --- a/src/build/simics/standalone.simics +++ b/src/build/simics/standalone.simics @@ -40,26 +40,41 @@ if ($hb_skip_vpd_preload == 0) { # If Axone and Beyond, load VPD into DDIMM VPD if ($hb_mode == 0){ - $dimmSpd = $hb_script_location + "/dimmspd.dat" + $dimmSpd = $hb_script_location + "/dimmspd.dat" + $procMvpd = "/gsa/rchgsa/home/c/r/crgeddes/documents/hbBuild/procvpd.dat" + + proc_hb0.seeprom0_image.load-file $procMvpd + echo " - loaded MVPD to seeprom0" + + proc_hb0.seeprom2_image.load-file $procMvpd + echo " - loaded MVPD to seeprom2" ddimm0.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM0" + echo " - loaded SPD to DDIMM0" + ddimm1.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM1" + echo " - loaded SPD to DDIMM1" + ddimm2.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM2" + echo " - loaded SPD to DDIMM2" + ddimm3.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM3" + echo " - loaded SPD to DDIMM3" + ddimm4.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM4" + echo " - loaded SPD to DDIMM4" + ddimm5.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM5" + echo " - loaded SPD to DDIMM5" + ddimm6.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM6" + echo " - loaded SPD to DDIMM6" + ddimm7.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM7" + echo " - loaded SPD to DDIMM7" + ddimm8.VPD_0_image.load-file $dimmSpd - echo " - loaded SPD to DDIMM8" + echo " - loaded SPD to DDIMM8" } # Turn on all processor cec-chips |

