IBM Support

How to update the firmware on a 7063-CR2 HMC

How To


Summary

This document shows the procedure to update the BMC, and PNOR images on the 7063-CR2 HMC.

Objective

Explain and demonstrate the procedure to update the BMC, and PNOR firmware on the 7063-CR2 HMC.
Firmware can be downloaded from fixcentral
image-20230202100841-1

Environment

Hardware Management Console, hardware appliance model 7063-CR2.

Steps

Updating Firmware

The 7063-CR2 firmware is made up of two separate components

  • BMC - image for the Baseboard Management Controller
  • Server image - PNOR

A boot priority system, allows for the selection of a previous image to be used. It useful when there is a need to revert to a prior image.

On the OpenBMC UI, the image file that is listed at the top (for each stack, BMC, and PNOR), the image with the highest boot priority, is used the next time the device is booted. You can change the boot order for the image file by clicking the arrow icons.

Image State Definitions

  • Functional: The running image on the device.
  • Active: The image is available to boot from, but is not currently the running image. If the image is the top image in the relevant table, it becomes the functional image the next time the device is rebooted.
  • Activating: The image is being activated and becomes either Active or Failed.
  • Failed: The image failed to activate.
  • Ready: The image is ready to be activated.
  • Invalid: This image is an invalid image and cannot be activated.

The OpenBMC UI or the openbmctool commands can be used to both view or update the firmware images.

IMPORTANT: Updating the BMC and PNOR firmware images is a disruptive process for the HMC. The HMC must be powered off before updating the BMC or PNOR firmware.  It is recommended that both BMC and PNOR firmware images are updated before powering the HMC back on.  This does not affect the systems managed by the HMC.

Updating Firmware Using OpenBMC

image-20220809144009-1

1. If the BMC is reachable on the network, continue on step 6.

2. For a BMC that is not yet reachable on the network or if the system backplane was replaced, connect an Ethernet cable from a workstation to the dedicated BMC port (labeled M) on the rear of the HMC.

3. Configure the LAN interface of that workstation with the following settings:

     IP: 169.254.0.117   (this IP can be any in the 169.254.x.x range)
     SM: 255.255.0.0
4. Connect to https://mowgli.local to access the BMC Web UI and log in as user root.
5. When prompted for the password use the default root password, 0penBmc  (zero, not O)
NOTE: You are prompted to immediately change the default password.
The first prompt asks to reenter the current password, which is the default one. The next step prompts for the new password.
Simplistic passwords fail. Do not attempt to set a password containing "abc" or "123", for example. Multiple failed attempts to modify the password, results in the root user being locked. If the root user is locked, suspend further login attempts for 5 minutes (300 seconds). 
The password must:
   - Be different from the current password
   - Be 8 - 20 characters long
   - Include at least one uppercase letter, one lowercase letter, one numeric digit and it cannot contain spaces.
   - Must not be simplistic (ex. "abc", or "123").
Example of a password that would comply with the rules: 0penBmc0 (zeros instead of letter O). 
Continue on step 7.
6. Access the BMC with a web browser and log in as user "root" or another user with Administrator privileges.

7. Ensure the HMC is powered off.  See the "Server Power" status on the top of the BMC web GUI.

8. Access Server configuration -> Firmware 

The previous image shows the state before firmware update.

image-20220809144452-1

9. Scroll down on the page to locate the section to upload the firmware image.

10. Click Choose a file and browse your local file system for the location of the BMC image (ex. obmc-mowgli-op940.hmc-36.ubi.mtd.tar). 

11. Click Upload firmware

image-20220809144642-2

The Upload in progress... message is displayed

image-20220809144752-3

A confirmation message is displayed when the upload is complete.

image-20220809144931-4

12. The new image is now in a Ready state. Click Activate, under the Action column to activate it.

image-20220809145038-5

The user is presented with a confirmation panel with the options to "ACTIVATE FIRMWARE FILE WITHOUT REBOOTING BMC" and "ACTIVATE FIRMWARE FILE AND AUTOMATICALLY REBOOT BMC".

13. Select ACTIVATE FIRMWARE FILE AND AUTOMATICALLY REBOOT BMC and click Continue

image-20220809145150-6

The image state shows Activating

image-20220809145242-7

The image moves to Functional state (the running image on the device)

image-20220809145345-8

If successful, a message is displayed on the upper right of the session, showing Success! BMC is rebooting.

image-20220809145507-9

After the BMC comes back up and the UI is refreshed, the new image is now listed on the top line (first in boot priority), and the previous image is now listed second. The original second image was removed.

The BMC portion of the update is now complete.

image-20220809172418-1

The next image to update is the PNOR or Server image.

1. Scroll down on the page to locate the section to upload the firmware image.

2. Click Choose a file and browse your local file system for the location of the PNOR image (ex. mowgli-IBM-OP9_v2.5_4.140_prod.pnor.squashfs.tar).

3. Click Upload firmware

image-20220809172544-2

The Upload in progress... message is displayed

image-20220809172702-3

A confirmation message is displayed when the upload is complete.

4. The new image is now in a Ready state. Click Activate, under the Action column to activate it.

The user is presented with a confirmation panel with the options to "ACTIVATE FIRMWARE FILE WITHOUT BOOTING SERVER" and "ACTIVATE FIRMWARE FILE AND AUTOMATICALLY BOOT SERVER".

image-20220809172810-4

5. Select ACTIVATE FIRMWARE FILE AND AUTOMATICALLY BOOT SERVER and click Continue

image-20220809172952-5

The image state shows Activating

image-20220809173105-6

The image moves to Functional state (the running image on the device)

image-20220809173205-7

Click the Refresh button in the BMC UI.  After this, the new image is listed on the top line (first in boot priority) and the previous image is now listed second. Any original second image is removed (there wasn't one in this example).

The PNOR part of the update is complete.

The HMC will power on automatically after completing the PNOR update.


Updating Firmware Using openbmctool

The process of updating firmware by using the openbmctool is documented in detail in IBM Documentation.

See the following article: Updating the system firmware by using the OpenBMC tool
 


Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"7063-CR2","label":"Hardware Management Console (7063-CR2)"},"ARM Category":[{"code":"a8m0z000000GnS5AAK","label":"HMC"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
14 February 2025

UID

ibm16611249