flashrom.8 2.4 KB
Newer Older
Uwe Hermann's avatar
Uwe Hermann committed
1
.TH FLASHROM 8 "October 18, 2007"
2
.SH NAME
3
flashrom \- a universal flash programming utility
4
.SH SYNOPSIS
5 6
.B flashrom \fR[\fB\-rwvEVfh\fR] [\fB\-c\fR chipname] [\fB\-s\fR exclude_start] [\fB\-e\fR exclude_end]
         [\fB-m\fR vendor:part] [\fB-l\fR file.layout] [\fB-i\fR image_name] [file]
7 8
.SH DESCRIPTION
.B flashrom
Uwe Hermann's avatar
Uwe Hermann committed
9
is a universal flash programming utility for DIP, PLCC, or SPI flash ROM
Stefan Reinauer's avatar
Stefan Reinauer committed
10
chips. It can be used to flash BIOS/coreboot/firmware images, for example.
11 12 13
.SH OPTIONS
If no file is specified, then all that happens
is that flash info is dumped and the flash chip is set to writable.
14
.TP
15
.B "\-r, \-\-read"
Uwe Hermann's avatar
Uwe Hermann committed
16
Read flash ROM contents an save them into the given file.
17
.TP
18 19
.B "\-w, \-\-write"
Write file into flash (default when file is specified).
20
.TP
21
.B "\-v, \-\-verify"
Uwe Hermann's avatar
Uwe Hermann committed
22
Verify the flash ROM contents against the given file.
23
.TP
24
.B "\-E, \-\-erase"
Uwe Hermann's avatar
Uwe Hermann committed
25
Erase the flash device.
26
.TP
27 28
.B "\-V, \-\-verbose"
More verbose output.
29
.TP
30 31
.B "\-c, \-\-chip" <chipname>
Probe only for specified flash chip.
32
.TP
33
.B "\-s, \-\-estart" <addr>
34
Exclude start position. (obsolete)
35
.TP
36 37
.B "\-e, \-\-eend" <addr> 
Exclude end postion. (obsolete)
38
.TP
39
.B "\-m, \-\-mainboard" <vendor:part>
Uwe Hermann's avatar
Uwe Hermann committed
40 41 42 43
Override mainboard settings. This option is needed for some mainboards,
see the
.B flashrom
README for a list.
44
.TP
45
.B "\-f, \-\-force"
Uwe Hermann's avatar
Uwe Hermann committed
46 47 48
Force write without checking whether the ROM image file is really meant
to be used on this board.
.sp
Stefan Reinauer's avatar
Stefan Reinauer committed
49 50
Note: This check only works while coreboot is running, and only for those
boards where the coreboot code supports it.
51
.TP
52
.B "\-l, \-\-layout" <layout.file>
53
Read ROM layout from file.
54
.TP
55
.B "\-i, \-\-image" <name>
Uwe Hermann's avatar
Uwe Hermann committed
56 57 58
Only flash image
.B <name>
from flash layout.
59
.TP
60 61
.B "\-h, \-\-help"
Show a help text and exit.
62
.\".TP
63 64 65
.\".B "\-\-version"
.\"Show version information and exit.
.SH BUGS
Stefan Reinauer's avatar
Stefan Reinauer committed
66 67
Please report any bugs at http://tracker.coreboot.org/trac/coreboot/,
or on the coreboot mailing list (http://www.coreboot.org/Mailinglist).
68 69
.SH LICENCE
.B flashrom
70
is covered by the GNU General Public License (GPL), version 2 or later.
Uwe Hermann's avatar
Uwe Hermann committed
71
.\" .SH SEE ALSO
72 73 74
.SH COPYRIGHT
2000 Silicon Integrated System Corporation
.br
75 76
2003 Niki W. Waibel
.br
77 78
2004 Tyan Corp
.br
Stefan Reinauer's avatar
Stefan Reinauer committed
79
2005-2007 coresystems GmbH
80
.SH AUTHORS
81
Yinghai Lu <yinghai.lu@amd.com>
82 83 84 85
.br
Stefan Reinauer <stepan@coresystems.de>
.br
Niki W. Waibel <niki.waibel@gmx.net>
86 87
.br
some others 
88
.PP
89 90
This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>.
It is licensed under the terms of the GNU GPL (v2 or later).