iucode_tool --version (return code: 0)
iucode_tool 1.5.1
Copyright (c) 2010-2016 by Henrique de Moraes Holschuh
Based on code from the Linux microcode_intel driver and from
the microcode.ctl package, copyright (c) 2000 by Simon Trimmer
and Tigran Aivazian.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.
iucode_tool --help (return code: 0)
Usage: iucode_tool [OPTION...] [[-t<type>] filename] ...
iucode_tool - Tool to manipulate Intel IA32/X86_64 microcode bundles
-q, --quiet Quiet operation
-v, --verbose Verbose operation (cumulative)
-t type Sets input file type for the next microcode files.
The type is a single character: "b" (binary), "d"
(Intel .dat), "r" (search inside unknown binary
data), or "a" (type will be selected by filename
suffix)
-s ! | [!]signature[,pf_mask] Select microcodes by the specificed signature
and processor flags mask. Specify more than once
to select/unselect more microcodes. Prefix with !
to unselect microcodes. Use -s ! to disable the
default behaviour of selecting all microcodes when
no -s or -S filter is specified
-S, --scan-system Select microcodes by scanning all online
processors on this system for their signatures.
Can be combined with the -s option. Note: this
option has precedence over the -s option,
microcodes selected by --scan-system cannot be
unselected by -s
--downgrade Instead of discarding microcodes based on revision
level, keep the one from the file loaded last.
Files are loaded in the order they were specified
in the command line
--no-downgrade Keep the microcode with the highest revision
level, regardless of the file load order
(default)
--date-after=YYYY-MM-DD Select only microcodes newer than the specified
date
--date-before=YYYY-MM-DD Select only microcodes older than the
specified date
--loose-date-filtering Consider for selection other revisions (outside of
the date range) of every microcode that was
selected within the date range
--strict-date-filtering Select only microcodes strictly within the date
range (default)
-l, --list List selected microcode signatures
-L, --list-all List all microcode signatures
-k, --kernel[=device] Upload selected microcodes to the kernel.
Optionally, the device path can be specified
(default: /dev/cpu/microcode)
-K, --write-firmware[=directory]
Write selected microcodes with the filenames
expected by the Linux kernel firmware loader.
Optionally, the destination directory can be
specified (default: /lib/firmware/intel-ucode)
-w, --write-to=file Write selected microcodes to a file in binary
format. The binary format is suitable to be
uploaded to the kernel
--write-earlyfw=file Write selected microcodes to an early initramfs
file, which should be prepended to the regular
initramfs
-W, --write-named-to=directory Write selected microcodes to files in the
specified directory, in binary format. The file
name will reflect the microcode signature, mask
and revision
--write-all-named-to=directory
Write every microcode to files in the specified
directory, in binary format. The file name will
reflect the microcode signature, mask and
revision. This is the only way to write out every
revision of a microcode
--no-overwrite Do not remove existing files (default)
--overwrite Unlink (remove) destination files before writing
--strict-checks Perform strict checks on the microcode data
(default)
--no-strict-checks Perform less strict checks on the microcode data
--ignore-broken Skip broken microcode entries instead of aborting
--no-ignore-broken Abort on broken microcode entries (default)
-?, --help Give this help list
-h Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
The microcode bundle files should be specified as arguments. The bundle type
is determined by the file name suffix. It defaults to the binary format.
Should the filename end with ".bin", binary mode will be used. Should the
filename end with ".dat", text mode will be used. The -t option can be used to
set the type of the microcode bundle files that come after it, e.g. -td
/tmp/dat-file -tb /tmp/binary /tmp/binary2.
To load microcode data from stdin, use "-" as the filename. File type will be
assumed to be text (".dat"), use option -tb to load binary data from stdin.
To load all files from a directory, specify the directory name. It will not
recurse into subdirectories, they will be skipped.
Empty files and directories will be ignored, and will be skipped.