Get Device SDR Info
更新时间: 2025/06/26
在Gitcode上查看源码

20h-获取设备SDR信息(Get-Device-SDR-Info)

修订记录

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息

功能说明

获取设备SDR信息。

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
NetFnS/E 04h
CMD20h
(1)Operation (optional)
[7:1]-reserved
[0]-1b=Get SDR count. This returns the total number of SDRs in the device.
0b=Get Sensor count. This returns the number of sensors implemented on LUN this command was addressed to.

响应信息

字节顺序域取值说明
1Completion Code
2For Operation="Get Sensor Count" (or if byte 1 not present in request):
Number of sensors in device for LUN this command was addressed to.
For Operation=“Get SDR Count”:
Total Number of SDRs in the device.
3Flags:
Dynamic population
[7]-0b=static sensor population. The number of sensors handled by this device is fixed, and a query shall return records for all sensors.
1b=dynamic sensor population. This device may have its sensor population vary during 'run time' (defined as any time other that when an install operation is in progress).
Reserved
[6:4]-reserved
Device LUNs
[3]-1b=LUN 3 has sensors
[2]-1b=LUN 2 has sensors
[1]-1b=LUN 1 has sensors
[0]-1b=LUN 0 has sensors
4:7Sensor Population Change Indicator. LS byte first.
Four byte timestamp, or counter. Updated or incremented each time the sensor population changes. This field is not provided if the flags indicate a static sensor population.

命令样例

获取设备SDR信息

请求:

ipmicmd -k "0f 00 04 20" smi 0

响应:

0f 77 01

返回到索引