To flash the firmware update files onto X4 series Ethernet adapters with amdsfupdate:
- To update all X4 series Ethernet adapters
on the host, use the following
command:
$ amdsfupdate --sudo --writeNote: You can instead update a specific X4 series Ethernet adapter on the host. To do so, add the --adapter option to the command:$ amdsfupdate --sudo --write --adapter <interface>The amdsfupdate utility uses devlink to hand the filename to the driver, and the driver then calls the current firmware to perform the update.
- Wait for the current firmware to finish the update, viewing the progress
report from amdsfupdate. For
example:
$ amdsfupdate --sudo --write AMD Solarflare firmware update utility: v<n>.<n>.<n> enp1s0f0 pci/0000:01:00.0 Bootloader : <version currently on NIC> Firmware bundle : <version currently on NIC> enp1s0f0: will be reset during Bootloader update To continue, press Y then Enter To skip this update, press Enter Y enp1s0f0: writing Bootloader enp1s0f0: writing Firmware bundle Resetting adapter enp1s0f1 pci/0000:01:00.1 Bootloader : <version flashed onto NIC> Firmware bundle : <version flashed onto NIC> The Bootloader is up to date (>=<version in /usr/lib/firmware>) The Firmware bundle is up to date (>=<version in /usr/lib/firmware>)Note: If you press Ctrl-C it halts amdsfupdate and its progress reports, but the current firmware continues to apply the particular update that is in progress.Note: If the update fails, refer to the kernel message log for details. The error messages from the underlying devlink command are generic and can be misleading.
Now confirm that the update succeeded by checking that the firmware versions of the X4 series Ethernet adapter are as expected.