NVIDIA BlueField BMC Software

Appendix - BMC and ERoT Upgrade Process for BlueField-2

To upgrade BlueField BMC firmware on a BlueField-2 device, follow this procedure:

  1. Download openbmctool v1.22 and resolve dependencies.

    • sudo pip3 install paramiko

    • sudo pip3 install scp

  2. Trigger BMC update.

    python3 openbmctool.py -H <bmc_ip> -U root -P <password> firmware flash bmc -f <path-to-signed-bmc-image>
    

    After initiating the BMC firmware secure update, a new task is created. Example:

    Attempting login...
    Uploading file to BMC
    Upload complete.
    Firmware activation is in progress. Please wait for activation task id="0" to get completed before rebooting the bmc.
    User root has been logged out
    

    BMC firmware update takes 15-20 mins.

  3. Track the progress of the update by using the task Id received in the response above (i.e., 0) in your query and monitoring the value of the task’s TaskProgress field.

    python3 openbmctool.py -H <bmc_ip> -U root -P <password> task status -i <task_Id>
    

    Before proceeding to other operations. Keep running this command until it outputs: 

    TaskState="Completed"
    TaskStatus="OK"
    TaskProgress="100"
    
  4. Reset/reboot the BMC.

    This step may be skipped if you intend to perform eROT update.

  5. To query the installed version, run:

    python3 openbmctool.py -H <bmc_ip> -U root -P <password> firmware running_version
    

    The BlueField-2 BMC takes about 2.5 minutes to complete boot.

    Wait a few seconds before attempting to log back into the BMC as it loses connection during and shortly after reboot.

  6. Trigger eROT update.

    python3 openbmctool.py -H <bmc_ip> -U root -P <password> apfirmware flash cec -f <path-to-signed-CEC-OTA-image-file>
    

    After initiating the eROT update, the following indication is provided: 

    Uploading firmware image: 100.00%
    Firmware update for cec triggered successfully.
    
  7. Perform host power cycle for the eROT update to take effect: 

    sudo ipmitool power cycle
    

Last updated: