summaryrefslogtreecommitdiffstats
path: root/src/build/simics
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2016-03-25 12:55:12 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-05-26 14:49:35 -0400
commit56861e45a287bc60d1ec0545cbced3731e66b865 (patch)
tree2510a14d6a1da214d6c45b9d2977a3d5abd5ca97 /src/build/simics
parent834bccc4c031d20d7c4b56f9d10b1cb91cc617db (diff)
downloadtalos-hostboot-56861e45a287bc60d1ec0545cbced3731e66b865.tar.gz
talos-hostboot-56861e45a287bc60d1ec0545cbced3731e66b865.zip
Switch fakepnor over to VBU XML file, default to istep
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>
Diffstat (limited to 'src/build/simics')
-rw-r--r--src/build/simics/fake_mem.simics5
-rw-r--r--src/build/simics/run_as_vpo.simics8
2 files changed, 13 insertions, 0 deletions
diff --git a/src/build/simics/fake_mem.simics b/src/build/simics/fake_mem.simics
new file mode 100644
index 000000000..b9ffc27b0
--- /dev/null
+++ b/src/build/simics/fake_mem.simics
@@ -0,0 +1,5 @@
+#Fake out memory map of 32GB in Simics
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000000 0x0
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000010 0x800000000 -b size=8
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000020 0x1
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000030 0x1
diff --git a/src/build/simics/run_as_vpo.simics b/src/build/simics/run_as_vpo.simics
new file mode 100644
index 000000000..4236ad453
--- /dev/null
+++ b/src/build/simics/run_as_vpo.simics
@@ -0,0 +1,8 @@
+system_cmp0.phys_mem.del-map p9Proc0.l3_cache_ram
+($hb_cpu)->hrmor=0x00000000
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000000 0x0
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000010 0x800000000 -b size=8
+p9Proc0.p9_mem_map.host_xscom_device_mm.write 0x050000020 0x1
+system_cmp0.phys_mem.load-file ../obj/ppc/hbfw/img/fake6m.pnor 0x00400000
+system_cmp0.phys_mem.load-file ../obj/ppc/hbfw/img/hostboot.bin 0x00000000
+system_cmp0.phys_mem.del-map p9Proc0.lpcm
OpenPOWER on IntegriCloud