Get BMC Process Time
更新时间: 2026/08/06
在Gitcode上查看源码Get BMC Process Time
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the processing duration.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, sub command=50h |
| 2 | Type: 0=BMC system initialization duration 1=Duration from the time when the DFT test is configured to the time when the test is started 2: The BMC sets the MAC validity period. 3=Effective duration of BMC write operations on RFID tags (for iRM) 4=Maximum waiting duration for the BMC to upgrade the MCU firmware (used by iRM) 5=Maximum waiting duration for the BMC to read and parse the electronic label data from the storage medium to the memory after detecting the FRU Other values: reserved |
| 3 | Parameter selector: When the value of Type is 1, this field indicates the DFT ID. When the value of Type is 5, this field indicates the FruID. Others: reserved (00h if type doesn't t use a Parameter selector) |
| 4:6 | reseverd (Set this parameter to 00h.) |
| 7 | Sub Parameter Selector: When Dftid is 0x57 (PHY port loopback test), this byte indicates DeviceNum (numbered 0, 1, ...,, where 0xff indicates all). Other values are reserved. (00h if Parameter selector doesn' t use a Sub Parameter Selector) |
| 8 | reseverd (Set this parameter to 00h.) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 0: The command is executed successfully. 0xD5: Indicates that this query is not supported. It does not indicate that the command fails to be executed. |
| 2:3 | When the value of Type is 0, this parameter indicates the BMC system initialization duration, in seconds. The value is of the short type, that is, LS_byte first. When Type is set to 1, this parameter indicates the duration (in seconds) from the time when the BMC is configured to the time when the test is started. The value is of the short type, that is, LS_byte first. When Type is set to 2, this parameter indicates the effective duration (in seconds) of the MAC address set by the BMC. The value is of the short type, that is, LS_byte first. Other values: reserved When the value of Type is 3, this parameter indicates the effective duration (in seconds) of the write operation performed by the BMC on the RFID tag. The value is of the short type, that is, LS_byte first. When the value of Type is 4, this parameter indicates the maximum waiting duration for the BMC to upgrade the MCU firmware. The unit is second. The value is of the short type, that is, LS_byte first. Other values: reserved When Type is set to 5, this parameter indicates the maximum waiting time (in seconds) for the BMC to read and parse the electronic label data from the storage medium to the memory after the BMC detects the FRU. The value is of the short type, that is, LS_byte first. |
Command Example
Obtain the processing duration.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN