summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-05-31 10:55:02 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-06-03 15:37:00 -0500
commit5f9f4dfaba7a99046f400bd4a45fed51aa213ea7 (patch)
treec2170b7fce4369161e0f10d63e59eefd52ebd923 /src/build/tools
parent539b82d046cf6fdf7e9e6d62ea843d5d69bffbb6 (diff)
downloadtalos-hostboot-5f9f4dfaba7a99046f400bd4a45fed51aa213ea7.tar.gz
talos-hostboot-5f9f4dfaba7a99046f400bd4a45fed51aa213ea7.zip
Allow temporary args to be passed to runsim through hb startsimics
Passes through additional arguments placed after "hb startsimics" directly to the runsim command. Extra args can also be added to the SIMICSOPTIONS env var. Change-Id: Ifcfa5ad12e16f6e8004e345c7ae10d9ec5908b17 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78178 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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 bbb8a7880..499dd3d63 100755
--- a/src/build/tools/hb
+++ b/src/build/tools/hb
@@ -425,7 +425,7 @@ hb_startsimics()
#then /runsim -m axone -o hb_script_to_run=$MYDIR
export MY_DIR="${SANDBOXBASE}/obj/ppc/simu/scripts/hbfw"
echo "cd ${SANDBOXBASE}/simics/ && ./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=1 vpd_proc=vpd/images/53e4ec8a5d8439c961a18442bef70102"
- execute_in_sandbox "cd ${SANDBOXBASE}/simics/ && ./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=1 vpd_proc=vpd/images/53e4ec8a5d8439c961a18442bef70102" "ppc"
+ execute_in_sandbox "cd ${SANDBOXBASE}/simics/ && ./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=1 vpd_proc=vpd/images/53e4ec8a5d8439c961a18442bef70102 ${SIMICSOPTIONS} $*" "ppc"
else
execute_in_sandbox \
"start_simics -machine ${MACHINE} ${SIMICSOPTIONS} $*" "ppc"
OpenPOWER on IntegriCloud