Updating the system firmware by using the OpenBMC tool
Learn how to update the system firmware by using the OpenBMC tool.
About this task
The system firmware is a combination of the BMC firmware and the PNOR firmware. To update the system firmware, complete the following steps:
Procedure
- Power off the operating system. Then, power off the system. To power off the system, type the
following command and press Enter:
openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> chassis power softoff
- Ensure that the system is powered off. Then, continue with the next step. To check the power
status of the system, type the following command and press Enter: openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> chassis power statusNote: The system is powered off when "Chassis Power State: Off" is displayed in the output of the command.
- To update the BMC system firmware, type the following command and press Enter: openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> firmware flash bmc -f obmcxxx.ubi.mtd.tar, where obmcxxx.ubi.mtd.tar is the name of the BMC TAR file that you obtained from the Fix Central website.Note: If your current directory is not the same as the directory of the TAR file, you must include the full directory path to the folder where the file resides.
- After the firmware flash completed message is displayed, ensure that the
system firmware is active. To check the status of the system firmware, type the following command
and press Enter: openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> fru print | grep ActivNote: The BMC system firmware is active when the output of the command displays only entries with the word "Active," and does not display any entries with the word "Activating."
- To update the PNOR system firmware, type the following command and press Enter:
openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> firmware flash pnor -f xxx.pnor.squashfs.tar, where xxx.pnor.squashfs.tar is the name of the PNOR TAR file that you obtained from the Fix Central website.
Note: If your current directory is not the same as the directory of the TAR file, you must include the full directory path to the folder where the file resides. - After the firmware flash completed message is displayed, ensure that the
system firmware is active. To check the status of the system firmware, type the following command
and press Enter: openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> fru print | grep ActivNote: The PNOR system firmware is active when the output of the command displays only entries with the word "Active," and does not display any entries with the word "Activating."
- To make the system firmware updates take effect, you must reset the BMC and boot the system to
the Petitboot menu. Complete the following steps:
- To reset the BMC remotely, enter the following command:
openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> mc reset cold
- Ensure that the BMC is in the Ready state. Then, continue with the next
step. To check the state of the BMC, type the following command and press Enter: openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> chassis power statusNote: The BMC is in the Ready state when "BMC Power State: Ready" is displayed in the output of the command.
- To power on the system, type the following command and press Enter:
openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> chassis power on
This ends the procedure.
- To reset the BMC remotely, enter the following command:
Parent topic: Getting fixes
Last updated: Thu, October 04, 2018