Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 684 Bytes

how-to-upgrade-nvme-ssd-firmware-on-linux.md

File metadata and controls

43 lines (31 loc) · 684 Bytes

How to upgrade NVMe SSD firmware on Linux

  1. Install NVMe CLI:
$ git clone https://github.com/linux-nvme/nvme-cli
$ make
$ make install
  1. Check your current firmware version:
$ sudo nvme id-ctrl /dev/nvme0 | grep fr
fr      : xxxx
frmw    : 0x17
  1. Download the firmware update:
$ sudo nvme fw-download /dev/nvme0 --fw=/path/to/nvme.fw
  1. Commit the update:
$ sudo nvme fw-commit /dev/nvme0 --slot=0 --action=1
  1. Reboot:
$ sudo reboot
  1. Check if the firmware update was successful:
$ sudo nvme id-ctrl /dev/nvme0 | grep fr
fr      : yyyy
frmw    : 0x17