Get File Checksum From iMana
更新时间: 2026/08/06
在Gitcode上查看源码Get File Checksum From iMana
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the iMana file checksum.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 94h |
| 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 = 3Eh |
| 5 | Operation type: 01h-get file status 02h-get SHA256 checksum |
| 6 | Resource ID. For details, see 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 | Upload progress. [7]-status 0h=reported: The checksum has been reported. 1h=unreported: The checksum is not reported. [6:0]: reserved |
| *6:7 | Length: length of the returned data. LSB first If the value of Operation type is 01h, this field does not exist. |
| *8:N | Checksum data (hexadecimal). If Operation type is set to 01h, this field is unavailable. |
Reference Information
Table 1 List of resource IDs of files that support file checksum.
| ID | file name | upload | download | Note |
|---|---|---|---|---|
| 00h | bios display0.ini | Y | Y | - |
| 01h | bios option0.ini | Y | Y | - |
| 02h | bios changed0.ini | Y | Y | - |
| 03h | bmc debug info | N | Y | One-click information collection file |
| 04h | Firmware | Y | N | Includes the BMC, BIOS, and CPLD firmware upgrade images. |
| 05h | bios netconfig.ini | Y | Y | - |
| 06h | bmc sol.dat | N | Y | - |
| 07h | bmc blackbox.tar | N | Y | - |
| 08h | BIOS ClpConfig.ini | N | Y | - |
| 09h | BIOS ClpResponse.ini | Y | N | - |
| 0ah | BMA systeminfo.txt | Y | Y | - |
| 0bh | powerview.txt | N | Y | - |
| 0ch | bios configsync.ini | Y | Y | This port is used to synchronize the BIOS setup configuration between the active and standby nodes of the 9032. During the startup, the BIOS setup menu configuration of the active node is sent to the BMC of the active node. The BMC of the active node synchronizes the configuration to the BMC of the standby node. The BIOS of the standby node obtains the configuration from the BMC of the standby node and updates the configuration. |
| 0dh | bmc sshpublickey | Y | N | - |
| 0eh | SSL server certificate | Y | N | - |
| 0fh | Import and export configuration (BMC/BIOS) | Y | Y | - |
| 10h | CSR of the server certificate | N | Y | - |
| 11h | One-click information collection | N | Y | - |
| 12h | Root certificate of the LDAP server | Y | N | - |
| 13h | Two-factor authentication root certificate | Y | N | - |
| 14h | Client certificate of the two-factor authentication user | Y | N | - |
| 15h | Root certificate of the Syslog server | Y | N | - |
| 16h | Syslog local certificate | Y | N | - |
| 18h | NTP group key | Y | N | - |
| 19h | bios registry.json | Y | Y | BIOS setting menu registration file |
| 1Ah | bios currentvalue.json | Y | Y | Current value file of the BIOS setting menu item |
| 1Bh | bios setting.json | Y | Y | File for modifying the expected value of the BIOS setting menu item |
| 1Ch | bios result.json | Y | Y | Modification result file of the BIOS setting menu |
| 1Dh | weakdictionary | Y | Y | How Do I Use the Weak Password Dictionary? |
| 1Eh | CMES.dat | Y | N | Part number CMES file |
Command Example
Obtain the iMana file checksum.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN