Get target upgrade capabilities
更新时间: 2026/08/06
在Gitcode上查看源码

Get target upgrade capabilities

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This API is used to obtain the target upgrade function.

Privilege

Command Information

Request Information

ByteData Field
NetFnPICMG 2Ch
CMD2Eh
1PICMG ID. Enter 0.

Response Information

ByteData Field
1Completion code
81h=The current interface does not support software upgrade. The following response bytes are still valid.
2Indicates the PICMG ID. Enter 0.
3HPM.1 version. Version number of the HPM.1 specification implemented by the IPMC. Set this parameter to 0 for the current version.
4IPMC Global Capabilities
[7]: Firmware Upgrade undesirable
0=The software can be upgraded safely in the current phase.
1=The software upgrade in the current phase may cause problems due to certain reasons.
[6]: Automatic Rollback overridden, The automatic rollback control is overwritten.
0= Automatic Rollback: The automatic rollback is not supported or is not overwritten.
1: Automatic rollback is supported but has been overwritten. The current rollback cannot be performed.
[5] Check whether the: IPMC degraded during upgrade and IPMC capabilities are weakened during the upgrade.
0=IPMC operation normal
1=The IPMC cannot provide some functions during the upgrade.
[4]: Deferred activation capabilities, delayed activation capability
0: The delayed activation capability is not supported.
1: The delayed activation capability is supported.
[3]: Services affected by upgrade. The upgrade affects services.
0: The upgrade does not affect services.
1=The upgrade may affect services.
[2]: Manual Rollback capabilities, which indicates the manual rollback capability.
0: Manual rollback is not supported.
1: Manual rollback is supported.
[1]: Automatic Rollback capabilities, automatic rollback capability
0: Automatic rollback is not supported.
1: Automatic rollback is supported.
[0] Self-test capabilities, self-test capabilities
0: The self-test capability is not supported.
1: The self-test capability is supported.
5Upgrade timeout: upgrade timeout interval. Maximum time required for executing a time-consuming command. The unit is 5 seconds.
6Self-test timeout: timeout period of a self-test. Indicates the maximum time that the self-test may take. Unit: 5s. If the self-test is not supported, set this parameter to 0.
7Rollback timeout: indicates the maximum time that the automatic or manual rollback of the IPMC takes. The unit is five seconds. If rollback is not supported, set this parameter to 0.
8Inaccessibility timeout, which indicates the timeout interval of the inaccessibility period. Maximum duration in which the IPMC does not respond to the IPMI command. The unit is 5 seconds. If the IPMC is always accessible, set this parameter to 0.
9Components present: existing components. Component contained in the IPMC.

Command Example

Obtain the target upgrade function.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index