English Community

ThinkPad NotebooksThinkPad: X Series Laptops
All Forum Topics
Options

12 Posts

07-18-2017

AT

48 Signins

328 Page Views

  • Posts: 12
  • Registered: ‎07-18-2017
  • Location: AT
  • Views: 328
  • Message 1 of 27

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

2017-07-19, 14:32 PM

There is a new firmware release (FWNV15) for the NVMe SSD of the X1 Carbon 5th. I'm wondering if there is a way to perform the upgrade on a machine with no Windows installed on the internal SSD?

 

I've installed Ubuntu on the NVMe SSD and have a external USB Drive with Windows 10.

 

I tried to run the Firmware Update Utility on the "external" Windows 10 but no luck so far. Windows reboots and after it's up again the utility just shows some generic error message.

 

Also, there doesn't seem to be a booteable ISO.

 

Any recommendations on how to upgrade the firmware with my setup? :)

 

Moderator Note: Edited subject to match content.

Solved! See the solution
Reply
Options

12 Posts

07-18-2017

AT

48 Signins

328 Page Views

  • Posts: 12
  • Registered: ‎07-18-2017
  • Location: AT
  • Views: 328
  • Message 2 of 27

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

2017-07-20, 12:33 PM

The upgrade utility sometimes fails before it reboots windows with a message like "can't initializie linux system".

 

So I investigated further and found that the updater in fact is an ELF binary :)

 

$ file fwupdater_i686_Win10_LPMoff
fwupdater_i686_Win10_LPMoff: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.8.13, not stripped

 

Which also seems to be pretty easy to use:

 

$ ./fwupdater_i686_Win10_LPMoff
PROGRESS --- start firmware update.
Usage  ./fwupdater_i686_Win10_LPMoff <Model> <Serial> <Firmware> [Option]
  Model    : Drive Model Name.(Mandatory)
  Serial   : Drive Serial Number.(Mandatory)
  Firmware : Firmware Image file path.(Mandatory)
  Option   : Additional Option string starts with `-'.(Optional)
PROGRESS --- completed with status(8).

 

And the necessary info which firmware to use is in a file called fwwinsd.pro:

 

$ cat fwwinsd.pro
"THNSF5512GPUK TO","5KLA5102","5KLA5104","TINYCORE","fwupdater_i686_Win10_LPMoff","5KLA5104_NVME.sig","L","TOSHIBA"
"THNSF5512GPUK TO","5KLA5103","5KLA5104","TINYCORE","fwupdater_i686_Win10_LPMoff","5KLA5104_NVME.sig","L","TOSHIBA"

 

However, I'm not absolutely convinced I'm brave enough to run this utility :)

 

Is anyone from Lenovo in this forum who is willing to confirm my findings? :)

Reply
Options

6512 Posts

10-29-2009

NC

17651 Signins

162009 Page Views

  • Posts: 6512
  • Registered: ‎10-29-2009
  • Location: NC
  • Views: 162009
  • Message 3 of 27

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

2017-07-20, 14:50 PM

Current firmware update method assumes you have Win10 installed on the SSD itself.  So I don't think booting Win10 on USB, and flashing from there, can be successful with this current design.  I will ask SSD team to see if they have any comment about flashing directly from within Linux.

Reply
Options

6512 Posts

10-29-2009

NC

17651 Signins

162009 Page Views

  • Posts: 6512
  • Registered: ‎10-29-2009
  • Location: NC
  • Views: 162009
  • Message 4 of 27

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

2017-07-21, 15:21 PM

SSD team is not comfortable about providing guidance how to do firmware update yourself in linux.  However there is a new firmware update tool coming (supposedly in August) which should work on your bootable Win10 USB scenario.  

Reply
Options

12 Posts

07-18-2017

AT

48 Signins

328 Page Views

  • Posts: 12
  • Registered: ‎07-18-2017
  • Location: AT
  • Views: 328
  • Message 5 of 27

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

2017-07-21, 17:56 PM

Thanks for your help, this is an acceptable workaround (at least for me).

 

However, I'd prefer to not use Windows at all (and maybe some other Lenovo owners out there too) :)

 

It looks like the update tool tries to create a linux partition to boot from - one could probably boot this from an USB stick. Maybe it's an option on your side to create a bootable ISO image like the one for the UEFI updates?

Reply
Options

6512 Posts

10-29-2009

NC

17651 Signins

162009 Page Views

  • Posts: 6512
  • Registered: ‎10-29-2009
  • Location: NC
  • Views: 162009
  • Message 6 of 27

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

2017-07-21, 18:09 PM

wrote:

 

 

It looks like the update tool tries to create a linux partition to boot from - one could probably boot this from an USB stick. Maybe it's an option on your side to create a bootable ISO image like the one for the UEFI updates?


Yes, the existing tool writes a tiny linux image to the EFI service partition, configures the PC to do a one-time boot to it (via bcdedit), and then does the actual flashing from within linux.  I agree that it should be possible to replicate same environment on a USB stick.  Personally, I'm not linux expert and can't help.  And Lenovo doesn't want to support that.  There are ways to make firmware updates go wrong so we try to standardize on a single method.  Totally understand your preference about not using Windows at all, but I just don't have a good answer for you.

Reply
Options

12 Posts

07-18-2017

AT

48 Signins

328 Page Views

  • Posts: 12
  • Registered: ‎07-18-2017
  • Location: AT
  • Views: 328
  • Message 7 of 27

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

2017-07-21, 19:30 PM

OK, I mark your previous answer as the accepted solution.

 

As a note, I've used the tool WinToUSB (http://www.easyuefi.com/wintousb/) to create the USB bootable Windows. It would be nice if the next version of the update tool is tested to work with a system set up this way. Or at least a small howto on setting up a bootable Windows which works with the update tool. Thanks.

Reply
Options

251 Posts

08-24-2016

DE

976 Signins

9046 Page Views

  • Posts: 251
  • Registered: ‎08-24-2016
  • Location: DE
  • Views: 9046
  • Message 8 of 27

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

2017-08-30, 10:17 AM

oooh my lord...

just boot windows from usb stick ..and install the firmware update...

best regards...

Reply
Options

12 Posts

07-18-2017

AT

48 Signins

328 Page Views

  • Posts: 12
  • Registered: ‎07-18-2017
  • Location: AT
  • Views: 328
  • Message 9 of 27

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

2017-08-31, 8:02 AM
Thanks for you precise answer.

Either you didn't read the thread or you ignored the "external USB Drive with Windows 10" part - which actually is kinda "usb stick" :)

Maybe you'd like to share some more details on your super easy upgrade procedure?

Oh, and just in case I forgot here it comes - Oh Boy! :)
Reply
Options

12 Posts

07-18-2017

AT

48 Signins

328 Page Views

  • Posts: 12
  • Registered: ‎07-18-2017
  • Location: AT
  • Views: 328
  • Message 10 of 27

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

2017-09-29, 9:44 AM

End of September, any news on this?

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete