diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2019-02-04 15:24:04 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-02-13 14:39:32 -0600 |
commit | eee350897db3e72a40baa3d4e5c36600f092b7ab (patch) | |
tree | 7cd891cb97c8e580532ba8f6ee1895f82747dfc5 /src/build/debug | |
parent | c47875eb8c65cbdf29032377c9dc584d081ef35b (diff) | |
download | talos-hostboot-eee350897db3e72a40baa3d4e5c36600f092b7ab.tar.gz talos-hostboot-eee350897db3e72a40baa3d4e5c36600f092b7ab.zip |
Fix issues w/ axone updates to simics scripts
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>
Diffstat (limited to 'src/build/debug')
-rw-r--r-- | src/build/debug/simics-debug-framework.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py index c429828a9..3176f8cba 100644 --- a/src/build/debug/simics-debug-framework.py +++ b/src/build/debug/simics-debug-framework.py @@ -6,7 +6,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2011,2018 +# Contributors Listed Below - COPYRIGHT 2011,2019 # [+] Google Inc. # [+] International Business Machines Corp. # @@ -731,7 +731,7 @@ def magic_instruction_callback(user_arg, cpu, arg): cmd3 = "" if (simenv.hb_mode == 0): #new mode (Axone + beyond) - cmd3 = "(get-master-proc).reset-fsimbox-reg index=0x104" + cmd3 = "(get-master-procs)[0].reset-fsimbox-reg index=0x104" else: #old mode (Cumulus + prior) cmd3 = "(get-master-proc %d).proc_fsi2host_mbox->regs[95][1] = 0"%(node_num) |