blob: 1803bf826d1ebd7c8cb1314d30a06ada75daa3f4 [file] [log] [blame]
Uwe Hermann67808fe2007-10-18 00:29:05 +00001.TH FLASHROM 8 "October 18, 2007"
Stefan Reinauer261144c2006-07-27 23:29:02 +00002.SH NAME
Uwe Hermann424b7cf2006-12-20 14:59:56 +00003flashrom \- a universal flash programming utility
Stefan Reinauer261144c2006-07-27 23:29:02 +00004.SH SYNOPSIS
Stefan Reinauerf8337dd2006-08-03 10:49:09 +00005.B flashrom \fR[\fB\-rwvEVfh\fR] [\fB\-c\fR chipname] [\fB\-s\fR exclude_start] [\fB\-e\fR exclude_end]
6 [\fB-m\fR vendor:part] [\fB-l\fR file.layout] [\fB-i\fR image_name] [file]
Stefan Reinauer261144c2006-07-27 23:29:02 +00007.SH DESCRIPTION
8.B flashrom
Uwe Hermann67808fe2007-10-18 00:29:05 +00009is a universal flash programming utility for DIP, PLCC, or SPI flash ROM
10chips. It can be used to flash BIOS/LinuxBIOS/firmware images, for example.
Stefan Reinauer261144c2006-07-27 23:29:02 +000011.SH OPTIONS
12If no file is specified, then all that happens
13is that flash info is dumped and the flash chip is set to writable.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000014.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000015.B "\-r, \-\-read"
Uwe Hermann67808fe2007-10-18 00:29:05 +000016Read flash ROM contents an save them into the given file.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000017.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000018.B "\-w, \-\-write"
19Write file into flash (default when file is specified).
Stefan Reinauerde063bf2006-09-21 13:09:22 +000020.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000021.B "\-v, \-\-verify"
Uwe Hermann67808fe2007-10-18 00:29:05 +000022Verify the flash ROM contents against the given file.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000023.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000024.B "\-E, \-\-erase"
Uwe Hermann67808fe2007-10-18 00:29:05 +000025Erase the flash device.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000026.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000027.B "\-V, \-\-verbose"
28More verbose output.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000029.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000030.B "\-c, \-\-chip" <chipname>
31Probe only for specified flash chip.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000032.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000033.B "\-s, \-\-estart" <addr>
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000034Exclude start position. (obsolete)
Stefan Reinauerde063bf2006-09-21 13:09:22 +000035.TP
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000036.B "\-e, \-\-eend" <addr>
37Exclude end postion. (obsolete)
Stefan Reinauerde063bf2006-09-21 13:09:22 +000038.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000039.B "\-m, \-\-mainboard" <vendor:part>
Uwe Hermann67808fe2007-10-18 00:29:05 +000040Override mainboard settings. This option is needed for some mainboards,
41see the
42.B flashrom
43README for a list.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000044.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000045.B "\-f, \-\-force"
Uwe Hermann67808fe2007-10-18 00:29:05 +000046Force write without checking whether the ROM image file is really meant
47to be used on this board.
48.sp
49Note: This check only works while LinuxBIOS is running, and only for those
50boards where the LinuxBIOS code supports it.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000051.TP
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000052.B "\-l, \-\-layout" <layout.file>
Stefan Reinauer261144c2006-07-27 23:29:02 +000053Read ROM layout from file.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000054.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000055.B "\-i, \-\-image" <name>
Uwe Hermann67808fe2007-10-18 00:29:05 +000056Only flash image
57.B <name>
58from flash layout.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000059.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000060.B "\-h, \-\-help"
61Show a help text and exit.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000062.\".TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000063.\".B "\-\-version"
64.\"Show version information and exit.
65.SH BUGS
Uwe Hermann67808fe2007-10-18 00:29:05 +000066Please report any bugs at http://tracker.linuxbios.org/trac/LinuxBIOS/,
67or on the LinuxBIOS mailing list (http://linuxbios.org/Mailinglist).
Stefan Reinauer261144c2006-07-27 23:29:02 +000068.SH LICENCE
69.B flashrom
Stefan Reinauerde063bf2006-09-21 13:09:22 +000070is covered by the GNU General Public License (GPL), version 2 or later.
Uwe Hermann67808fe2007-10-18 00:29:05 +000071.\" .SH SEE ALSO
Stefan Reinauer261144c2006-07-27 23:29:02 +000072.SH COPYRIGHT
732000 Silicon Integrated System Corporation
74.br
Stefan Reinauerf8337dd2006-08-03 10:49:09 +0000752003 Niki W. Waibel
76.br
Stefan Reinauer261144c2006-07-27 23:29:02 +0000772004 Tyan Corp
78.br
Stefan Reinauer5380d512007-05-24 09:08:36 +0000792005-2007 coresystems GmbH
Stefan Reinauer261144c2006-07-27 23:29:02 +000080.SH AUTHORS
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000081Yinghai Lu <yinghai.lu@amd.com>
Stefan Reinauer261144c2006-07-27 23:29:02 +000082.br
83Stefan Reinauer <stepan@coresystems.de>
84.br
85Niki W. Waibel <niki.waibel@gmx.net>
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000086.br
87some others
Stefan Reinauer261144c2006-07-27 23:29:02 +000088.PP
Stefan Reinauerde063bf2006-09-21 13:09:22 +000089This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>.
90It is licensed under the terms of the GNU GPL (v2 or later).