summaryrefslogtreecommitdiffstats
path: root/src/build
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2012-03-21 15:58:32 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-03-28 14:21:43 -0500
commit26314374050a4466e378f827a6ab05d2c34a28d9 (patch)
treed1d687a79d635f5d414792c79560edf2bb9a895b /src/build
parent548d17a3c263373ce3d8ecbd948cb2a0e56bdb9f (diff)
downloadtalos-hostboot-26314374050a4466e378f827a6ab05d2c34a28d9.tar.gz
talos-hostboot-26314374050a4466e378f827a6ab05d2c34a28d9.zip
Make MURANO config work in Simics
This is work for Task 38048 -Updated bbuild to an 810 build with the latest Simics support -Pulled support for Salerno from build tools -Changed DEFAULT_MACHINE to MURANO -Updated testcases to follow error logging guidelines -Fixed up some FSI error handling bugs -Disabled FSI loopback on VENICE (fix with Task 39187) -Disabled a few testcases (see Impediment 39188) Verified both MURANO and VENICE configurations Change-Id: Ie7761f49c9e653489c8c4dad261b1c8852fa7548 RTC: 35596 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/791 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rw-r--r--src/build/citest/etc/bbuild2
-rwxr-xr-xsrc/build/citest/etc/workarounds.postsimsetup4
-rwxr-xr-xsrc/build/citest/etc/workarounds.presimsetup40
-rwxr-xr-xsrc/build/tools/cpfiles.pl1
-rwxr-xr-xsrc/build/tools/hb2
5 files changed, 15 insertions, 34 deletions
diff --git a/src/build/citest/etc/bbuild b/src/build/citest/etc/bbuild
index a3dc4f4e1..5bd980097 100644
--- a/src/build/citest/etc/bbuild
+++ b/src/build/citest/etc/bbuild
@@ -1 +1 @@
-/esw/fips760/Builds/b0229a_1209.760
+/esw/fips810/Builds/b0315a_1211.810
diff --git a/src/build/citest/etc/workarounds.postsimsetup b/src/build/citest/etc/workarounds.postsimsetup
index 44eb1a37c..8e14b6f12 100755
--- a/src/build/citest/etc/workarounds.postsimsetup
+++ b/src/build/citest/etc/workarounds.postsimsetup
@@ -27,3 +27,7 @@
## to setup the sandbox
##
+
+echo "+++ FIXME Temporarily copying cec-chip.so to eliminate verbose errors"
+rm $sb/../simics/amd64-linux/lib/cec-chip.so
+cp /afs/rch/usr8/dsanner/public/fsi2host.correct/bin/cec-chip.so $sb/../simics/amd64-linux/lib/
diff --git a/src/build/citest/etc/workarounds.presimsetup b/src/build/citest/etc/workarounds.presimsetup
index 0bba2c8b4..ca5f0a717 100755
--- a/src/build/citest/etc/workarounds.presimsetup
+++ b/src/build/citest/etc/workarounds.presimsetup
@@ -27,13 +27,6 @@
## to setup the sandbox
##
-echo "+++ Copy desired SALERNO config file to sandbox and modify L3 to 8MB."
-mkdir -p $sb/simu/configs
-cp --update $BACKING_BUILD/src/simu/configs/P8_SALERNO.config $sb/simu/configs
-sed -i -e's/SETENV GFW_P8_SALERNO_L3_MB_SIZE.*/SETENV GFW_P8_SALERNO_L3_MB_SIZE 8/' $sb/simu/configs/P8_SALERNO.config
-# Backing build already contains 910431. Leave this workaround here for future scomdef files
-#sed -i -e's/SETENV GFW_P8_SALERNO_MODEL_EC.*/SETENV GFW_P8_SALERNO_MODEL_EC 910431/' $sb/simu/configs/P8_SALERNO.config
-
echo "+++ Copy desired VENICE config file to sandbox and modify L3 to 8MB."
mkdir -p $sb/simu/configs
cp --update $BACKING_BUILD/src/simu/configs/P8_VENICE.config $sb/simu/configs
@@ -61,35 +54,20 @@ sed -i -e's/SETENV GFW_SIMICS_ENV_THREADS_PER_CORE.*/SETENV GFW_SIMICS_ENV_THREA
#echo "WSALIAS HOSTBOOT_LEVEL FIPSLEVEL env/gfwb/simics-4.2.0/simics-4.2.83/fips/fld36/fi120201a700.42" >> $sb/simu/data/simicsInfo
#echo "WSALIAS HOSTBOOT_LEVEL SIMICSLEVEL env/vtechb/simics-4.2.0/simics-4.2.83/bin" >> $sb/simu/data/simicsInfo
-echo "+++ Add some scom regs and actions for ECCB fakeout."
-mkdir -p $sb/simu/data/cec-chip/
-cp --update $BACKING_BUILD/src/simu/data/cec-chip/p8.chip $sb/simu/data/cec-chip/p8.chip.orig
-grep -v DONE $sb/simu/data/cec-chip/p8.chip.orig > $sb/simu/data/cec-chip/p8.chip
-echo "ACTIONS=p8_pnor.act #workarounds.presimsetup" >> $sb/simu/data/cec-chip/p8.chip
-echo "SCOMREGS #workarounds.presimsetup" >> $sb/simu/data/cec-chip/p8.chip
-echo " 0xDDDD0000,64 # dummy to hold pnor address" >> $sb/simu/data/cec-chip/p8.chip
-echo " 0xDDDD0001,64 # dummy to hold pnor data" >> $sb/simu/data/cec-chip/p8.chip
-echo "END" >> $sb/simu/data/cec-chip/p8.chip
-echo "DONE" >> $sb/simu/data/cec-chip/p8.chip
-cp $HOSTBOOTROOT/src/build/citest/etc/patches/p8_pnor.act $sb/simu/data/cec-chip/
-#fixme Story 37972
-
-
echo "+++ Copy new centaur.act for DRAM hardware procedures."
mkdir -p $sb/simu/data/cec-chip/
cp $HOSTBOOTROOT/src/build/citest/etc/patches/centaur.act $sb/simu/data/cec-chip/
-#fixme
-
-
-# Leaving this here as an example for the future
-#echo "+++ Update to new phyp and mambo level."
-#mkdir -p $sb/simu/data
-#cp --update $BACKING_BUILD/src/simu/data/simicsInfo $sb/simu/data/simicsInfo
-#sed -i -e's/^WSALIAS HOSTBOOT_LEVEL MAMBOLEVEL.*/WSALIAS HOSTBOOT_LEVEL MAMBOLEVEL env\/mamboa\/2011_11_10__4.2/' $sb/simu/data/simicsInfo
-#sed -i -e's/^WSALIAS HOSTBOOT_LEVEL PHYPLEVEL.*/WSALIAS HOSTBOOT_LEVEL PHYPLEVEL env\/phypa\/simics-4.2.0\/simics-4.2.83\/ph120201a700.42/' $sb/simu/data/simicsInfo
-#sed -i -e's/^WSALIAS HOSTBOOT_LEVEL PHYP_PATCH_LEVEL.*/WSALIAS HOSTBOOT_LEVEL PHYP_PATCH_LEVEL env\/phypa\/simics-4.2.0\/simics-4.2.82\/patches\/ph120201a700.42/' $sb/simu/data/simicsInfo
+#fixme with Story 38362
# added this patch until defect 825800 is integrated and included in a hostboot bbuild.
echo "+++ Add workaround for p8 Indirect SCOM action files."
cp --update $HOSTBOOTROOT/src/build/citest/etc/patches/p8_indScom_910431.act $sb/simu/data/cec-chip/p8_indScom_910431.act
cp --update $HOSTBOOTROOT/src/build/citest/etc/patches/p8_indScom_910520.act $sb/simu/data/cec-chip/p8_indScom_910520.act
+
+# Leaving this here as an example for the future
+echo "+++ Update to new phyp and mambo level."
+mkdir -p $sb/simu/data
+cp --update $BACKING_BUILD/src/simu/data/simicsInfo $sb/simu/data/simicsInfo
+#sed -i -e's/^WSALIAS HOSTBOOT_LEVEL MAMBOLEVEL.*/WSALIAS HOSTBOOT_LEVEL MAMBOLEVEL env\/mamboa\/2011_11_10__4.2/' $sb/simu/data/simicsInfo
+sed -i -e's/^WSALIAS DEFAULT PHYPLEVEL.*/WSALIAS DEFAULT PHYPLEVEL env\/phypa\/simics-4.2.0\/simics-4.2.85\/ph120319a700.42/' $sb/simu/data/simicsInfo
+sed -i -e's/^WSALIAS DEFAULT PHYP_PATCH_LEVEL.*/WSALIAS DEFAULT PHYP_PATCH_LEVEL env\/phypa\/simics-4.2.0\/simics-4.2.85\/patches\/ph120319a700.42/' $sb/simu/data/simicsInfo
diff --git a/src/build/tools/cpfiles.pl b/src/build/tools/cpfiles.pl
index 3a7781b0f..5e68a77bf 100755
--- a/src/build/tools/cpfiles.pl
+++ b/src/build/tools/cpfiles.pl
@@ -84,7 +84,6 @@ my %files = ("src/build/tools/hb-parsedump.pl" => "rsv",
"img/hbicore.bin.modinfo" => "rsv",
"img/hbicore_test.bin.modinfo" => "rsv",
"img/pnor.toc" => "rsv",
- "img/simics_SALERNO_targeting.bin" => "rs",
"img/simics_VENICE_targeting.bin" => "rs",
"img/simics_MURANO_targeting.bin" => "rs",
"img/vbu_targeting.bin" => "rv",
diff --git a/src/build/tools/hb b/src/build/tools/hb
index 0ea3cdad7..5e2e513a6 100755
--- a/src/build/tools/hb
+++ b/src/build/tools/hb
@@ -118,7 +118,7 @@ hb_helptext()
echo " Requires the hostboot image to be 'prime'd into the workspace."
echo
echo " Environment Variables:"
- echo " MACHINE: Alternate simics machine type (default SALERNO)"
+ echo " MACHINE: Alternate simics machine type (default VENICE)"
echo " SIMICSOPTIONS: Additional options to always pass to the"
echo " start simics script, such as '-nre'."
echo
OpenPOWER on IntegriCloud