Table 4-12, Boot option state, Using hpi-b – Artesyn System Management Interface Based on HPI-B (Centellis CO 31kX-4100-2000-4410) (June 2014) User Manual
Page 54
Using HPI-B
System Management Interface Based on HPI-B (Centellis CO31kX/4100/2000/4410) User’s Guide
54
Example: on most Artesyn blades, the BIOS software is stored twice on a flash device, BIOS
bank 1 and BIOS bank 2. The bank to boot from can be selected with the System Boot Options
Control.
You have to select parameter 96 with the Boot Option Select Control and then set the BIOS 1
(0) or BIOS 2 (1) with the Boot Option Control.
The following example shows how to set BIOS 2 for a resource with the ID 120 using an
example program which is delivered together with the HP-B development package:
hpibootoptions -r 120 96 1
The example program hpibootoptions, which is available in the base RPM package, shows how
an option can be set or got.
Table 4-12 Boot Option State
SaHpiCtrlStateT
Value
Type
SAHPI_CTRL_TYPE_OEM
StateUnion.Oem.Mid
MOTHPI_MANUFACTURER_ID_MOTOROLA
StateUnion.Oem.BodyLength
Get operations:
When input parameter: 3
When output parameter: Total length of the response data - 2
Set operations:
Total length of the request data
StateUnion.Oem.Body
Get operations:
When input parameter:
Byte 0: Parameter selector
Byte 1: Set selector
Byte 2: Block selector
When output parameter:
Response data from the GetSystemBootOptions IPMI
command without the first two bytes
Set operations:
Request data for the IPMI SetSystemBootOptions command