summaryrefslogtreecommitdiffstats
path: root/src/build/vpo
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2012-07-10 15:05:08 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-07-12 10:54:28 -0500
commitb37137dc550343c0dc6368d3d56558941e48c79e (patch)
tree85265248c06c766f20f295d80cee5b388f1b583a /src/build/vpo
parent8de05d745201752e69c646e2586122b5cf89b48d (diff)
downloadtalos-hostboot-b37137dc550343c0dc6368d3d56558941e48c79e.tar.gz
talos-hostboot-b37137dc550343c0dc6368d3d56558941e48c79e.zip
VPO tools update for model m_4_a (s1_e8032_c0400_cen1_cen077_unopt_1)
Change-Id: If1d0e4b8922bd1e12941c1722ecc25d819e89b29 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1334 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/vpo')
-rw-r--r--[-rwxr-xr-x]src/build/vpo/Setup_Env128
-rw-r--r--[-rwxr-xr-x]src/build/vpo/VBU_Cacheline.pm2
-rw-r--r--[-rwxr-xr-x]src/build/vpo/do_sprint6
3 files changed, 73 insertions, 63 deletions
diff --git a/src/build/vpo/Setup_Env b/src/build/vpo/Setup_Env
index 32c60c1a3..f46fea3a4 100755..100644
--- a/src/build/vpo/Setup_Env
+++ b/src/build/vpo/Setup_Env
@@ -1,3 +1,27 @@
+#!/bin/sh "Use source to invoke this script"
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/build/vpo/Setup_Env $
+#
+# IBM CONFIDENTIAL
+#
+# COPYRIGHT International Business Machines Corp. 2012
+#
+# p1
+#
+# Object Code Only (OCO) source materials
+# Licensed Internal Code Source Materials
+# IBM HostBoot Licensed Internal Code
+#
+# The source code for this program is not published or other-
+# wise divested of its trade secrets, irrespective of what has
+# been deposited with the U.S. Copyright Office.
+#
+# Origin: 30
+#
+# IBM_PROLOG_END_TAG
+
################################################################################
#
# Setup intialization source script for HostBoot Sprint Release VPO/VBU model
@@ -17,6 +41,10 @@
# Build hb0606a_1219.810
# Add m_3_a Murano model
#
+# Version 1.4 07-10-2012 Default HB_TOOLS to rel.20120710
+# Update for new m_4_a model, default to new checkpoint
+# Load SPD data
+#
################################################################################
# Define useful pointers to automated tests/scripts
@@ -60,16 +88,14 @@ Setup_MyEnv() {
sprint=hb0606a_1219.810
# Initialize HostBoot environment/cronus/tools - note new naming convention
-
- export AUTOVBU_CRONUS_SIM=rel.20120611
+ #export AUTOVBU_CRONUS_SIM=rel.20120709
+ export AUTOVBU_CRONUS_SIM=dev
+
export GLOBAL_DEBUG=8.VW.Vc.dG.F3.0I.E8.V
- export HB_TOOLS=$AUTOVBU_HBTOOLS_BASEDIR/rel.20120611
+ export HB_TOOLS=$AUTOVBU_HBTOOLS_BASEDIR/rel.20120710
# Select default model -- choose either VBU or VPO versions
- export VPO_MODEL=m_3_a; unset VBU_MODEL; VBUVPO=VPO
- #export VBU_MODEL=p1_e8056_c1000_cen1_cen054_unopt_2_gfw; unset VPO_MODEL; VBUVPO=VBU
- #export VBU_MODEL=p1_e8062_wafer_nomem_c1000_opt_4; unset VPO_MODEL; VBUVPO=VBU
- #export VBU_MODEL=p1_e8062_c1000_cen1_cen061_unopt_1; unset VPO_MODEL; VBUVPO=VBU
+ export VPO_MODEL=m_4_a; unset VBU_MODEL; VBUVPO=VPO
# Default AWAN request time - shorter periods get AWAN faster
@@ -78,8 +104,8 @@ Setup_MyEnv() {
# Default sprint test case settings
export AUTOVBU_CORE=-cft
- export AUTOVBU_SIMCLOCKS=5000000
- export AUTOVBU_INITIAL_CHKPT=after_8megzero_newxscom
+ export AUTOVBU_SIMCLOCKS=3000000
+ export AUTOVBU_INITIAL_CHKPT=zero_vpo_after_proc_sbe
export AUTOVBU_LOOPS=1200
export AUTOVBU_PRINTK_LINES=50
@@ -235,52 +261,32 @@ Setup_MyDynamic() {
# Set other defaults based upon MODEL
case "$VPO_MODEL$VBU_MODEL"
in
- s1_e8024_wafer_nomem_dc_opt_6|s1_e8026_c0400_cen1_cen069_unopt_1|m_3_a)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
- export AWAN_CONFIG=${AWAN_CONFIG-star8b}
- unset DEFAULT_LEVEL
- ;;
- p1_e8062_wafer_nomem_c1000_opt_4|m_2_e)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
- export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star4b}
- export AWAN_CONFIG=${AWAN_CONFIG-star4b}
- export DEFAULT_LEVEL=prev
- ;;
- m_1_c|p1_e8056_c1000_cen1_cen054_unopt_2_gfw)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-cronusflex}
- export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star8b_flex}
- export AWAN_CONFIG=${AWAN_CONFIG-star8b}
- export DEFAULT_LEVEL=prev
- ;;
- m_2_a|p1_e8062_c1000_cen1_cen061_unopt_1)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-cronusflex}
- export AWAN_SCRIPT=${AWAN_SCRIPT- run_script_star8b_flex}
- export AWAN_CONFIG=${AWAN_CONFIG-star8b}
- export DEFAULT_LEVEL=prev
- ;;
- p1_e8056*|p1_e8059*|p1_e8062*)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
- export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star8b}
- export AWAN_CONFIG=${AWAN_CONFIG-star8b}
- export DEFAULT_LEVEL=prev
- ;;
- s1_e8024_wafer_nomem_dc_opt_6)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
- export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star8b}
- export AWAN_CONFIG=${AWAN_CONFIG-star8b}
- unset DEFAULT_LEVEL
- ;;
- s1_e8024_wafer_nomem*)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
- export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star4b}
- export AWAN_CONFIG=${AWAN_CONFIG-star4b}
- unset DEFAULT_LEVEL
- ;;
- *)
- export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
- export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star8b}
- export AWAN_CONFIG=${AWAN_CONFIG-star8b}
- ;;
+ s1_e8032_c0400_cen1_cen073_unopt_2|m_3_b)
+ export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
+ export AWAN_CONFIG=${AWAN_CONFIG-star8b}
+ unset DEFAULT_LEVEL
+ ;;
+ s1_e8032_c0400_cen1_cen077_unopt_1|m_4_a)
+ export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
+ export AWAN_CONFIG=${AWAN_CONFIG-star8b}
+ unset DEFAULT_LEVEL
+ ;;
+ s1_e8024_wafer_nomem_dc_opt_6|s1_e8026_c0400_cen1_cen069_unopt_1|m_3_a)
+ export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
+ export AWAN_CONFIG=${AWAN_CONFIG-star8b}
+ unset DEFAULT_LEVEL
+ ;;
+ m_2_a|p1_e8062_c1000_cen1_cen061_unopt_1)
+ export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-cronusflex}
+ export AWAN_SCRIPT=${AWAN_SCRIPT- run_script_star8b_flex}
+ export AWAN_CONFIG=${AWAN_CONFIG-star8b}
+ export DEFAULT_LEVEL=prev
+ ;;
+ *)
+ export AUTOVBU_ECMD_VER=${AUTOVBU_ECMD_VER-p8s1}
+ export AWAN_SCRIPT=${AWAN_SCRIPT-run_script_star8b}
+ export AWAN_CONFIG=${AWAN_CONFIG-star8b}
+ ;;
esac
if [ "$AUTOVBU_ECMD_VER" = "cronusflex" ]; then
@@ -454,11 +460,13 @@ Setup_MyHBImage() {
# Load initial checkpoint first
- set -x
- siminit ${AUTOVBU_INITIAL_CHKPT-after_8megzero} -quiet || return 1
- $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMGDIR}/hbicore${use_test}.bin -b ${AUTOVBU_CORE--cft} || return 1
- $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMGDIR}/vbu${use_test}.pnor -o 0x400000 -b ${AUTOVBU_CORE--cft} || return 1
- set +x
+ set -x
+ siminit ${AUTOVBU_INITIAL_CHKPT-zero_vpo_after_proc_sbe} -quiet || return 1
+ $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMGDIR}/hbicore${use_test}.bin -b ${AUTOVBU_CORE--cft} || return 1
+ $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMGDIR}/vbu${use_test}.pnor -o 0x400000 -b ${AUTOVBU_CORE--cft} || return 1
+ $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMGDIR}/sysmvpd.dat -o 0x681000 -b ${CORE--cft} || exit 1
+ $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMGDIR}/sysspd.dat -o 0x701000 -b ${CORE--cft} || exit 1
+ set +x
fi
return 0
diff --git a/src/build/vpo/VBU_Cacheline.pm b/src/build/vpo/VBU_Cacheline.pm
index 55de20dad..82e223988 100755..100644
--- a/src/build/vpo/VBU_Cacheline.pm
+++ b/src/build/vpo/VBU_Cacheline.pm
@@ -76,7 +76,7 @@ my $curDir = getcwd();
my $CLfile = "$curDir/istepmodereg.dma";
my $CORE = "-cft";
-my $SIM_CLOCKS = "5000000";
+my $SIM_CLOCKS = "3000000";
#############################################
## Internal Globals
diff --git a/src/build/vpo/do_sprint b/src/build/vpo/do_sprint
index a9c3007cd..0cc929828 100755..100644
--- a/src/build/vpo/do_sprint
+++ b/src/build/vpo/do_sprint
@@ -49,7 +49,7 @@
# - Use env variable $HB_VBUTOOLS for VBU tools
#
# Version 1.3 06-11-2012 Change "-c3" to "-cft" (first avail core)
-#
+# Version 1.4 07-02-2012 Load SPD data
##################################################################################
PGM=`basename $0`
@@ -224,12 +224,14 @@ test $? -eq 0 && vbu_targeting_addr=0x5B0690
set -x
if [ "$start_after_hbiload" != "--start_after_hbiload" -a "$start_after_hbitest" != "--start_after_hbitest" ]; then
- siminit ${AUTOVBU_INITIAL_CHKPT-after_8megzero} -quiet || exit 1
+ siminit ${AUTOVBU_INITIAL_CHKPT-zero_vpo_after_proc_sbe} -quiet || exit 1
fi
if [ "$start_after_hbiload" != "--start_after_hbiload" -a "$start_after_hbitest" != "--start_after_hbitest" ]; then
$HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMG}/hbicore${use_test}.bin -b ${CORE--cft} || exit 1
$HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMG}/vbu${use_test}.pnor -o 0x400000 -b ${CORE--cft} || exit 1
+ $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMG}/sysmvpd.dat -o 0x681000 -b ${CORE--cft} || exit 1
+ $HB_VBUTOOLS/p8_load_l3 -l ${DEFAULT_LEVEL-rel} -f ${HB_IMG}/sysspd.dat -o 0x701000 -b ${CORE--cft} || exit 1
fi
OpenPOWER on IntegriCloud