代码仓
中
Write FRU Data
更新时间: 2025/06/26
在AtomGit上查看源码

12h-写入FRU数据(Write-FRU-Data) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

写入FRU数据。

权限 ​

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFnStorage 0Ah
CMD12h
1FRU Device ID, FFh=reserved.
2FRU Inventory Offset to write,LS Byte
3FRU Inventory Offset to write,MS Byte
4:3+NData to write

响应信息 ​

字节顺序域取值说明
1Completion 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
2Count written --- count is '1' based

命令样例 ​

写入FRU数据 ​

请求:

ipmicmd -k "0f 00 0a 12 00 00 00 01" smi 0

响应:

0f 0b 00 12 00 01

说明:本例响应的完成码为 00(成功)。向 FRU 0 的偏移 0000h 写入一个字节 01h;本例假定该位置可写且 FRU 按字节寻址,返回写入数量为 1。

返回到索引 ​