Write FRU Data
更新时间: 2025/06/26
在Gitcode上查看源码12h-写入FRU数据(Write-FRU-Data)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
写入FRU数据。
权限
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Storage 0Ah |
| CMD | 12h |
| 1 | FRU Device ID, FFh=reserved. |
| 2 | FRU Inventory Offset to write,LS Byte |
| 3 | FRU Inventory Offset to write,MS Byte |
| 4:3+N | Data to write |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion code. Generic, plus following command specific: 80h=write-protected offset. Cannot complete write because one or more bytes of FRU data are to a write-protected offset in the FRU device. Note that an implementation may have allowed a 'partial write' of the data to occur 81h=FRU device busy. Refer to the preceding table for the Read FRU Command for the description of this completion code |
| 2 | Count written --- count is '1' based |
命令样例
写入FRU数据
请求:
ipmicmd -k "0f 00 MM NN" smi 0响应:
0f MM NN