When upgrading the BL and BMC with activate command via KCS (e.g. # ipmitool hpm upgrade xxx.img activate), the following error will pop up.
Performing activation stage:
Waiting firmware activation...Failed
Getting rollback status...
Error getting rollback status
compcode=0xd5: Command not supported in present state
Firmware upgrade procedure failed
1. break down the upgrade and activation into 2 steps with IPMITool 1.18.18 version or later.
# ipmitool hpm upgrade xxx.img
# ipmitool hpm activate
2. run the upgrade procedures with IPMITool 1.18.15 version.
This problem is caused by different the behavior of waiting for the activation during BMC reboot between IPMITool version 1.18.15 and 1.18.18.
The HPM update status command (KCS command) will be sent by IPMITool 1.18.18 every 15 seconds without filtering any invalid response data until the BMC is ready for the process of KCS commands. Therefore, the response data will be misled into the BMC self-test result. The mechanism of sending 15 seconds for the HPM update status command will not be run while running the activation command separately or running the earlier IPMITool version.
Note: for Internal Reference: