Read Version Data
更新时间: 2026/08/06
在Gitcode上查看源码Read Version Data
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to read the version number of a specified component on a board.
Privilege
DiagnoseMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, sub command =08h |
| 2 | FRU Device ID Exception scenario: For a multi-host model, when the BIOS firmware is queried, the value of this field is SystemId. |
| 3 | Version type. 0=PCB version 1=main firmware version 2=CPLD version 3=FPGA version 4=FRU data version 5=SDR version 6=BIOS firmware version 7=Hardware version 8=bootloader version /uboot/bootrom 9=hpm image version 0x0A=USB flash device firmware version 0x0B=other firmware version (used by the 852T daughter card) 0x0C=backup firmware version 0x0D=SYS CPLD (used by the OSCA SPU) 0x0E=Capacitor Manager firmware version (for OSCA SOD) 0x0F=MMC version 0x10=backup bootloader version /uboot/bootrom 0x11=SWITCH1 firmware version 0x12=SWITCH2 firmware version 0x13=reserved 0x14=reserved 0x15=TwinSD chip firmware version 0x17=LCD (LCD, which is the same as the component ID in Device Test) 0x18=available firmware version (used to query the version of the AZ specified by iBMCBMC) 0x19=HWSR version (version of the Tianchi component self-description information) 0x1A=VRD firmware version 0x1B=MCU firmware version 0x1C=PSIP version 0x1D=Coprocessor firmware version FFh=All version |
| 4 | Read offset. |
| 5 | Read length |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | End of List, indicating whether the current data is complete. NOTE: Long data may need to be read multiple times. This byte indicates whether data is completely read. [7]: End of list 1=last data 0=middle data [6:0]: reserved |
| 3:N | Indicates the data. The returned data may be less than or equal to the read length. NOTE: 1. If the specified FRU ID and Version Type have multiple instances, the returned data contains the version information of all instances, which is separated by semicolons (😉. 2. The BMC version number is in four-segment format. The first segment is 1 byte, ranging from 3 to 9, and the last three segments are 2 bytes, ranging from 00 to 99. The prefix 0 cannot be omitted. |
Command Example
Read the BMC firmware version.
Request:
bash
ipmicmd -k "0f 00 30 90 08 00 01 00 ff" smi 0Response:
text
0f 31 00 90 00 80 33 2e 30 31 2e 31 37 2e 34 33