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

  1. 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

  2. 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 status
    Note: The system is powered off when "Chassis Power State: Off" is displayed in the output of the command.
  3. 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.
  4. 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 Activ
    Note: 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."
  5. 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.
  6. 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 Activ
    Note: 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."
  7. 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:
    1. 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

    2. 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 status
      Note: The BMC is in the Ready state when "BMC Power State: Ready" is displayed in the output of the command.
    3. 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.




Last updated: Thu, October 04, 2018