blob: 8fa1ed4eb5e0fa091054b16ab2383e76f8eb43e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Samsung SSD firmware updater for Linux
## Purpose
There were already some utilities in the AUR for updating Samsung SSD firmware on linux but it was a bit outdated so here we are.
Some code has been taken from [this blogpost](https://blog.quindorian.org/2021/05/firmware-update-samsung-ssd-in-linux.html/) and from
[this reddit thread by zty77](https://old.reddit.com/r/zfs/comments/fuqgoi/script_to_update_samsung_ssd_firmware/).
## Usage
You must launch the script as root.
I tried to make it simple: you provide an Samsung Firmware ISO file as an argument and it'll execute the payload to update your firmware:
```bash
# example
samsung-ssd-fwupdate -i Samsung_SSD_980_PRO_5B2QGXA7.iso
samsung-ssd-fwupdate --install Samsung_SSD_980_PRO_5B2QGXA7.iso # same as above
```
As a bonus (and mostly for my convenience) you can print a list of the [firmware ISOs listed on Samsung website](https://semiconductor.samsung.com/consumer-storage/support/tools/#firmware) with the `-l` or `--list` flag, or download them interactively with the `-d` or `--download` flag
Can also list the 'last-modified' date of the ISOs with the `-ld`/`--list-dates` switch.
## License
MIT
|