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