Motherboard Tray Sample Configuration#

Alternatively, firmware update parameters can be provided via a YAML configuration file instead of the command line. The following example shows the basic structure for updating a single motherboard tray.

# Define target platform as DGX
TargetPlatform: 'DGX'

# Update the path to firmware update file
FWUpdateFilePath:
  - "nvfw_DGX_0005_250415.1.1_dbg-signed.fwpkg"

# Replace BMC_IP with BMC IP Address
# Replace RF_USERNAME with BMC Redfish Username Credential
# Replace RF_PASSWORD with BMC Redfish Password Credential
BMC_IP: "1.1.1.1"
RF_USERNAME: "username"
RF_PASSWORD: "password"

FwUpdateMethod: "MultipartHttpPushUri"

# Update Parameters set to update entire MB Tray
UpdateParametersTargets: {}

# Disable Sanitize Log, disabling Sanitize Log leads to print system IP and user credential to the logs and screen
SANITIZE_LOG: False

To compare component versions, specify the configuration file with the -c flag or the --config option and the show_version command.

$ nvfwupd -c config.yaml show_version

System Model: DGXB200
Part number: 965-24387-0017-000
Serial number: 1662324000131
Packages: ['DGX_0005_250415.1.1']
Connection Status: Successful

Firmware Devices:
AP Name                                  Sys Version                    Pkg Version                    Up-To-Date
-------                                  -----------                    -----------                    ----------
CPLDMB_0                                 0.2.1.9                        0.2.1.9                        Yes
CPLDMID_0                                0.2.1.3                        0.2.1.4                        No
CX7NIC_0                                 28.43.2026                     32.43.2024                     No
CX7NIC_1                                 28.43.2026                     32.43.2024                     No
CX7_0                                    28.43.2026                     N/A                            No
CX7_1                                    28.43.2026                     N/A                            No
CX7_2                                    28.43.2026                     N/A                            No
CX7_3                                    28.43.2026                     N/A                            No
CX7_4                                    28.43.2026                     N/A                            No
CX7_5                                    28.43.2026                     N/A                            No
CX7_6                                    28.43.2026                     N/A                            No
CX7_7                                    28.43.2026                     N/A                            No
EROT_BIOS_0                              00.04.0056.0000_n00            00.04.0058.0000_n00            No
EROT_BMC_0                               00.04.0056.0000_n00            00.04.0058.0000_n00            No
HGX_FW_BMC_0                             25.02-1-ga18                   N/A                            No
HGX_FW_ERoT_BMC_0                        01.04.0018.0000_n04            N/A                            No
HGX_FW_ERoT_FPGA_0                       01.04.0018.0000_n04            N/A                            No
HGX_FW_ERoT_NVLinkManagementNIC_0        01.04.0018.0000_n04            N/A                            No
HGX_FW_ERoT_NVSwitch_0                   01.04.0018.0000_n04            N/A                            No
HGX_FW_ERoT_NVSwitch_1                   01.04.0018.0000_n04            N/A                            No
HGX_FW_FPGA_0                            1.85                           N/A                            No
HGX_FW_GPU_SXM_1                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_2                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_3                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_4                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_5                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_6                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_7                         97.00.A3.00.00                 N/A                            No
HGX_FW_GPU_SXM_8                         97.00.A3.00.00                 N/A                            No
HGX_FW_NVLinkManagementNIC_0             28.45.0350                     N/A                            No
HGX_FW_NVSwitch_0                        35_2014_1680                   N/A                            No
HGX_FW_NVSwitch_1                        35_2014_1680                   N/A                            No
HGX_FW_PCIeRetimer_0                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_1                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_2                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_3                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_4                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_5                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_6                     2.20.21                        N/A                            No
HGX_FW_PCIeRetimer_7                     2.20.21                        N/A                            No
HGX_InfoROM_GPU_SXM_1                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_2                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_3                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_4                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_5                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_6                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_7                    G525.0200.00.02                N/A                            No
HGX_InfoROM_GPU_SXM_8                    G525.0200.00.02                N/A                            No
HostBIOS_0                               01.06.03                       01.05.05                       Yes
HostBMC_0                                25.02.12                       25.02.12                       Yes
PCIeRetimer_0                            2.07.19                        2.07.19                        Yes
PCIeRetimer_1                            2.07.19                        2.07.19                        Yes
PCIeSwitch_0                             0.0.7                          0.0.7                          Yes
PCIeSwitch_1                             1.0.7                          1.0.7                          Yes
PSU_0                                    0204.0201.0204                 0204.0201.0204                 Yes
PSU_1                                    0204.0201.0204                 0204.0201.0204                 Yes
PSU_2                                    0204.0201.0204                 0204.0201.0204                 Yes
PSU_3                                    0204.0201.0204                 0204.0201.0204                 Yes
PSU_4                                    0204.0201.0204                 0204.0201.0204                 Yes
PSU_5                                    0204.0201.0204                 0204.0201.0204                 Yes
------------------------------------------------------------------------------------------------------------------------
Error Code: 0

To update the motherboard tray, specify the configuration file with the -c flag or the --config option and the update_fw command.

$ nvfwupd -c config.yaml update_fw

Updating ip address: ip=1.1.1.1
FW package: ['nvfw_DGX_0005_250415.1.1_dbg-signed.fwpkg']
Ok to proceed with firmware update? <Y/N>
y
{"@odata.type": "#UpdateService.v1_11_0.UpdateService", "Messages": [{"@odata.type": "#Message.v1_0_8.Message", "Message": "A new task /redfish/v1/TaskService/Tasks/6 was created.", "MessageArgs": ["/redfish/v1/TaskService/Tasks/6"], "MessageId": "Task.1.0.New", "Resolution": "None", "Severity": "OK"}, {"@odata.type": "#Message.v1_0_8.Message", "Message": "The action UpdateService.MultipartPush was submitted to do firmware update.", "MessageArgs": ["UpdateService.MultipartPush"], "MessageId": "UpdateService.1.0.StartFirmwareUpdate", "Resolution": "None", "Severity": "OK"}]}
FW update started, Task Id: 6
Wait for Firmware Update to Start...
    TaskState: Running
    PercentComplete: 45
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 47
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 51
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 52
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 53
    TaskStatus: OK
    TaskState: Running
    ...
    TaskState: Running
    PercentComplete: 93
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 94
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 95
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 96
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 97
    TaskStatus: OK
    TaskState: Running
    PercentComplete: 98
    TaskStatus: OK
    TaskState: Completed
    PercentComplete: 100
    TaskStatus: OK
    Firmware update successful!
Overall Time Taken: 0:31:33
Update successful. Perform activation steps for the new firmware to take effect.
------------------------------------------------------------------------------------------------------------------------
Error Code: 0