GPU 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 GPU tray.
# Define target platform as DGX
TargetPlatform: 'DGX'
# Update the path to firmware update file
FWUpdateFilePath:
- "nvfw_DGX-HGX-B300x8_0006_251030.1.1.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 to update entire GPU Tray
UpdateParametersTargets:
- "/redfish/v1/UpdateService/FirmwareInventory/HGX_0"
# 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: DGXB300
Part number: 965-24387-0303-000
Serial number: 1943925000010
Packages: ['HGX-B300x8_0006_251030.1.1']
Connection Status: Successful
Firmware Devices:
AP Name Sys Version Pkg Version Up-To-Date
------- ----------- ----------- ----------
CPLDBACK_0 0.1.0.7 N/A No
CPLDDCSM_0 0.1.0.9 N/A No
CPLDE1SBP_0 0.1.0.5 N/A No
CPLDMB_0 0.1.2.7 N/A No
CX7NIC_0 32.43.2402 N/A No
CX7NIC_1 32.43.2402 N/A No
EROT_BIOS_0 00.04.0061.0000_n04 N/A No
EROT_BMC_0 00.04.0061.0000_n04 N/A No
HGX_FW_BMC_0 B3-2509-05.0 B3-2509-05.0 Yes
HGX_FW_ConnectX_0 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_1 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_2 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_3 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_4 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_5 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_6 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_7 40.46.5500 40.46.5500 Yes
HGX_FW_ConnectX_SMA_0 0011.00.0265.0000 0011.00.0265.0000 Yes
HGX_FW_ConnectX_SMA_1 0011.00.0265.0000 0011.00.0265.0000 Yes
HGX_FW_ConnectX_SMA_2 0011.00.0265.0000 0011.00.0265.0000 Yes
HGX_FW_ConnectX_SMA_3 0011.00.0265.0000 0011.00.0265.0000 Yes
HGX_FW_ERoT_BMC_0 01.04.0031.0000_n04 01.04.0031.0000_n04 Yes
HGX_FW_ERoT_FPGA_0 01.04.0031.0000_n04 01.04.0031.0000_n04 Yes
HGX_FW_ERoT_NVLinkManagementNIC_0 01.04.0031.0000_n04 01.04.0031.0000_n04 Yes
HGX_FW_ERoT_NVSwitch_0 01.04.0031.0000_n04 01.04.0031.0000_n04 Yes
HGX_FW_ERoT_NVSwitch_1 01.04.0031.0000_n04 01.04.0031.0000_n04 Yes
HGX_FW_FPGA_0 1.54 1.54 Yes
HGX_FW_GPU_0 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_1 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_2 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_3 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_4 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_5 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_6 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_GPU_7 97.10.52.00.17 97.10.52.00.17 Yes
HGX_FW_NVLinkManagementNIC_0 28.46.5500 28.46.5500 Yes
HGX_FW_NVSwitch_0 35_2014_4716 35_2014_4716 Yes
HGX_FW_NVSwitch_1 35_2014_4716 35_2014_4716 Yes
HGX_FW_SXM_SMA_0 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_1 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_2 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_3 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_4 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_5 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_6 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_FW_SXM_SMA_7 0004.00.0257.0002 0004.00.0257.0002 Yes
HGX_InfoROM_GPU_0 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_1 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_2 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_3 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_4 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_5 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_6 G540.0216.00.03 N/A No
HGX_InfoROM_GPU_7 G540.0216.00.03 N/A No
HostBIOS_0 01.00.05 N/A No
HostBMC_0 00.09.07 N/A No
PCIeSwitch_0 0.0.8 N/A No
PCIeSwitch_1 1.0.8 N/A No
PSU_0 0105.0105 N/A No
PSU_10 0105.0105 N/A No
PSU_11 0105.0105 N/A No
PSU_1 0105.0105 N/A No
PSU_2 0105.0105 N/A No
PSU_3 0105.0105 N/A No
PSU_4 0105.0105 N/A No
PSU_5 0105.0105 N/A No
PSU_6 0105.0105 N/A No
PSU_7 0105.0105 N/A No
PSU_8 0105.0105 N/A No
PSU_9 0105.0105 N/A No
------------------------------------------------------------------------------------------------------------------------
Error Code: 0
To update the GPU tray, specify the configuration file with the -c flag or the --config option
with the update_fw command.
$ nvfwupd -c config.yaml update_fw
Updating ip address: ip=1.1.1.1
FW package: ['nvfw_DGX-HGX-B300x8_0006_251030.1.1.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/10 was created.", "MessageArgs": ["/redfish/v1/TaskService/Tasks/10"], "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: 10
Wait for Firmware Update to Start...
TaskState: Running
PercentComplete: 20
TaskStatus: OK
TaskState: Running
PercentComplete: 40
TaskStatus: OK
TaskState: Completed
PercentComplete: 100
TaskStatus: OK
Firmware update successful!
Overall Time Taken: 0:10:15
Update successful. Perform activation steps for new firmware to take effect.
------------------------------------------------------------------------------------------------------------------------
Error Code: 0