Get Component Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Component Info

Change History

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

Basic Information

Function Description

Obtain component information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD90h
1Sub command, sub command=29h
2Component ID or Component Slot
3Indicates the information type. The options are as follows:
0: Component present, indicating whether the component FRU is in position. The value 1 indicates that the component FRU is in position, and the value 0 indicates that the component FRU is not in position. (The corresponding byte 5 is the FRU ID.)
1: component product ID, which is the same as the baseboard and is a hexadecimal number.
2: component board ID, indicating the board ID of the component FRU. The value is a hexadecimal number and is valid only when the component is in position.
3: Component pcb id, indicating the PCB version number of the component FRU. The value is a hexadecimal number and is valid only when the component is installed.
4: Component name, indicating the name of the component FRU. The value is a string of a maximum of 16 bytes.
5: Component type, indicating the type of the component FRU
6: Component BOM ID, indicating the BOM ID of the board where the component FRU is located. The BIOS generates the board name based on the BOM ID and writes the board name to the SMBIOS.
7: Component Slot id, indicating the slot ID of the component FRU
8: Component UniqueId, indicating the unique ID of the component. The value is a character string and is dedicated for the Tianchi component.
other, reserved.

Response Information

ByteData Field
1Completion Code.
Parameter out of range (C9h) for unsupported component
Unknown cause (FFh)for supported component and get component info failed
2:nComponent info.
The information types are defined as follows:
#type #define
0 Component present status 1 indicates that the board is installed, and 0 indicates that the board is not installed. The value is a hexadecimal number of 1 byte.
Note: For CPUs and hard disks, multiple bits may be used to indicate whether a device is installed. For example, 0x3 indicates that CPU1 and CPU2 are installed. The binary value 00000011 indicates that CPU1 and CPU2 are installed.
1 Component product ID, which is the same as that of the mother board, 1 byte, hexadecimal number
2 Component board ID, 1 byte, hexadecimal number, valid only when the board is in position
3 Component PCB ID, 1 byte, hexadecimal number. This field is valid only when the PCB is in position.
4. Component name (character string type), no more than 16 bytes
5 Component type
A0 PICMG Front Board
C0 PICMG Rear Transition Module
C1 PICMG AMC Module
0B Add-in card
6 Compoent BOM id
7 Component slot id
8: Component UniqueId, which is a character string containing a maximum of 20 bytes.

Command Example

Obtain component information.

Request:

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

Response:

text
0f MM NN

Back to Index