| 1 |
.\" SPDX-License-Identifier: GPL-2.0-only |
| 2 |
.TH IFDTOOL "8" "November 2024" "" "System Administration Utilities" |
| 3 |
.SH NAME |
| 4 |
ifdtool \- Extract and dump Intel Firmware Descriptor information |
| 5 |
.SH SYNOPSIS |
| 6 |
.PP |
| 7 |
usage ifdtool [\-vhdix?] <filename> |
| 8 |
.SH DESCRIPTION |
| 9 |
Extract and dump Intel Firmware Descriptor information. |
| 10 |
.SH OPTIONS |
| 11 |
.TP |
| 12 |
\fB\-d\fR | \fB\-\-dump\fR |
| 13 |
dump intel firmware descriptor |
| 14 |
.TP |
| 15 |
\fB\-f\fR | \fB\-\-layout\fR <filename> |
| 16 |
dump regions into a flashrom layout file |
| 17 |
.TP |
| 18 |
\fB\-F\fR | \fB\-\-fmap\-layout\fR <filename> |
| 19 |
dump IFD regions into a fmap layout template (.fmd) file |
| 20 |
.TP |
| 21 |
\fB\-t\fR | \fB\-\-validate\fR |
| 22 |
Validate that the firmware descriptor layout matches the fmap layout |
| 23 |
.TP |
| 24 |
\fB\-x\fR | \fB\-\-extract\fR |
| 25 |
extract intel fd modules |
| 26 |
.TP |
| 27 |
\fB\-i\fR | \fB\-\-inject\fR <region>:<module> |
| 28 |
inject file <module> into region <region> |
| 29 |
.TP |
| 30 |
\fB\-n\fR | \fB\-\-newlayout\fR <filename> |
| 31 |
update regions using a flashrom layout file |
| 32 |
.TP |
| 33 |
\fB\-O\fR | \fB\-\-output\fR <filename> |
| 34 |
output filename |
| 35 |
.TP |
| 36 |
\fB\-s\fR | \fB\-\-spifreq\fR <17|20|30|33|48|50> |
| 37 |
set the SPI frequency |
| 38 |
.TP |
| 39 |
\fB\-D\fR | \fB\-\-density\fR <512|1|2|4|8|16|32|64> |
| 40 |
set chip density (512 in KByte, others in MByte) |
| 41 |
.TP |
| 42 |
\fB\-C\fR | \fB\-\-chip\fR <0|1|2> |
| 43 |
select spi chip on which to operate can only be used once per run: |
| 44 |
.nf |
| 45 |
0 \- both chips (default) |
| 46 |
1 \- first chip |
| 47 |
2 \- second chip |
| 48 |
.TP |
| 49 |
\fB\-e\fR | \fB\-\-em100\fR |
| 50 |
set SPI frequency to 20MHz and disable |
| 51 |
Dual Output Fast Read Support |
| 52 |
.TP |
| 53 |
\fB\-l\fR | \fB\-\-lock\fR |
| 54 |
Lock firmware descriptor and ME region |
| 55 |
.TP |
| 56 |
\fB\-r\fR | \fB\-\-read\fR |
| 57 |
Enable CPU/BIOS read access for ME region |
| 58 |
.TP |
| 59 |
\fB\-u\fR | \fB\-\-unlock\fR |
| 60 |
Unlock firmware descriptor and ME region |
| 61 |
.TP |
| 62 |
\fB\-g\fR | \fB\-\-gpr0\-disable\fR |
| 63 |
Disable GPR0 (Global Protected Range) register |
| 64 |
.TP |
| 65 |
\fB\-E\fR | \fB\-\-gpr0\-enable\fR |
| 66 |
Enable GPR0 (Global Protected Range) register |
| 67 |
.TP |
| 68 |
\fB\-c\fR | \fB\-\-gpr0\-status\fR |
| 69 |
Checking GPR0 (Global Protected Range) register status |
| 70 |
.TP |
| 71 |
\fB\-M\fR | \fB\-\-altmedisable\fR <0|1> |
| 72 |
Set the MeDisable and AltMeDisable (or HAP for skylake or newer platform) |
| 73 |
bits to disable ME |
| 74 |
.TP |
| 75 |
\fB\-p\fR | \fB\-\-platform\fR |
| 76 |
.nf |
| 77 |
Add platform\-specific quirks |
| 78 |
adl \- Alder Lake |
| 79 |
aplk \- Apollo Lake |
| 80 |
cnl \- Cannon Lake |
| 81 |
lbg \- Lewisburg PCH |
| 82 |
dnv \- Denverton |
| 83 |
ehl \- Elkhart Lake |
| 84 |
glk \- Gemini Lake |
| 85 |
icl \- Ice Lake |
| 86 |
ifd2 \- IFDv2 Platform |
| 87 |
jsl \- Jasper Lake |
| 88 |
mtl \- Meteor Lake |
| 89 |
sklkbl \- Sky Lake/Kaby Lake |
| 90 |
tgl \- Tiger Lake |
| 91 |
wbg \- Wellsburg |
| 92 |
.TP |
| 93 |
\fB\-S\fR | \fB\-\-setpchstrap\fR |
| 94 |
Write a PCH strap |
| 95 |
.TP |
| 96 |
\fB\-V\fR | \fB\-\-newvalue\fR |
| 97 |
The new value to write into PCH strap specified by \fB\-S\fR |
| 98 |
.TP |
| 99 |
\fB\-v\fR | \fB\-\-version\fR |
| 100 |
print the version |
| 101 |
.TP |
| 102 |
\fB\-h\fR | \fB\-\-help\fR |
| 103 |
print this help |
| 104 |
.PP |
| 105 |
.SH NOTES |
| 106 |
.TP |
| 107 |
<region> is one of Descriptor, BIOS, ME, GbE, Platform Data, Secondary BIOS, Device Exp1, EC, Device Exp2, IE, 10GbE_0, 10GbE_1, PTT |
| 108 |
.SH "AUTHORS" |
| 109 |
.PP |
| 110 |
.nf |
| 111 |
coresystems GmbH. |
| 112 |
Man page written by Ahmad Khalifa. |