1NDCTL-UPDATE-FIRMW(1)            ndctl Manual            NDCTL-UPDATE-FIRMW(1)
2
3
4

NAME

6       ndctl-update-firmware - update the firmware the given device
7

SYNOPSIS

9       ndctl update-firmware <dimm> [<options>]
10

DESCRIPTION

12       Provide a generic interface for updating NVDIMM firmware. The use of
13       this depends on support for the NVDIMM "family" in libndctl, the kernel
14       needs to enable that command set, and the device itself needs to
15       implement the command. Use "ndctl list -DF" to interrogate if firmware
16       update is enabled. For example:
17
18           ndctl list -DFu -d nmem1
19           {
20             "dev":"nmem1",
21             "id":"cdab-0a-07e0-ffffffff",
22             "handle":"0",
23             "phys_id":"0",
24             "security":"disabled",
25             "firmware":{
26               "current_version":"0",
27               "can_update":true
28             }
29           }
30

OPTIONS

32       <dimm>
33           A nmemX device name, or a dimm id number. Restrict the operation to
34           the specified dimm(s). The keyword all can be specified to indicate
35           the lack of any restriction, however this is the same as not
36           supplying a --dimm option at all.
37
38       -b, --bus=
39           A bus id number, or a provider string (e.g. "ACPI.NFIT"). Restrict
40           the operation to the specified bus(es). The keyword all can be
41           specified to indicate the lack of any restriction, however this is
42           the same as not supplying a --bus option at all.
43
44       -f, --firmware
45           firmware file used to perform the update
46
47       -i, --force
48           Ignore in-progress Address Range Scrub and try to submit the
49           firmware update, or ignore firmware activate arm overflows and
50           force-arm devices.
51
52       -A, --arm
53           Arm a device for firmware activation. This is enabled by default
54           when a firmware image is specified. Specify --no-arm to disable
55           this default. Otherwise, without a firmware image, this option can
56           be used to manually arm a device for firmware activate.
57
58       -D, --disarm
59           Disarm devices after uploading the firmware file, or manually
60           disarm devices when a firmware image is not specified. --no-disarm
61           is not accepted.
62
63       -v, --verbose
64           Emit debug messages for the namespace check process.
65
67       Copyright © 2016 - 2020, Intel Corporation. License GPLv2: GNU GPL
68       version 2 http://gnu.org/licenses/gpl.html. This is free software: you
69       are free to change and redistribute it. There is NO WARRANTY, to the
70       extent permitted by law.
71
72
73
74ndctl 71.1                        07/22/2021             NDCTL-UPDATE-FIRMW(1)
Impressum