aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 17:50:27 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 17:50:27 +1100
commit6979263e3430763b79490fbbb4f024370f2a32d2 (patch)
treefaf2f82d900faa7f62fe99ead84859f92b7ad1ce /external
parentf1cde7dcd3485ec7c1bb2ee385049ef200859a5b (diff)
downloadskiboot-6979263e3430763b79490fbbb4f024370f2a32d2.zip
skiboot-6979263e3430763b79490fbbb4f024370f2a32d2.tar.gz
skiboot-6979263e3430763b79490fbbb4f024370f2a32d2.tar.bz2
boot-tests: force BMC to boot from non-golden side
Because IPMI raw commands copied out of internal bugzilla is the best source of things that need to go in test scripts. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/boot-tests/bmc_support.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/boot-tests/bmc_support.sh b/external/boot-tests/bmc_support.sh
index 4b1c004..c273cfd 100644
--- a/external/boot-tests/bmc_support.sh
+++ b/external/boot-tests/bmc_support.sh
@@ -37,6 +37,8 @@ function poweroff {
function force_primary_side {
# Now we force booting from primary (not golden) side
$IPMI_COMMAND raw 0x04 0x30 0x5c 0x01 0x00 0x00 0 0 0 0 0 0
+ # and from somewhere else we get this raw command. Obvious really.
+ $IPMI_COMMAND raw 0x04 0x30 0xd2 0x01 0x00 0x00 0 0 0 0 0 0
sleep 8
}