Get Smart Provisioning Info
更新时间: 2026/08/06
在Gitcode上查看源码Get Smart Provisioning Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
The BIOS queries SP information.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=4Ch |
| 5 | BIOS ID: This parameter is reserved for multi-host scenarios. In single-host scenarios, this parameter has a fixed value of 0. |
| 6 | Type of the obtained information: Table 1 |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | Length N |
| 6:N | Content |
Reference
Table 1 Parameters of SP Information Types
| Function description | parameter selector | parameter data-get | parameter data-set |
|---|---|---|---|
| Template: function description and application scenario | 0xMM | Response: Data5: length Data6:N: response information 0: function 0 1: function 1 | Request: Data7: length of the set information Data8:N: setting content 0: function 0 1: function 1 |
| Maximum size of the folder to be updated in the USB flash drive (unit: byte). | 0x01 | Response: Data5: length Data6:N: response information | Not supported |
| SpConfigFileReady: indicates that the configuration or upgrade package of the USB flash drive is delivered to the NAND flash drive. | 0x02 | Response: Data5: length Data6:N: response information | Request: Data7: length of the set information Data8:N: setting content |
| SPStartmode flag indicating that the USB flash drive enters the SP mode | 0x03 | Response: Data5: length Data6:N: response information | Not supported |
| Interval between the time when the USB flash drive completes the SP operation (configuration and upgrade) and the time when the host system is reset (SysRestartDelay) | 0x04 | Response: Data5: length Data6:N: response information | Not supported |
| SP application version SPAPPversion | 0x05 | Response: Data5: length Data6:N: response information | Not supported |
| Customized SP OS version SPOSrevision | 0x06 | Response: Data5: length Data6:N: response information | Not supported |
| SPDriverVersion in SP | 0x07 | Response: Data5: length Data6:N: response information | Not supported |
| SPBootedFlag: indicates that the system has been booted from the SP. | 0x08 | Response: Data5: length Data6:N: response information | Request: Data7: length of the set information Data8:N: setting content |
| Check whether the SP program SPDataExist exists in the BMC. | 0x09 | Response: Data5: length Data6:N: response information | Not supported |
| SP Platform Version | 0x0A | Response: Data5: length Data6:N: response information 0: unknown platform 1: Kunpeng platform 2: TaiShan platform Note: The logic for determining the information type is as follows: In the SP 1.9.0 and later versions, the spinfo.ini file is added to the /data/sp/spforbmc/spinfo directory. If the sp_platform=Kunpeng field exists, the system determines that the SP is a Kunpeng SP and returns 1. Otherwise, the system determines that the platform is a TaiShan SP and returns 2. If the platform is an earlier version SP and the spinfo.ini file does not exist, the system determines that the platform is an unknown platform and returns 0. | Not supported |
Command Example
Request:
bash
ipmicmd -k "0f 00 30 92 db 07 00 4c 00 01" smi 0Response:
text
0f 31 00 db 07 00 09 00 00 40 1f