summaryrefslogtreecommitdiffstats
path: root/src/build/tools/hb
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2011-09-27 09:51:50 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2011-10-14 13:33:32 -0500
commitd6ce3b30395982623494ad75c50e75c56fadcaca (patch)
tree82a38e66e28e7f824f597875f994c6b60efa6281 /src/build/tools/hb
parent17f630f5c2fabea998708dc2b2cb33120c388079 (diff)
downloadtalos-hostboot-d6ce3b30395982623494ad75c50e75c56fadcaca.tar.gz
talos-hostboot-d6ce3b30395982623494ad75c50e75c56fadcaca.zip
Pull FSI data from real attributes (Task 3909).
There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/tools/hb')
-rwxr-xr-xsrc/build/tools/hb8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/build/tools/hb b/src/build/tools/hb
index 9b9d51392..2a2f2e930 100755
--- a/src/build/tools/hb
+++ b/src/build/tools/hb
@@ -259,7 +259,7 @@ hb_simsetup()
mksb -rc ${SANDBOXRC} -dir ${SANDBOXROOT} -back $DRIVER \
-sb ${SANDBOXNAME} -m ppc
- execute_in_sandbox "start_simics -no_start -machine ${MACHINE:-SALERNO}"
+ execute_in_sandbox "start_simics -no_start -machine ${MACHINE:-$DEFAULT_MACHINE}"
echo "Running workarounds."
cp ${HOSTBOOTROOT}/src/build/citest/etc/workarounds ${SANDBOXBASE}/src
@@ -291,7 +291,7 @@ hb_startsimics()
fi
execute_in_sandbox \
- "start_simics -machine ${MACHINE:-SALERNO} ${SIMICSOPTIONS} $*"
+ "start_simics -machine ${MACHINE:-$DEFAULT_MACHINE} ${SIMICSOPTIONS} $*"
}
hb_rsync()
@@ -336,6 +336,10 @@ fi
FIRST_PARAM=$1
shift
+MACHINE=${MACHINE:-$DEFAULT_MACHINE}
+export MACHINE
+echo "Setting up for Machine = $MACHINE"
+
case ${FIRST_PARAM} in
workon)
hb_workon $*
OpenPOWER on IntegriCloud