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