cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Petra35
Fanfold Paper
Posts: 19
Registered: ‎01-21-2018
Location: US
Views: 1,874
Message 21 of 26

Re: Upgrade NVMe SSD firmware to FWNV15 (X1 Carbon 5th Gen)

Upgrading/Downgrading nvme disk firmware on linux

 

ATTENTION!!! MAKE BACKUPS! DO IT AT YOUR OWN RISK!

 

1. Install nvme-cli package https://github.com/linux-nvme/nvme-cli#distro-support

2. Invoke following commands:

 

Assuming your disk is at /dev/nvme0:

sudo nvme fw-download /dev/nvme0 --fw=/path/to/firmware/file.sig

 

For nvme-cli before 1.5:

sudo nvme fw-activate /dev/nvme0 --slot=0 --action=2

 

For nvme-cli 1.5 and later:

sudo nvme fw-commit /dev/nvme0 --slot=0 --action=2

 

3. Reboot

4. Check firmware version:

sudo nvme id-ctrl /dev/nvme0

 

For more info look at nvme-cli manpags and docs:

https://github.com/linux-nvme/nvme-cli/blob/master/Documentation/nvme-fw-download.txt

https://github.com/linux-nvme/nvme-cli/blob/master/Documentation/nvme-fw-commit.txt

 

Petra35
Fanfold Paper
Posts: 19
Registered: ‎01-21-2018
Location: US
Views: 1,754
Message 22 of 26

Re: Upgrade NVMe SSD firmware to FWNV15 (X1 Carbon 5th Gen)

If above doesn't work, try:

sudo nvme fw-commit /dev/nvme0 --slot=0 --action=1

jnWibble
Punch Card
Posts: 32
Registered: ‎03-27-2018
Location: GB
Views: 1,594
Message 23 of 26

Re: Upgrade NVMe SSD firmware to FWNV15 (X1 Carbon 5th Gen) on Linux

This is all interesting, and promising, but a little worrying! More particularly, the files I've managed to download do not end with .sig. For they are these:

 

NVME_End2End_Lenovo_512_dvt_OPAL_Encrypt_and_Signature.bin

NVME_End2End_Lenovo_256_dvt_OPAL_Encrypt_and_Signature.bin

 

These are the files in the 'Lenovo' folder and I do think I have a (512GB) Lenovo SSD and not a Toshiba, Intel or Samsung one. Only files in the Toshiba folder have a 'sig' extension. Also, I'd like to find out (1) the version of the firmware I have and (2) the version of the firmware I'll be getting (!).

 

 

Petra35
Fanfold Paper
Posts: 19
Registered: ‎01-21-2018
Location: US
Views: 1,529
Message 24 of 26

Re: Upgrade NVMe SSD firmware to FWNV15 (X1 Carbon 5th Gen) on Linux

Yes, .sig files are for Toshiba, for Lenovo there are .bin files which you posted.

 

You can check current firmware version with:

sudo nvme id-ctrl /dev/nvme0 | grep fr

 

To see what firmware version is included in drivers downloaded from Lenovo you may look into Readme.txt

jnWibble
Punch Card
Posts: 32
Registered: ‎03-27-2018
Location: GB
Views: 1,498
Message 25 of 26

Re: Upgrade NVMe SSD firmware to FWNV15 (X1 Carbon 5th Gen) on Linux

Thank you. That's helpful.

 

EDIT: I should perhaps add that in the meantime I had used a Windows Pre-installation Environment to try to update the firmware; I discovered - and has just now verified through the method you gave - that I had the most recent firmware anyway.

SkOrPn
Paper Tape
Posts: 1
Registered: ‎06-23-2013
Location: US
Views: 783
Message 26 of 26

Re: Upgrade NVMe SSD firmware to FWNV15 (X1 Carbon 5th Gen)

@Petra35

 

Will this method work on say Manjaro on any machine? I have a DIY PC using an Asrock AB350 Pro4 (Ryzen 5 2600X) and the Linux OS is running on a Samsung SM961 NVMe 256GB SSD. It was pulled from a early 2016 Lenovo, Dell or HP laptop, exact model unknown. An entire group of people have been trying to figure this out for two years now, how to update their firmware on an Samsung OEM ssd like this.

 

Is this cli method above, machine brand/model agnostic? This SSD has had many new firmware's including this one just last week.

 

https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-yoga-series-laptops/thinkp...

Check out current deals!


Shop current deals

Top Kudoed Authors