summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-micron-selective-download.txt
blob: c20af74fe3b1275b1b990e8f8569e4d7ebf7c046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
nvme-micron-selective-download(1)
=================================

NAME
----
nvme-micron-selective-download - Performs selective firmware download that
allows user select which firmware binary to update for 9200 devices. This
requires power cycle the update completes.

SYNOPSIS
--------
[verse]
'nvme micron selective-download' <device> [--fw=<FILE>, -f <FILE>]
			[--select=<flag>, -s <flag>]

DESCRIPTION
-----------
This command uses micron vendor specific nvme commands to download given
firmware image to the 9200 device to update selected or all portions of firmware
image. 

The <device> parameter is mandatory and may be either the NVMe
character device (ex: /dev/nvme0), or a namespace block device (ex:
/dev/nvme0n1). 

This will only work on Micron devices devices of model number 9200. Support for
new devices be added subsequently. Results for any other device are undefined.

OPTIONS
-------
-f <FILE>::
--fw=<FILE>::
	name of the firmware image file

-s <flag>::
--select=<flag>::
	flag that has following values
	 OOB:: This updates the OOB and main firmware\n"
	 EEP:: This updates the eeprom and main firmware\n"
	 ALL:: This updates the eeprom, OOB, and main firmware";

EXAMPLES
--------
* Update OOB and main firmware
+
------------
# nvme micron selective-download /dev/nvme0 --fw=firmware_bin --select=OOB
# nvme micron selective-download /dev/nvme0 -f firmware_bin -s OOB

------------
* Update OOB and main firmware
+
------------
# nvme micron selective-download /dev/nvme0 --fw=firmware_bin --select=EEP
# nvme micron selective-download /dev/nvme0 -f firmware_bin --s EEP
------------
* Update eeprom, OOB and main firmware
+
------------
# nvme micron selective-download /dev/nvme0 --fw=firmware_bin --select=ALL
# nvme micron selective-download /dev/nvme0 -f firmware_bin --s ALL
------------

NVME
----
Part of the nvme-user suite