Read E-label Data
更新时间: 2026/11/04
在AtomGit上查看源码Read E-label Data
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
| 26.12 | 2026/11/04 | Optimized the description of request information Read length |
Basic Information
Function Description
Queries electronic labels.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, sub command =05h |
| 2 | FRU Device ID |
| 3 | Area Number 0=Internal Use Area 1=Chassis Info Area 2=Board Info Area 3=Product Info Area 5=Board Extend E-label, Board extended electronic label 6=System Info Area 7=Internal Extend E-label, extended electronic label of the internal domain 8=Chassis Extend E-label, extended electronic label of the chassis domain 9=Product Extend E-label, extended electronic label of the Product field Others reserved |
| 4 | Field Number Area Number=0: Set Field Number to 0. Area Number=1: 0=Chassis Type 1=Chassis Part Number 2=Chassis Serial Number Area Number=2: 0=Mfg. Date/Time 1=Board Manufacturer 2=Board Product Name 3=Board Serial Number 4=Board Part Number 5=FRU File ID Area Number=3: 0=Product Manufacturer Name 1=Product Name 2=Product Part/Model Number 3=Product Version 4=Product Serial Number 5=Asset Tag 6=FRU File ID Area Number=5,7,8,9: The value of Field Number is numbered from 1. The value 1 indicates that the first record is read, the value 2 indicates that the second record is read, and so on. Area Number=6: 0=System Manufacturer Name 1=System Product Name 2=System Version 3=System Serial Number |
| 5 | Read offset |
| 6 | Read length Inband: The maximum length of the electronic label that can be read is 501 (255 + 246) bytes. When the number of bytes to be read is greater than 246, the data needs to be read for multiple times based on the read offset. The length of data to be read at a time cannot exceed 246 bytes. Outband: The maximum length of the electronic label that can be read is 500 (255 + 245) bytes. When the number of bytes to be read is greater than 245, the data needs to be read for multiple times based on the read offset. The length of data to be read at a time cannot exceed 245 bytes. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | End of List, indicating whether the current data is complete. NOTE: When the E-label data is long, the data may need to be read for multiple times. This field can be used to determine whether the data is completely read. [7]: End of list 1=last data 0=middle data [6:0]: reserved |
| 3:N | Indicates the data. The returned data may be less than or equal to the read length. |
Command Example
Query the electronic label
Request:
bash
ipmicmd -k "0f 00 30 90 05 00 00 00 01 30" smi 0Response:
text
0f 31 00 90 00 80 31