Re: how to firmwareupdate samsung nvme ssm (ssd) via already installed opensuse?
On Wed, Feb 1, 2023 at 6:12 PM Manfred Schwarb
Am 01.02.23 um 17:49 schrieb cagsm:
Support,
there is some new firmware update for some samsung ssd (nvme ssm pcie based) that is built into this system i use. I dont have windows to upgrade that nvme samsung device and i can not really move this device over to a windows machine and attempt the firmware update there.
you don't need something fancy:
#---firmware from https://www.samsung.com/semiconductor/minisite/ssd/download/tools/ #---first unmount SSD before proceeding sudo mount -o loop /root/Firmware/Samsung_SSD_980_PRO_5B2QGXA7.iso /mnt
destdir="/var/tmp/fwupdate" # not on SSD, of course! mkdir "$destdir" cd "$destdir" gzip -dc /mnt/initrd | cpio -idvm --no-absolute-filenames
#---create chroot env: mount --bind /proc $destdir/proc mount --bind /dev $destdir/dev mount --bind /sys $destdir/sys mount --bind /run $destdir/run
env SHELL=/bin/sh chroot "$destdir"
#---inside chroot: cd root/fumagician ./fumagician exit
#---cleanup afterwards, umount etc.
thanks for these instructions, I kind of used an ubuntu usb key to boot this machine offline and then managed to upgrade the firmware there similar to your commands, only not inside chroot it seems. inside chroot it didnt detect any samsung devices. outside of the jail with sudo it did find the samsung nvme though. the firmware update process was more like a brief glimpse of text or so, and it didnt really print out if successful or if it did anything at all. only after the boot into opensuse did it show that the nvme is now on the new firmware release. thanks again.
Am 02.02.23 um 01:12 schrieb cagsm:
On Wed, Feb 1, 2023 at 6:12 PM Manfred Schwarb
wrote: Am 01.02.23 um 17:49 schrieb cagsm:
Support,
there is some new firmware update for some samsung ssd (nvme ssm pcie based) that is built into this system i use. I dont have windows to upgrade that nvme samsung device and i can not really move this device over to a windows machine and attempt the firmware update there.
you don't need something fancy:
#---firmware from https://www.samsung.com/semiconductor/minisite/ssd/download/tools/ #---first unmount SSD before proceeding sudo mount -o loop /root/Firmware/Samsung_SSD_980_PRO_5B2QGXA7.iso /mnt
destdir="/var/tmp/fwupdate" # not on SSD, of course! mkdir "$destdir" cd "$destdir" gzip -dc /mnt/initrd | cpio -idvm --no-absolute-filenames
#---create chroot env: mount --bind /proc $destdir/proc mount --bind /dev $destdir/dev mount --bind /sys $destdir/sys mount --bind /run $destdir/run
env SHELL=/bin/sh chroot "$destdir"
#---inside chroot: cd root/fumagician ./fumagician exit
#---cleanup afterwards, umount etc.
thanks for these instructions, I kind of used an ubuntu usb key to boot this machine offline and then managed to upgrade the firmware there similar to your commands, only not inside chroot it seems.
It should, if you mount /proc and /dev as I did. It worked flawless for me.
inside chroot it didnt detect any samsung devices. outside of the jail with sudo it did find the samsung nvme though.
the firmware update process was more like a brief glimpse of text or so, and it didnt really print out if successful or if it did anything at all. only after the boot into opensuse did it show that the nvme is now on the new firmware release.
thanks again.
participants (2)
-
cagsm
-
Manfred Schwarb