Start a conversation

Firmware Update + Loop Script

README


Install Firmware on Ubuntu Server

Enable root account and login as root (passwd root) (su)

nvme list (lists all nvme drives)

Open Filezilla and import firmware file in home directory


Firmware update command sequence


# nvme fw-download /dev/nvme0 --fw=C8D010302x0.ftd


# nvme fw-activate /dev/nvme0 --action=1 --slot=3


# nvme fw-download /dev/nvme0 --fw=C8D010302x0.ftd


# nvme fw-activate /dev/nvme0 --action=1 --slot=2


# nvme fw-download /dev/nvme0 --fw=C8D010302x0.ftd


# nvme fw-activate /dev/nvme0 --action=1 --slot=1


Power cycle


# nvme id-ctrl /dev/nvme0 ; check FW revision is 0103


wait 10 sec.


Power cycle



Via scripting:


for i in 0 1 2 3 4 5 6 7

do



nvme fw-download /dev/nvme"$i"n1 --fw=/home/ahead/C8D01030240.std

nvme fw-activate /dev/nvme"$i"n1 --action=1 --slot=3

nvme fw-download /dev/nvme"$i"n1 --fw=/home/ahead/C8D01030240.std

nvme fw-activate /dev/nvme"$i"n1 --action=1 --slot=2

nvme fw-download /dev/nvme"$i"n1 --fw=/home/ahead/C8D01030240.std

nvme fw-activate /dev/nvme"$i"n1 --action=1 --slot=1

nvme id-ctrl /dev/nvme"$i"n1



done

~    


chmod a+x "filename"


---> make file using vi

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Hannes Heestermans

  2. Posted
  3. Updated

Comments