Write FRU Data 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,用于写入设备的 FRU 信息指定偏移存储区域的内容。 The command writes the specified byte or word to the FRU Inventory Info area.
权限
BasicSetting
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | FRU Device ID. FFh = reserved. |
| 2 | FRU Inventory Offset to read, LS Byte |
| 3 | FRU Inventory Offset to read, 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 |
命令样例
样例1:设备BMC的 FRU0 的数据写入
- 请求:
- 响应: