diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2019-05-31 15:31:19 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-06-03 15:37:19 -0500 |
commit | 6ba1edec99a77192870b76038ae43615a9180de8 (patch) | |
tree | 1801e84eed8a5c813cb4929e05dc2c7e71ea3328 /src/build/tools/hb | |
parent | 5f9f4dfaba7a99046f400bd4a45fed51aa213ea7 (diff) | |
download | talos-hostboot-6ba1edec99a77192870b76038ae43615a9180de8.tar.gz talos-hostboot-6ba1edec99a77192870b76038ae43615a9180de8.zip |
Enable the UART console in Axone Simics config
Enable the code to support the console output and force Simics
to display it.
Change-Id: Ie7aaad150ce9191cf53387af8d147f293d98126a
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78196
Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/hb')
-rwxr-xr-x | src/build/tools/hb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/build/tools/hb b/src/build/tools/hb index 499dd3d63..17d24983b 100755 --- a/src/build/tools/hb +++ b/src/build/tools/hb @@ -424,8 +424,11 @@ hb_startsimics() #export MYDIR=$bb/obj/ppc/hbfw/simics/startup.simics #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 ${SIMICSOPTIONS} $*" "ppc" + export RUNSIMCMD="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 enable_lpc_console=TRUE" + echo "********** + echo $RUNSIMCMD + echo "********** + execute_in_sandbox "${RUNSIMCMD} ${SIMICSOPTIONS} $*" "ppc" else execute_in_sandbox \ "start_simics -machine ${MACHINE} ${SIMICSOPTIONS} $*" "ppc" |