summaryrefslogtreecommitdiffstats
path: root/sbe
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2016-02-24 04:12:28 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2016-02-24 05:12:03 -0600
commite29483d4c454423ddcdf2ab3b44742b289e0cc55 (patch)
treee2bd33170d01b9401687f6ca661cbc63072487ab /sbe
parent680c8a67e579377497c5688eb0395654f008231a (diff)
downloadtalos-sbe-e29483d4c454423ddcdf2ab3b44742b289e0cc55.tar.gz
talos-sbe-e29483d4c454423ddcdf2ab3b44742b289e0cc55.zip
Enable CI to boot from SEEPROM
Change-Id: If44d3cbc9c58885d5fb90793fe81e2d114543466 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24696 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sbe')
-rwxr-xr-xsbe/build/citest/create-sandbox1
-rwxr-xr-xsbe/build/citest/populate-sandbox2
-rwxr-xr-xsbe/test/test.xml2
3 files changed, 3 insertions, 2 deletions
diff --git a/sbe/build/citest/create-sandbox b/sbe/build/citest/create-sandbox
index 3d9b76ae..e2b2f1f9 100755
--- a/sbe/build/citest/create-sandbox
+++ b/sbe/build/citest/create-sandbox
@@ -27,6 +27,7 @@ mksb -rc $SANDBOXRC -dir $SANDBOXROOT -back $BACKING_BUILD -sb $SANDBOXNAME \
# workaround scripts expect $sb variable to be populated.
export sb=$SANDBOXBASE/src
+execute_in_sandbox "ecc --inject ${SBE_IMG_OUT_LOC}/sbe_seeprom.bin --output ${SBE_IMG_OUT_LOC}/sbe_seeprom.bin.ecc --p8 " "ppc" || exit -1
# Run presimsetup workarounds.
echo "----Running presimsetup workarounds."
diff --git a/sbe/build/citest/populate-sandbox b/sbe/build/citest/populate-sandbox
index b66abc8e..cd377538 100755
--- a/sbe/build/citest/populate-sandbox
+++ b/sbe/build/citest/populate-sandbox
@@ -13,7 +13,7 @@ then
exit -1
fi
-# Create img directory.
+# Create test directory.
mkdir -p $SBETESTDIR || exit -1
# Copy test files.
diff --git a/sbe/test/test.xml b/sbe/test/test.xml
index c29a490e..abcb8c5c 100755
--- a/sbe/test/test.xml
+++ b/sbe/test/test.xml
@@ -7,7 +7,7 @@
<test>
<!-- Set IVPR to point to sbe start address ( currently PIBMEM) -->
<testcase>
- <simcmd>p9Proc0.sbe.mibo_space.write 0xc0000160 0xFFFE800000000000 8 -b</simcmd>
+ <simcmd>p9Proc0.sbe.mibo_space.write 0xc0000160 0x8000100000000000 8 -b</simcmd>
<exitonerror>yes</exitonerror>
</testcase>
<testcase>
OpenPOWER on IntegriCloud