[Skiboot] [PATCH] boot-tests: force BMC to boot from non-golden side

Stewart Smith stewart at linux.vnet.ibm.com
Wed Nov 2 17:52:23 AEDT 2016


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 at linux.vnet.ibm.com>
---
 external/boot-tests/bmc_support.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/external/boot-tests/bmc_support.sh b/external/boot-tests/bmc_support.sh
index 4b1c00481dab..c273cfd9927c 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
 }
 
-- 
2.1.4



More information about the Skiboot mailing list