diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2016-09-22 06:17:59 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-18 12:20:21 -0400 |
commit | b71dea714350c293a5855754faf6f42e3350c901 (patch) | |
tree | 6716a768792e83df7eda066ec29e2064807cab98 /src/build/debug | |
parent | 3809d641eaf65fee454ebeef375afaaa9917ab29 (diff) | |
download | talos-hostboot-b71dea714350c293a5855754faf6f42e3350c901.tar.gz talos-hostboot-b71dea714350c293a5855754faf6f42e3350c901.zip |
Tweaks for supporting p9so_sim OP build target
- Remove Simics PAYLOAD load optimization
- Distribute simics_NIMBUS.xml
Change-Id: I80e5ce61d0c0fa3be9254bdbb0e04fc2439ea6c4
RTC:143500
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30085
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/debug')
-rwxr-xr-x | src/build/debug/simics-debug-framework.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py index 72fbc0824..6d1c6f834 100755 --- a/src/build/debug/simics-debug-framework.py +++ b/src/build/debug/simics-debug-framework.py @@ -520,11 +520,15 @@ def magic_instruction_callback(user_arg, cpu, arg): print "TimeManager::cv_isSimicsRunning = true" if arg == 7012: # MAGIC_LOAD_PAYLOAD - load_addr = cpu.r3 - flash_file = conf.fpga0.sfc_master_mmio_image.files[0][0] - print 'loading payload from', flash_file, 'to 0x%x' % load_addr - cmd = 'shell "fcp --force -o0 -R %s:PAYLOAD simicsPayload.ecc; ecc --remove --p8 simicsPayload.ecc simicsPayload"; load-file simicsPayload 0x%x' % (flash_file, load_addr) - SIM_run_alone( run_command, cmd ) + #For P9 the Payload load is much faster due to PNOR + # not being behind cec-chip model, removing this but leaving + # as comments if needed in the future + #load_addr = cpu.r3 + #flash_file = conf.fpga0.sfc_master_mmio_image.files[0][0] + #print 'loading payload from', flash_file, 'to 0x%x' % load_addr + #cmd = 'shell "fcp --force -o0 -R %s:PAYLOAD simicsPayload.ecc; ecc --remove --p8 simicsPayload.ecc simicsPayload"; load-file simicsPayload 0x%x' % (flash_file, load_addr) + #SIM_run_alone( run_command, cmd ) + print "MAGIC_LOAD_PAYLOAD not implemented\n"; if arg == 7016: print "Wake up rest of CORE0 - 7017 start \n"; |