Get Smart Provisioning Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Smart Provisioning Info

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

The BIOS queries SP information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD92h
1:3Manufacturer 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.
4Sub command, sub command=4Ch
5BIOS ID: This parameter is reserved for multi-host scenarios. In single-host scenarios, this parameter has a fixed value of 0.
6Type of the obtained information: Table 1

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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.
5Length N
6:NContent

Reference

Table 1 Parameters of SP Information Types

Function descriptionparameter selectorparameter data-getparameter data-set
Template: function description and application scenario0xMMResponse:
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).0x01Response:
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.0x02Response:
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 mode0x03Response:
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)0x04Response:
Data5: length
Data6:N: response information
Not supported
SP application version SPAPPversion0x05Response:
Data5: length
Data6:N: response information
Not supported
Customized SP OS version SPOSrevision0x06Response:
Data5: length
Data6:N: response information
Not supported
SPDriverVersion in SP0x07Response:
Data5: length
Data6:N: response information
Not supported
SPBootedFlag: indicates that the system has been booted from the SP.0x08Response:
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.0x09Response:
Data5: length
Data6:N: response information
Not supported
SP Platform Version0x0AResponse:
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 0

Response:

text
0f 31 00 db 07 00 09 00 00 40 1f

Back to Index