blob: 8c32f651aac75a663cee72f98c58a42508247745 [file] [log] [blame]
Uwe Hermann424b7cf2006-12-20 14:59:56 +00001.TH FLASHROM 1 "December 20, 2006"
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 Hermann424b7cf2006-12-20 14:59:56 +00009is a universal flash programming utility for flash chips
10(e.g. in DIP or PLCC packaging). It can be used to flash BIOS images,
11for example.
Stefan Reinauer261144c2006-07-27 23:29:02 +000012.SH OPTIONS
13If no file is specified, then all that happens
14is that flash info is dumped and the flash chip is set to writable.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000015.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000016.B "\-r, \-\-read"
17Read flash and save contents into file.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000018.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000019.B "\-w, \-\-write"
20Write file into flash (default when file is specified).
Stefan Reinauerde063bf2006-09-21 13:09:22 +000021.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000022.B "\-v, \-\-verify"
23Verify flash against file.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000024.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000025.B "\-E, \-\-erase"
26Erase flash device.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000027.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000028.B "\-V, \-\-verbose"
29More verbose output.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000030.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000031.B "\-c, \-\-chip" <chipname>
32Probe only for specified flash chip.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000033.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000034.B "\-s, \-\-estart" <addr>
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000035Exclude start position. (obsolete)
Stefan Reinauerde063bf2006-09-21 13:09:22 +000036.TP
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000037.B "\-e, \-\-eend" <addr>
38Exclude end postion. (obsolete)
Stefan Reinauerde063bf2006-09-21 13:09:22 +000039.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000040.B "\-m, \-\-mainboard" <vendor:part>
41Override mainboard settings.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000042.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000043.B "\-f, \-\-force"
44Force write without checking image.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000045.TP
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000046.B "\-l, \-\-layout" <layout.file>
Stefan Reinauer261144c2006-07-27 23:29:02 +000047Read ROM layout from file.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000048.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000049.B "\-i, \-\-image" <name>
50Only flash image name from flash layout.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000051.TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000052.B "\-h, \-\-help"
53Show a help text and exit.
Stefan Reinauerde063bf2006-09-21 13:09:22 +000054.\".TP
Stefan Reinauer261144c2006-07-27 23:29:02 +000055.\".B "\-\-version"
56.\"Show version information and exit.
57.SH BUGS
Uwe Hermann2bd07a02006-11-22 15:27:29 +000058Please report any bugs at http://tracker.linuxbios.org/trac/LinuxBIOS/.
Stefan Reinauer261144c2006-07-27 23:29:02 +000059.SH LICENCE
60.B flashrom
Stefan Reinauerde063bf2006-09-21 13:09:22 +000061is covered by the GNU General Public License (GPL), version 2 or later.
Stefan Reinauer261144c2006-07-27 23:29:02 +000062.SH SEE ALSO
Stefan Reinauerde063bf2006-09-21 13:09:22 +000063.BR romcc (1),
64.BR abuild (1).
Stefan Reinauer261144c2006-07-27 23:29:02 +000065.SH COPYRIGHT
662000 Silicon Integrated System Corporation
67.br
Stefan Reinauerf8337dd2006-08-03 10:49:09 +0000682003 Niki W. Waibel
69.br
Stefan Reinauer261144c2006-07-27 23:29:02 +0000702004 Tyan Corp
71.br
722005-2006 coresystems GmbH
Stefan Reinauer261144c2006-07-27 23:29:02 +000073.SH AUTHORS
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000074Yinghai Lu <yinghai.lu@amd.com>
Stefan Reinauer261144c2006-07-27 23:29:02 +000075.br
76Stefan Reinauer <stepan@coresystems.de>
77.br
78Niki W. Waibel <niki.waibel@gmx.net>
Stefan Reinauerf8337dd2006-08-03 10:49:09 +000079.br
80some others
Stefan Reinauer261144c2006-07-27 23:29:02 +000081.PP
Stefan Reinauerde063bf2006-09-21 13:09:22 +000082This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>.
83It is licensed under the terms of the GNU GPL (v2 or later).