新增命令详情
更新时间:2025/6/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.62025/06/26pengqiang-gs初稿,新增命令详情

基本信息

功能说明

标准命令,用于查询当前设备的基本信息,包括硬件版本,固件/软件版本以及对应的传感器/事件规范版本等信息

权限

ReadOnly

命令信息

请求信息

无请求参数

响应信息

字节顺序域取值说明
1Completion Code
2Device ID. 00h = unspecified
3Device Revision
[7]
 1 = device provides Device SDRs
 0 = device does not provide Devices SDRs
[6:4]
 reserved. Return as 0.
[3:0]
 Device Revision, binary encoded.
4Firmware Revision 1
[7]
 Device available: 0 = normal operation, 1 = device firmware, SDR Repository update or self-initialization in progress. [Firmware / SDR Repository updates can be differentiated by issuing a Get SDR command and checking the completion code.]
[6:0]
 Major Firmware Revision, binary encoded.
5Firmware Revision 2
Minor Firmware Revision. BCD encoded.
6IPMI Version. Hold IPMI Command Specification Version. BCD encoded.
00h = reserved.
Bits [7:4] hold the Least Significant digit of the revision, while bits [3:0] hold the Most Significant bits. E.g. a value of 51h indicates revision 1.5 functionality. 02h for implementations that provide IPMI v2.0 capabilities per this specification.
7Additional Device Support (formerly called IPM Device Support). Lists the IPMI 'logical device' commands and functions that the controller supports that are in addition to the mandatory IPM and Application commands.
[7]
 Chassis Device (device functions as chassis device per ICMB spec.)
[6]
 Bridge (device responds to Bridge NetFn commands)
[5]
 IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4]
 IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3]
 FRU Inventory Device
[2]
 SEL Device
[1]
 SDR Repository Device
[0]
 Sensor Device
8:10Manufacturer ID, LS Byte first. The manufacturer ID is a 20-bit value that is derived from the IANA 'Private Enterprise' ID (see below).
Most significant four bits = reserved (000b).
000000h = unspecified.
0FFFFFh = reserved.
This value is binary encoded. E.g. the ID for the IPMI forum is 7154 decimal, which is 1BF2h, which would be stored in this record as F2h, 1Bh, 00h for bytes 8 through 10, respectively.
11:12Product ID, LS Byte first. This field can be used to provide a number that identifies a particular system, module, add-in card, or board set. The number os specified according to the manufacturer given by Manufacturer ID (see below).
0000h = unspecified.
FFFFh = reserved.
13:16Auxiliary Firmware Revision Information. This field is optional. If present, it holds additional information about the firmware revision, such as boot block or internal data structure version numbers. The meanings of the numbers are specific to the vendor identified by Manufacturer ID (see below). When the vendor-specific definition is not known, generic utilities should display each byte as 2-digit hexadecimal numbers, with byte 13 displayed first as the most-significant byte.

命令样例

样例1:查询当前设备BMC的Device ID信息

  • 请求:ipmitool raw 0x06 0x01
  • 响应:01 81 05 11 02 af db 07 00 00 00 00 00 00 02

返回到索引