summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-12-10 16:40:44 -0600
committerNicholas E Bofferding <bofferdn@us.ibm.com>2020-01-10 15:18:32 -0600
commitc6aaded090e34c4da293d118205f7de18421b161 (patch)
treef7bd15e88d61fc9b66434401f34b9f8ba00ce141 /src/build/tools
parent45cb275198bbb6bd2bbd25ec9eaa4a40dbdfeb86 (diff)
downloadtalos-hostboot-c6aaded090e34c4da293d118205f7de18421b161.tar.gz
talos-hostboot-c6aaded090e34c4da293d118205f7de18421b161.zip
Support for ATTR_TMP and GUARD in standalone simics
If a file called ATTR_TMP or GUARD exists in the simics search path, they will be automatically loaded into pnor when simics starts. The offset is computed when the pnor is built by way of a generated python file that we then load into simics. Change-Id: I4d68215a589dcbdaefb2a67e65d1f6928ce639fa Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88398 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Luis P Fernandez <luis.fernandez@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: Nicholas E Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/hb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/tools/hb b/src/build/tools/hb
index 013700f84..9e7e38a48 100755
--- a/src/build/tools/hb
+++ b/src/build/tools/hb
@@ -435,7 +435,7 @@ hb_startsimics()
else
VEXEC_STR=""
fi
- export RUNSIMCMD="cd ${SANDBOXBASE}/simics/ &&${VEXEC_STR} ./runsim -m ${MACHINE} hb_script_to_run=${MY_DIR}/startup.simics pnor_img=${MY_DIR}/../../../hbfw/img/axone.pnor sbe_seeprom_img=${SANDBOXBASE}/images/ppc/lab/flash/sbe_seeprom_p9a_10.bin.ecc num_procs=2 enable_lpc_console=TRUE"
+ export RUNSIMCMD="cd ${SANDBOXBASE}/simics/ &&${VEXEC_STR} ./runsim -m ${MACHINE} hb_script_to_run=${MY_DIR}/startup.simics pnor_img=${MY_DIR}/../../../hbfw/img/axone.pnor sbe_seeprom_img=${SANDBOXBASE}/images/ppc/lab/flash/sbe_seeprom_p9a_10.bin.ecc num_procs=2 enable_lpc_console=TRUE hb_pnor_dir=${MY_DIR}/../../../hbfw/img/"
echo "**********"
echo $RUNSIMCMD
echo "**********"
OpenPOWER on IntegriCloud