summaryrefslogtreecommitdiffstats
path: root/src/build/simics
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-07-26 11:40:30 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-08-25 14:50:15 -0400
commitb0bf18528f97ecef49ff27fd4715b2d2a50ad5ba (patch)
treec62489d62c413e523e72e3a5559d629165078c08 /src/build/simics
parent1400bea75a6bbd2083a8b39095470102479c8514 (diff)
downloadtalos-hostboot-b0bf18528f97ecef49ff27fd4715b2d2a50ad5ba.tar.gz
talos-hostboot-b0bf18528f97ecef49ff27fd4715b2d2a50ad5ba.zip
Update Bootloader to handle moving the TOC of PNOR around
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>
Diffstat (limited to 'src/build/simics')
-rwxr-xr-xsrc/build/simics/standalone.simics11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/build/simics/standalone.simics b/src/build/simics/standalone.simics
index 5f4da19f7..4e39a1dc6 100755
--- a/src/build/simics/standalone.simics
+++ b/src/build/simics/standalone.simics
@@ -12,16 +12,11 @@
}
try {
run-python-file (lookup-file hbfw/hb-pnor-vpd-preload.py)
- ($hb_pnor).sfc_master_mem.load-file ./sysmvpd.dat.ecc 0x1C5000
- ($hb_pnor).sfc_master_mem.load-file ./sysspd.dat.ecc 0x17D000
- ($hb_pnor).sfc_master_mem.load-file ./sysmemvpd.dat.ecc 0x255000
+ ($hb_pnor).sfc_master_mem.load-file ./sysmvpd.dat.ecc 0x229000
+ ($hb_pnor).sfc_master_mem.load-file ./sysspd.dat.ecc 0x1E1000
+ ($hb_pnor).sfc_master_mem.load-file ./sysmemvpd.dat.ecc 0x2B9000
} except { echo "ERROR: Failed to preload VPD into PNOR." }
-#Write the PNOR MMIO addr into Scratch 2, 0x283A
-($hb_masterproc).proc_lbus_map.write 0x28e8 0xFFF78000 #HB PNOR addr
-foreach $cc in (get-object-list p9_proc) {
- ($cc).proc_lbus_map.write 0x28e8 0xFFF78000
-}
# Loop through every processor chip
foreach $cc in (get-object-list p9_proc) {
OpenPOWER on IntegriCloud