Under Construction

Updating the Firmware

The 7063-CR2 HMC has two different components with firmware. On the one hand the baseboard management controller and on the other hand the power hypervisor. To update the firmware versions, the HMC must be shut down. The BMC firmware is updated first, then the PNOR firmware. The HMC can then be started again.

Warning: The update process as shown below is valid for the firmware versions obmc-mowgli-op940.hmc-24.ubi.mtd.tar and IBM-mowgli-ibm-OP9_v2.5_4.125-prod. For later firmware versions it is possible that the update process is different. Therefore, when updating firmware, it is always essential to read the manufacturer’s description first!

Before starting the firmware update, the HMC must be shut down. This could be done with the LPAR tool and “hmc shutdown“, but since the OpenBMC GUI is used for the firmware update anyway, it can also be done via the OpenBMC GUI.

The HMC can be shut down via “Server control” and “Server power operations“.

OpenBMC GUI - Server control

The server (HMC) should be shut down in an orderly manner. Therefore select the option “Orderly – OS shuts down, then server shuts down” (default) and then click on the “Shut down” button.

OpenBMC GUI - Server power operations
OpenBMC GUI - Server power operations

A dialog to confirm the shutdown is displayed. The “Shutdown” button must be clicked in the dialog to start the orderly shutdown.

OpenBMC GUI - server shutdown confirmation
OpenBMC GUI - server shutdown confirmation

Shutting down the server (HMC) takes some time. During this time, no power operations are available in the OpenBMC GUI. The status of the server (HMC) is displayed as “Unreachable“.

OpenBMC GUI - server shutdown running
OpenBMC GUI - server shutdown running

Once the shutdown is complete, the status of the server (HMC) in the display changes to “Off” and the “Power on” operation is displayed.

OpenBMC GUI - server shutdown finished

After the HMC has been shut down, the BMC firmware update can start. To do this, the “Firmware” menu item must be selected under “Server configuration”.

OpenBMC GUI - Server configuration
OpenBMC GUI - Server configuration

In the firmware view of the OpenBMC GUI, the BMC firmware can be seen in the upper part. The version currently in use is marked “Functional” and is usually the first entry in the list.

The arrows can be used to change the order of the firmware versions for the next boot of the BMC.

OpenBMC GUI - Firmware

To upload a firmware image (BMC or PNOR) you must scroll to the end of the page and press the “Choose a file” button.

OpenBMC GUI - upload bmc image file
OpenBMC GUI - upload bmc image file

The new BMC firmware image can then be selected in the displayed file upload dialog. The selection must be confirmed by pressing “Open“.

OpenBMC GUI - choose BMC firmware image

The selected BMC firmware image can then be uploaded to the BMC by pressing “Upload firmware“.

OpenBMC GUI - upload BMC firmware image
OpenBMC GUI - upload BMC firmware image

Uploading the BMC firmware image may take a minute or two. It will then be visible in the top area under “BMC images”.

In order to use the new firmware version, it must be activated and the BMC must be rebooted. This can be done by pressing the “Activate” action.

OpenBMC GUI - activate BMC firmware image

The activation of the new BMC firmware must be confirmed. There are two choices here:

    • Activate the firmware without rebooting the BMC.
    • Activate the firmware and automatically reboot the BMC.

The BMC must be rebooted to use the new firmware. Therefore, the second selection should be made accordingly and confirmed with “Continue”.

OpenBMC GUI - activation confirmation for BMC firmware

Activating the new BMC firmware and rebooting the BMC may take some time. The “Activating” state is displayed in the OpenBMC GUI.

OpenBMC GUI - BMC firmware is activating

After the BMC has rebooted, the status of the new BMC firmware changes to “Functional“.

The BMC firmware update is now complete.

OpenBMC GUI - new BMC firmware is functional
OpenBMC GUI - new BMC firmware is functional

Next, the PNOR firmware (server firmware) must be updated.

To upload a firmware image, the “Choose a file” button must be pressed again.

OpenBMC GUI - PNOR firmware upload
OpenBMC GUI - PNOR firmware upload

The new PNOR firmware image can then be selected in the displayed file upload dialog. The selection must be confirmed by pressing “Open“.

OpenBMC GUI - choose PNOR firmware image
OpenBMC GUI - choose PNOR firmware image

The selected PNOR firmware image can then be uploaded to the BMC by pressing “Upload firmware”.

OpenBMC GUI - upload selected PNOR firmware image
OpenBMC GUI - upload selected PNOR firmware image

The uploaded PNOR firmware image is listed under “Server images” and can be activated by pressing “Activate“.

OpenBMC GUI - activate PNOR firmware image

The activation of the new PNOR firmware must be confirmed. There are two choices here:

    • Activate the firmware without rebooting the server.
    • Activate the firmware and automatically reboot the server.

The server must be rebooted to use the new firmware. Therefore, the second selection should be made accordingly and confirmed with “Continue”.

OpenBMC GUI - PNOR firmware activation confirmation

After a while the new firmware will be in active use (Functional).

OpenBMC GUI - new PNOR firmware is functional
OpenBMC GUI - new PNOR firmware is functional

After the firmware updates are completed, the HMC (server) can be started again. To do this, “Server control” and then “Server power operations” must be selected.

The HMC (Server) state should still be Off. In order to start the HMC (server) again, the “Power on” button must be clicked.

OpenBMC GUI - server power on
OpenBMC GUI - server power on

Shortly after the HMC (server) is started, the state is updated to “Running” in the OpenBMC GUI. However, the HMC boot usually takes a little longer.

OpenBMC GUI - server up and running
OpenBMC GUI - server up and running

This completes the 7063-CR2 HMC firmware update.