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

Get Fruid Info

Change History

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

Basic Information

Function Description

Obtains FRU information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, sub command = 0x3Bh
5Reserved. The value is 0.
6Device Type Parameter
For details, see Device Type (Component Type). The value 0xff indicates that the Fruid of all components of the device type is queried. If the value is set to 0xff, bytes 7, 8, and 9 are invalid.
7Group Id: logical group ID of a component. Currently, iBMCBMC can only be set to 1. The value starts from 1 and is numbered by logical group.
If the silkscreens of components in different groups are the same, you need to group them to differentiate the silkscreens. For example, DIMMs on the memory board of the 8100 V3/RH5885H V3 form a group, and the group ID is the memory board slot ID plus 1. The PCIe card silkscreens on the front, built-in, and rear riser cards of the X6800 are the same. The front riser card ID is 1, the built-in riser card ID is 2, and the rear riser card ID is 3. The value 0xff indicates all groups. Currently, other components support only one group, that is, the group ID is 1.
8Device Number
Logical sequence number of a device in the same group ID. The value starts from 1 and is the same as the value of slotid or is numbered in a specified sequence. The sequence number does not change after a product is determined. If this parameter is set to 0xff, all FRU IDs whose Device Type is the specified value of the sixth byte are queried.
9Reserved. The value is 0.
10Read Offset
Indicates the offset of the read data. The value starts from 0.
11Length
Read length.

Response Information

ByteData Field
1Completion Code
80h-Device not present
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5End of List
indicates whether the data reading is complete, Long data may need to be read multiple times. This field is used to check whether data is completely read.
[7:1]: reserved
[0]: End of list
0=last data
1=middle data
6:NData
The returned data may be less than or equal to the read length. If there are multiple FRU IDs, the returned data may not be sorted by FRU ID in ascending order.
data1:1 - ID of the first FRU
data2:1 - ID of the second FRU
......
dataN: 1-ID of the Nth FRU

Command Example

Obtain FRU information.

Request:

bash
ipmicmd -k "0f 00 30 93 db 07 00 3b 0 ff 1 ff 0 1 9" smi 0

Response:

text
0f 31 00 93 00 db 07 00 01 01 02 03 07 09 0c 49 04 0a

Back to Index