UpdateBmc
Updates the BMC firmware image on the managed system.
Syntax
OOB and In-Band
sum [[-i <IP or host name> | -I Redfish_HI] -u <username> -p <password>] -c UpdateBmc --file <filename> [--overwrite_cfg] [--overwrite_sdr] [--backup] [--forward] [--overwrite_ssl]
Remote In-Band
sum [-I Remote_INB | -I Remote_RHI -u <username> -p <password>] --oi <OS IP address> --ou <OS username> [--op <OS password> | --os_key <OS private key> --os_key_pw <OS private key password>] -c UpdateBmc --file <filename> [--overwrite_cfg] [--overwrite_sdr] [--backup] [--forward] [--overwrite_ssl] [--remote_sum <remote sum path>]
Options
--file <filename>: BMC firmware image file (e.g., Supermicro_BMC.rom or bmc_image.tar for OpenBMC)--overwrite_cfg: Overwrites the current BMC configuration using factory default values from the image file--overwrite_sdr: Overwrites current BMC SDR data--backup: Backs up the current BMC image on the managed system (X12/H12 and later RoT platforms only)--forward: Confirms the Rollback ID and upgrades to the next revision--overwrite_ssl: Overwrites SSL certificates--remote_sum <remote sum path>: Path to remote SUM executable (for remote in-band)
Examples
OOB
[SUM_HOME]# ./sum -i 192.168.34.56 -u ADMIN -p PASSWORD -c UpdateBmc --file Supermicro_BMC.rom
In-Band
[SUM_HOME]# ./sum -c UpdateBmc --file Supermicro_BMC.rom
With Redfish Host Interface
[SUM_HOME]# ./sum -I Redfish_HI -u ADMIN -p PASSWORD -c UpdateBmc --file Supermicro_BMC.rom
Remote In-Band
[SUM_HOME]# ./sum -I Remote_INB --oi 192.168.34.56 --ou root --op 111111 -c UpdateBmc --file Supermicro_BMC.rom
Notes
- BMC will be reset after updating
- BMC configurations are preserved by default unless
--overwrite_cfgis used - DO NOT flash BIOS and BMC firmware images at the same time
- Does not support AMI BMC FW (use SUM 1.4.2 for OOB with AMI)
- Signed BMC update is supported
- For X12/H12 and later platforms (except H12 non-RoT), in-band update must use Redfish Host Interface
--backupoption only supported on X12/H12 and later RoT platforms--skip_unknownoption skips invalid tables and settings in BMC configuration
Updating BMC Firmware with Preservation of BMC Settings
To update BMC firmware while preserving settings and avoiding backward compatibility issues:
-
Update BMC firmware (preserves configuration by default):
bash # In-band ./sum -c UpdateBmc --file bmc.bin # OOB ./sum -i <BMC IP> -u <BMC username> -p <BMC password> -c UpdateBmc --file bmc.bin -
Dump new BMC configuration:
bash # In-band ./sum -c GetBmcCfg --file bmccfg.xml --overwrite # OOB ./sum -i <BMC IP> -u <BMC username> -p <BMC password> -c GetBmcCfg --file bmccfg.xml --overwrite -
Modify the BMC configuration file as needed (e.g., change LAN interface settings)
-
Apply the modified configuration:
bash # In-band ./sum -c ChangeBmcCfg --file bmccfg.xml --overwrite # OOB ./sum -i <BMC IP> -u <BMC username> -p <BMC password> -c ChangeBmcCfg --file bmccfg.xml