Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 1 | .TH FLASHROM 8 "Jun 14, 2011" |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 2 | .SH NAME |
Uwe Hermann | 530cb2d | 2009-05-14 22:58:21 +0000 | [diff] [blame] | 3 | flashrom \- detect, read, write, verify and erase flash chips |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 4 | .SH SYNOPSIS |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 5 | .B flashrom \fR[\fB\-n\fR] [\fB\-V\fR] [\fB\-f\fR] [\fB\-h\fR|\fB\-R\fR|\ |
| 6 | \fB\-L\fR|\fB\-z\fR|\fB\-E\fR|\fB\-r\fR <file>|\fB\-w\fR <file>|\ |
| 7 | \fB\-v\fR <file>] |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 8 | [\fB\-c\fR <chipname>] [\fB\-m\fR [<vendor>:]<board>] \ |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 9 | [\fB\-l\fR <file>] |
| 10 | [\fB\-i\fR <image>] [\fB\-p\fR <programmername>[:<parameters>]] |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 11 | .SH DESCRIPTION |
| 12 | .B flashrom |
Uwe Hermann | e8ba538 | 2009-05-22 11:37:27 +0000 | [diff] [blame] | 13 | is a utility for detecting, reading, writing, verifying and erasing flash |
Uwe Hermann | 530cb2d | 2009-05-14 22:58:21 +0000 | [diff] [blame] | 14 | chips. It's often used to flash BIOS/EFI/coreboot/firmware images in-system |
| 15 | using a supported mainboard, but it also supports flashing of network cards |
| 16 | (NICs), SATA controller cards, and other external devices which can program |
| 17 | flash chips. |
Uwe Hermann | e74b9f8 | 2009-04-10 14:41:29 +0000 | [diff] [blame] | 18 | .PP |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 19 | It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40, |
| 20 | and TSOP48 chips, which use various protocols such as LPC, FWH, parallel flash, |
Uwe Hermann | d42009c | 2009-04-11 13:59:00 +0000 | [diff] [blame] | 21 | or SPI. |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 22 | .SH OPTIONS |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 23 | .B IMPORTANT: |
Carl-Daniel Hailfinger | 5de9341 | 2009-05-01 10:53:49 +0000 | [diff] [blame] | 24 | Please note that the command line interface for flashrom will change before |
| 25 | flashrom 1.0. Do not use flashrom in scripts or other automated tools without |
Uwe Hermann | e8ba538 | 2009-05-22 11:37:27 +0000 | [diff] [blame] | 26 | checking that your flashrom version won't interpret options in a different way. |
Carl-Daniel Hailfinger | 5de9341 | 2009-05-01 10:53:49 +0000 | [diff] [blame] | 27 | .PP |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 28 | You can specify one of |
| 29 | .BR \-h ", " \-R ", " \-L ", " \-z ", " \-E ", " \-r ", " \-w ", " \-v |
| 30 | or no operation. |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 31 | If no operation is specified, flashrom will only probe for flash chips. It is |
Michael Karcher | 31fd825 | 2010-03-12 06:41:39 +0000 | [diff] [blame] | 32 | recommended that if you try flashrom the first time on a system, you run it |
| 33 | in probe only mode and check the output. Also you are advised to make a |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 34 | backup of your current ROM contents with |
| 35 | .B \-r |
| 36 | before you try to write a new image. |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 37 | .TP |
Uwe Hermann | e74b9f8 | 2009-04-10 14:41:29 +0000 | [diff] [blame] | 38 | .B "\-r, \-\-read <file>" |
| 39 | Read flash ROM contents and save them into the given |
| 40 | .BR <file> . |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 41 | .TP |
Uwe Hermann | e74b9f8 | 2009-04-10 14:41:29 +0000 | [diff] [blame] | 42 | .B "\-w, \-\-write <file>" |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 43 | Write |
| 44 | .B <file> |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 45 | into flash ROM. This will first automatically |
| 46 | .B erase |
| 47 | the chip, then write to it. |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 48 | .TP |
Uwe Hermann | ea07f62 | 2009-06-24 17:31:08 +0000 | [diff] [blame] | 49 | .B "\-n, \-\-noverify" |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 50 | Skip the automatic verification of flash ROM contents after writing. Using this |
Uwe Hermann | ea07f62 | 2009-06-24 17:31:08 +0000 | [diff] [blame] | 51 | option is |
| 52 | .B not |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 53 | recommended, you should only use it if you know what you are doing and if you |
Uwe Hermann | ea07f62 | 2009-06-24 17:31:08 +0000 | [diff] [blame] | 54 | feel that the time for verification takes too long. |
| 55 | .sp |
| 56 | Typical usage is: |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 57 | .B "flashrom \-n \-w <file>" |
Uwe Hermann | ea07f62 | 2009-06-24 17:31:08 +0000 | [diff] [blame] | 58 | .sp |
| 59 | This option is only useful in combination with |
| 60 | .BR \-\-write . |
| 61 | .TP |
Uwe Hermann | e74b9f8 | 2009-04-10 14:41:29 +0000 | [diff] [blame] | 62 | .B "\-v, \-\-verify <file>" |
| 63 | Verify the flash ROM contents against the given |
| 64 | .BR <file> . |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 65 | .TP |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 66 | .B "\-E, \-\-erase" |
Uwe Hermann | e74b9f8 | 2009-04-10 14:41:29 +0000 | [diff] [blame] | 67 | Erase the flash ROM chip. |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 68 | .TP |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 69 | .B "\-V, \-\-verbose" |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 70 | More verbose output. This option can be supplied multiple times |
| 71 | (max. 2 times, i.e. |
| 72 | .BR \-VV ) |
| 73 | for even more debug output. |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 74 | .TP |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 75 | .B "\-c, \-\-chip" <chipname> |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 76 | Probe only for the specified flash ROM chip. This option takes the chip name as |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 77 | printed by |
| 78 | .B "flashrom \-L" |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 79 | without the vendor name as parameter. Please note that the chip name is |
| 80 | case sensitive. |
Joerg Mayer | 645c6df | 2010-03-13 14:47:48 +0000 | [diff] [blame] | 81 | .TP |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 82 | .B "\-m, \-\-mainboard" [<vendor>:]<board> |
Joerg Mayer | 645c6df | 2010-03-13 14:47:48 +0000 | [diff] [blame] | 83 | Override mainboard settings. |
| 84 | .sp |
| 85 | flashrom reads the coreboot table to determine the current mainboard. If no |
| 86 | coreboot table could be read or if you want to override these values, you can |
| 87 | specify \-m, e.g.: |
| 88 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 89 | .B " flashrom \-\-mainboard AGAMI:ARUMA \-w agami_aruma.rom" |
Joerg Mayer | 645c6df | 2010-03-13 14:47:48 +0000 | [diff] [blame] | 90 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 91 | See the 'Known boards' or 'Known laptops' section in the output |
| 92 | of 'flashrom \-L' for a list of boards which require the specification of |
| 93 | the board name, if no coreboot table is found. |
Joerg Mayer | 645c6df | 2010-03-13 14:47:48 +0000 | [diff] [blame] | 94 | .TP |
| 95 | .B "\-f, \-\-force" |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 96 | Force one or more of the following actions: |
Joerg Mayer | 645c6df | 2010-03-13 14:47:48 +0000 | [diff] [blame] | 97 | .sp |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 98 | * Force chip read and pretend the chip is there. |
| 99 | .sp |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 100 | * Force chip access even if the chip is bigger than the maximum supported \ |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 101 | size for the flash bus. |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 102 | .sp |
| 103 | * Force erase even if erase is known bad. |
| 104 | .sp |
| 105 | * Force write even if write is known bad. |
Joerg Mayer | 645c6df | 2010-03-13 14:47:48 +0000 | [diff] [blame] | 106 | .TP |
| 107 | .B "\-l, \-\-layout <file>" |
| 108 | Read ROM layout from |
| 109 | .BR <file> . |
Uwe Hermann | 87c0793 | 2009-05-05 16:15:46 +0000 | [diff] [blame] | 110 | .sp |
| 111 | flashrom supports ROM layouts. This allows you to flash certain parts of |
| 112 | the flash chip only. A ROM layout file looks like follows: |
| 113 | .sp |
| 114 | 00000000:00008fff gfxrom |
| 115 | 00009000:0003ffff normal |
| 116 | 00040000:0007ffff fallback |
| 117 | .sp |
| 118 | i.e.: |
| 119 | startaddr:endaddr name |
| 120 | .sp |
| 121 | All addresses are offsets within the file, not absolute addresses! |
| 122 | If you only want to update the normal image in a ROM you can say: |
| 123 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 124 | .B " flashrom \-\-layout rom.layout \-\-image normal \-w agami_aruma.rom" |
Uwe Hermann | 87c0793 | 2009-05-05 16:15:46 +0000 | [diff] [blame] | 125 | .sp |
| 126 | To update normal and fallback but leave the VGA BIOS alone, say: |
| 127 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 128 | .B " flashrom \-l rom.layout \-i normal \" |
Uwe Hermann | 87c0793 | 2009-05-05 16:15:46 +0000 | [diff] [blame] | 129 | .br |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 130 | .B " \-i fallback \-w agami_aruma.rom" |
Uwe Hermann | 87c0793 | 2009-05-05 16:15:46 +0000 | [diff] [blame] | 131 | .sp |
| 132 | Currently overlapping sections are not supported. |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 133 | .TP |
Uwe Hermann | e74b9f8 | 2009-04-10 14:41:29 +0000 | [diff] [blame] | 134 | .B "\-i, \-\-image <name>" |
Uwe Hermann | 67808fe | 2007-10-18 00:29:05 +0000 | [diff] [blame] | 135 | Only flash image |
| 136 | .B <name> |
| 137 | from flash layout. |
Stefan Reinauer | de063bf | 2006-09-21 13:09:22 +0000 | [diff] [blame] | 138 | .TP |
Uwe Hermann | e5ac164 | 2008-03-12 11:54:51 +0000 | [diff] [blame] | 139 | .B "\-L, \-\-list\-supported" |
Uwe Hermann | e8ba538 | 2009-05-22 11:37:27 +0000 | [diff] [blame] | 140 | List the flash chips, chipsets, mainboards, and PCI card "programmers" |
| 141 | supported by flashrom. |
Uwe Hermann | e5ac164 | 2008-03-12 11:54:51 +0000 | [diff] [blame] | 142 | .sp |
Uwe Hermann | e8ba538 | 2009-05-22 11:37:27 +0000 | [diff] [blame] | 143 | There are many unlisted boards which will work out of the box, without |
| 144 | special support in flashrom. Please let us know if you can verify that |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 145 | other boards work or do not work out of the box. |
| 146 | .sp |
| 147 | .B IMPORTANT: |
| 148 | For verification you have |
Uwe Hermann | e8ba538 | 2009-05-22 11:37:27 +0000 | [diff] [blame] | 149 | to test an ERASE and/or WRITE operation, so make sure you only do that |
| 150 | if you have proper means to recover from failure! |
Uwe Hermann | e5ac164 | 2008-03-12 11:54:51 +0000 | [diff] [blame] | 151 | .TP |
Uwe Hermann | 20a293f | 2009-06-19 10:42:43 +0000 | [diff] [blame] | 152 | .B "\-z, \-\-list\-supported-wiki" |
| 153 | Same as |
| 154 | .BR \-\-list\-supported , |
| 155 | but outputs the supported hardware in MediaWiki syntax, so that it can be |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 156 | easily pasted into the wiki page at http://www.flashrom.org/. Please note |
| 157 | that MediaWiki output is not compiled in by default. |
Uwe Hermann | 20a293f | 2009-06-19 10:42:43 +0000 | [diff] [blame] | 158 | .TP |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 159 | .B "\-p, \-\-programmer <name>[:parameter[,parameter[,parameter]]]" |
Carl-Daniel Hailfinger | ce98677 | 2009-05-09 00:27:07 +0000 | [diff] [blame] | 160 | Specify the programmer device. Currently supported are: |
| 161 | .sp |
Uwe Hermann | 530cb2d | 2009-05-14 22:58:21 +0000 | [diff] [blame] | 162 | .BR "* internal" " (default, for in-system flashing in the mainboard)" |
| 163 | .sp |
Uwe Hermann | c7e8a0c | 2009-05-19 14:14:21 +0000 | [diff] [blame] | 164 | .BR "* dummy" " (just prints all operations and accesses)" |
| 165 | .sp |
Uwe Hermann | 530cb2d | 2009-05-14 22:58:21 +0000 | [diff] [blame] | 166 | .BR "* nic3com" " (for flash ROMs on 3COM network cards)" |
| 167 | .sp |
Uwe Hermann | 829ed84 | 2010-05-24 17:39:14 +0000 | [diff] [blame] | 168 | .BR "* nicrealtek" " (for flash ROMs on Realtek network cards)" |
| 169 | .sp |
| 170 | .BR "* nicsmc1211" " (for flash ROMs on RTL8139-compatible SMC2 network cards)" |
| 171 | .sp |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 172 | .BR "* nicnatsemi" " (for flash ROMs on National Semiconductor DP838* network \ |
| 173 | cards)" |
| 174 | .sp |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 175 | .BR "* nicintel" " (for parallel flash ROMs attached to Intel 10/100Mbit \ |
| 176 | network cards) |
| 177 | .sp |
Uwe Hermann | 2bc98f6 | 2009-09-30 18:29:55 +0000 | [diff] [blame] | 178 | .BR "* gfxnvidia" " (for flash ROMs on NVIDIA graphics cards)" |
| 179 | .sp |
TURBO J | b0912c0 | 2009-09-02 23:00:46 +0000 | [diff] [blame] | 180 | .BR "* drkaiser" " (for flash ROMs on Dr. Kaiser PC-Waechter PCI cards)" |
| 181 | .sp |
Uwe Hermann | c7e8a0c | 2009-05-19 14:14:21 +0000 | [diff] [blame] | 182 | .BR "* satasii" " (for flash ROMs on Silicon Image SATA/IDE controllers)" |
| 183 | .sp |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 184 | .BR "* satamv" " (for flash ROMs on Marvell SATA controllers)" |
| 185 | .sp |
Uwe Hermann | ddd5c9e | 2010-02-21 21:17:00 +0000 | [diff] [blame] | 186 | .BR "* atahpt" " (for flash ROMs on Highpoint ATA/RAID controllers)" |
| 187 | .sp |
Jörg Fischer | 6529b9f | 2010-07-29 15:54:53 +0000 | [diff] [blame] | 188 | .BR "* it87spi" " (for flash ROMs behind an ITE IT87xx Super I/O LPC/SPI \ |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 189 | translation unit)" |
Carl-Daniel Hailfinger | b8afecd | 2009-05-31 18:00:57 +0000 | [diff] [blame] | 190 | .sp |
Pete Batard | c020706 | 2011-06-11 12:21:37 +0000 | [diff] [blame] | 191 | .BR "* ft2232_spi" " (for SPI flash ROMs attached to an FT2232/FT4232H family \ |
Jörg Fischer | 6529b9f | 2010-07-29 15:54:53 +0000 | [diff] [blame] | 192 | based USB SPI programmer)" |
Paul Fox | 05dfbe6 | 2009-06-16 21:08:06 +0000 | [diff] [blame] | 193 | .sp |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 194 | .BR "* serprog" " (for flash ROMs attached to a programmer speaking serprog)" |
Carl-Daniel Hailfinger | dfade10 | 2009-08-18 23:51:22 +0000 | [diff] [blame] | 195 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 196 | .BR "* buspirate_spi" " (for SPI flash ROMs attached to a Bus Pirate)" |
Carl-Daniel Hailfinger | d5b28fa | 2009-11-24 18:27:10 +0000 | [diff] [blame] | 197 | .sp |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 198 | .BR "* dediprog" " (for SPI flash ROMs attached to a Dediprog SF100)" |
| 199 | .sp |
Carl-Daniel Hailfinger | e7fdd6e | 2010-07-21 10:26:01 +0000 | [diff] [blame] | 200 | .BR "* rayer_spi" " (for SPI flash ROMs attached to a RayeR parport \ |
| 201 | based programmer)" |
| 202 | .sp |
Idwer Vollering | 004f4b7 | 2010-09-03 18:21:21 +0000 | [diff] [blame] | 203 | .BR "* nicintel_spi" " (for SPI flash ROMs attached to an Intel Gigabit \ |
| 204 | network cards)" |
| 205 | .sp |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 206 | .BR "* ogp_spi" " (for SPI flash ROMs attached to an Open Graphics Project \ |
| 207 | graphics card)" |
| 208 | .sp |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 209 | Some programmers have optional or mandatory parameters which are described |
| 210 | in detail in the |
| 211 | .B PROGRAMMER SPECIFIC INFO |
| 212 | section. Support for some programmers can be disabled at compile time. |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 213 | .B "flashrom \-h" |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 214 | lists all supported programmers. |
| 215 | .TP |
| 216 | .B "\-h, \-\-help" |
| 217 | Show a help text and exit. |
| 218 | .TP |
| 219 | .B "\-R, \-\-version" |
| 220 | Show version information and exit. |
| 221 | .SH PROGRAMMER SPECIFIC INFO |
| 222 | Some programmer drivers accept further parameters to set programmer-specific |
Uwe Hermann | 4e3d0b3 | 2010-03-25 23:18:41 +0000 | [diff] [blame] | 223 | parameters. These parameters are separated from the programmer name by a |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 224 | colon. While some programmers take arguments at fixed positions, other |
| 225 | programmers use a key/value interface in which the key and value is separated |
| 226 | by an equal sign and different pairs are separated by a comma or a colon. |
| 227 | .TP |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 228 | .BR "internal " programmer |
| 229 | Some mainboards require to run mainboard specific code to enable flash erase |
| 230 | and write support (and probe support on old systems with parallel flash). |
| 231 | The mainboard brand and model (if it requires specific code) is usually |
| 232 | autodetected using one of the following mechanisms: If your system is |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 233 | running coreboot, the mainboard type is determined from the coreboot table. |
| 234 | Otherwise, the mainboard is detected by examining the onboard PCI devices |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 235 | and possibly DMI info. If PCI and DMI do not contain information to uniquely |
| 236 | identify the mainboard (which is the exception), it might be necessary to |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 237 | specify the mainboard using the |
| 238 | .B \-m |
| 239 | switch (see above). |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 240 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 241 | Some of these board-specific flash enabling functions (called |
| 242 | .BR "board enables" ) |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 243 | in flashrom have not yet been tested. If your mainboard is detected needing |
| 244 | an untested board enable function, a warning message is printed and the |
| 245 | board enable is not executed, because a wrong board enable function might |
| 246 | cause the system to behave erratically, as board enable functions touch the |
| 247 | low-level internals of a mainboard. Not executing a board enable function |
| 248 | (if one is needed) might cause detection or erasing failure. If your board |
| 249 | protects only part of the flash (commonly the top end, called boot block), |
| 250 | flashrom might encounter an error only after erasing the unprotected part, |
| 251 | so running without the board-enable function might be dangerous for erase |
| 252 | and write (which includes erase). |
| 253 | .sp |
| 254 | The suggested procedure for a mainboard with untested board specific code is |
| 255 | to first try to probe the ROM (just invoke flashrom and check that it |
| 256 | detects your flash chip type) without running the board enable code (i.e. |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 257 | without any parameters). If it finds your chip, fine. Otherwise, retry |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 258 | probing your chip with the board-enable code running, using |
| 259 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 260 | .B " flashrom \-p internal:boardenable=force" |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 261 | .sp |
| 262 | If your chip is still not detected, the board enable code seems to be broken |
| 263 | or the flash chip unsupported. Otherwise, make a backup of your current ROM |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 264 | contents (using |
| 265 | .BR \-r ) |
| 266 | and store it to a medium outside of your computer, like |
| 267 | a USB drive or a network share. If you needed to run the board enable code |
Michael Karcher | 7f0c3ec | 2010-03-07 22:29:28 +0000 | [diff] [blame] | 268 | already for probing, use it for reading too. Now you can try to write the |
| 269 | new image. You should enable the board enable code in any case now, as it |
| 270 | has been written because it is known that writing/erasing without the board |
| 271 | enable is going to fail. In any case (success or failure), please report to |
| 272 | the flashrom mailing list, see below. |
| 273 | .sp |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 274 | On systems running coreboot, flashrom checks whether the desired image matches |
| 275 | your mainboard. This needs some special board ID to be present in the image. |
| 276 | If flashrom detects that the image you want to write and the current board |
| 277 | do not match, it will refuse to write the image unless you specify |
| 278 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 279 | .B " flashrom \-p internal:boardmismatch=force" |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 280 | .sp |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 281 | If your mainboard uses an ITE IT87 series Super I/O for LPC<->SPI flash bus |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 282 | translation, flashrom should autodetect that configuration. You can use the |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 283 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 284 | .B " flashrom \-p internal:it87spiport=portnum" |
| 285 | .sp |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 286 | syntax as explained in the |
| 287 | .B it87spi |
| 288 | programmer section to use a non-default port for controlling the IT87 series |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 289 | Super I/O. In the unlikely case flashrom doesn't detect an active |
| 290 | IT87 LPC<->SPI bridge, you can try to force recognition by using the |
| 291 | .B it87spi |
| 292 | programmer. |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 293 | .sp |
| 294 | Using flashrom on laptops is dangerous and may easily make your hardware |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 295 | unusable (see also the |
| 296 | .B BUGS |
| 297 | section). The embedded controller (EC) in these |
| 298 | machines often interacts badly with flashing. |
| 299 | .B http://www.flashrom.org/Laptops |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 300 | has more information. If flash is shared with the EC, erase is guaranteed to |
| 301 | brick your laptop and write is very likely to brick your laptop. |
| 302 | Chip read and probe may irritate your EC and cause fan failure, backlight |
| 303 | failure, sudden poweroff, and other nasty effects. |
| 304 | flashrom will attempt to detect laptops and abort immediately for safety |
| 305 | reasons. |
| 306 | If you want to proceed anyway at your own risk, use |
| 307 | .sp |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 308 | .B " flashrom \-p internal:laptop=force_I_want_a_brick" |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 309 | .sp |
| 310 | You have been warned. |
| 311 | .sp |
| 312 | We will not help you if you force flashing on a laptop because this is a really |
| 313 | dumb idea. |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 314 | .TP |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 315 | .BR "dummy " programmer |
| 316 | An optional parameter specifies the bus types it |
Carl-Daniel Hailfinger | 3504b53 | 2009-06-01 00:02:11 +0000 | [diff] [blame] | 317 | should support. For that you have to use the |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 318 | .B "flashrom \-p dummy:bus=[type[+type[+type]]]" |
Carl-Daniel Hailfinger | 3504b53 | 2009-06-01 00:02:11 +0000 | [diff] [blame] | 319 | syntax where |
| 320 | .B type |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 321 | can be |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 322 | .BR parallel ", " lpc ", " fwh ", " spi |
| 323 | in any order. If you specify bus without type, all buses will be disabled. |
| 324 | If you do not specify bus, all buses will be enabled. |
Carl-Daniel Hailfinger | 3504b53 | 2009-06-01 00:02:11 +0000 | [diff] [blame] | 325 | .sp |
| 326 | Example: |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 327 | .B "flashrom \-p dummy:bus=lpc+fwh" |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 328 | .TP |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 329 | .BR "nic3com" , " nicrealtek" , " nicsmc1211" , " nicnatsemi" , " nicintel\ |
| 330 | " , " nicintel_spi" , " gfxnvidia" , " ogp_spi" , " drkaiser" , " satasii\ |
| 331 | " , " satamv" ", and " atahpt " programmers |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 332 | These programmers have an option to specify the PCI address of the card |
| 333 | your want to use, which must be specified if more than one card supported |
| 334 | by the selected programmer is installed in your system. The syntax is |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 335 | .BR "flashrom \-p xxxx:pci=bb:dd.f" , |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 336 | where |
Uwe Hermann | c7e8a0c | 2009-05-19 14:14:21 +0000 | [diff] [blame] | 337 | .B xxxx |
| 338 | is the name of the programmer |
Uwe Hermann | 530cb2d | 2009-05-14 22:58:21 +0000 | [diff] [blame] | 339 | .B bb |
| 340 | is the PCI bus number, |
| 341 | .B dd |
| 342 | is the PCI device number, and |
| 343 | .B f |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 344 | is the PCI function number of the desired device. |
Uwe Hermann | 530cb2d | 2009-05-14 22:58:21 +0000 | [diff] [blame] | 345 | .sp |
| 346 | Example: |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 347 | .B "flashrom \-p nic3com:pci=05:04.0" |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 348 | .TP |
| 349 | .BR "it87spi " programmer |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 350 | An optional |
| 351 | .B it87spiport |
| 352 | parameter sets the I/O base port of the IT87 series SPI controller |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 353 | interface to the port specified in the parameter instead of using the port |
| 354 | address set by the BIOS. For that you have to use the |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 355 | .sp |
| 356 | .B " flashrom \-p it87spi:it87spiport=portnum" |
| 357 | .sp |
Carl-Daniel Hailfinger | bb297f7 | 2009-07-11 18:05:42 +0000 | [diff] [blame] | 358 | syntax where |
| 359 | .B portnum |
| 360 | is an I/O port number which must be a multiple of 8. |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 361 | .TP |
Carl-Daniel Hailfinger | 7112772 | 2010-05-31 15:27:27 +0000 | [diff] [blame] | 362 | .BR "ft2232_spi " programmer |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 363 | An optional parameter specifies the controller |
Carl-Daniel Hailfinger | dfade10 | 2009-08-18 23:51:22 +0000 | [diff] [blame] | 364 | type and interface/port it should support. For that you have to use the |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 365 | .sp |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 366 | .B " flashrom \-p ft2232_spi:type=model,port=interface" |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 367 | .sp |
Carl-Daniel Hailfinger | feea272 | 2009-07-01 00:02:23 +0000 | [diff] [blame] | 368 | syntax where |
| 369 | .B model |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 370 | can be |
Pete Batard | c020706 | 2011-06-11 12:21:37 +0000 | [diff] [blame] | 371 | .BR 2232H ", " 4232H ", " jtagkey ", " openmoko ", " arm-usb-tiny ", " \ |
| 372 | arm-usb-tiny-h ", " arm-usb-ocd " or " arm-usb-ocd-h |
Carl-Daniel Hailfinger | feea272 | 2009-07-01 00:02:23 +0000 | [diff] [blame] | 373 | and |
| 374 | .B interface |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 375 | can be |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 376 | .BR A ", or " B . |
Carl-Daniel Hailfinger | feea272 | 2009-07-01 00:02:23 +0000 | [diff] [blame] | 377 | The default model is |
| 378 | .B 4232H |
| 379 | and the default interface is |
| 380 | .BR B . |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 381 | .TP |
| 382 | .BR "serprog " programmer |
| 383 | A mandatory parameter specifies either a serial |
Carl-Daniel Hailfinger | dfade10 | 2009-08-18 23:51:22 +0000 | [diff] [blame] | 384 | device/baud combination or an IP/port combination for communication with the |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 385 | programmer. In the device/baud combination, the device has to start with a |
| 386 | slash. For serial, you have to use the |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 387 | .sp |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 388 | .B " flashrom \-p serprog:dev=/dev/device:baud" |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 389 | .sp |
Carl-Daniel Hailfinger | dfade10 | 2009-08-18 23:51:22 +0000 | [diff] [blame] | 390 | syntax and for IP, you have to use |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 391 | .sp |
Carl-Daniel Hailfinger | 744132a | 2010-07-06 09:55:48 +0000 | [diff] [blame] | 392 | .B " flashrom \-p serprog:ip=ipaddr:port" |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 393 | .sp |
| 394 | instead. More information about serprog is available in |
| 395 | .B serprog-protocol.txt |
| 396 | in the source distribution. |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 397 | .TP |
Carl-Daniel Hailfinger | 7112772 | 2010-05-31 15:27:27 +0000 | [diff] [blame] | 398 | .BR "buspirate_spi " programmer |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 399 | A required |
| 400 | .B dev |
| 401 | parameter specifies the Bus Pirate device node and an optional |
| 402 | .B spispeed |
| 403 | parameter specifies the frequency of the SPI bus. The parameter |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 404 | delimiter is a comma. Syntax is |
Carl-Daniel Hailfinger | dfade10 | 2009-08-18 23:51:22 +0000 | [diff] [blame] | 405 | .sp |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 406 | .B " flashrom \-p buspirate_spi:dev=/dev/device,spispeed=frequency" |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 407 | .sp |
Carl-Daniel Hailfinger | d5b28fa | 2009-11-24 18:27:10 +0000 | [diff] [blame] | 408 | where |
| 409 | .B frequency |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 410 | can be |
| 411 | .BR 30k ", " 125k ", " 250k ", " 1M ", " 2M ", " 2.6M ", " 4M " or " 8M |
Michael Karcher | e5eafb2 | 2010-03-07 12:11:08 +0000 | [diff] [blame] | 412 | (in Hz). The default is the maximum frequency of 8 MHz. |
Carl-Daniel Hailfinger | e7fdd6e | 2010-07-21 10:26:01 +0000 | [diff] [blame] | 413 | .TP |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 414 | .BR "dediprog " programmer |
Carl-Daniel Hailfinger | c244138 | 2010-11-09 22:00:31 +0000 | [diff] [blame] | 415 | An optional |
| 416 | .B voltage |
| 417 | parameter specifies the voltage the Dediprog should use. The default unit is |
| 418 | Volt if no unit is specified. You can use |
| 419 | .BR mV ", " milliVolt ", " V " or " Volt |
| 420 | as unit specifier. Syntax is |
| 421 | .sp |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 422 | .B " flashrom \-p dediprog:voltage=value" |
Carl-Daniel Hailfinger | c244138 | 2010-11-09 22:00:31 +0000 | [diff] [blame] | 423 | .sp |
| 424 | where |
| 425 | .B value |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 426 | can be |
Carl-Daniel Hailfinger | c244138 | 2010-11-09 22:00:31 +0000 | [diff] [blame] | 427 | .BR 0V ", " 1.8V ", " 2.5V ", " 3.5V |
| 428 | or the equivalent in mV. |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 429 | .TP |
Carl-Daniel Hailfinger | e7fdd6e | 2010-07-21 10:26:01 +0000 | [diff] [blame] | 430 | .BR "rayer_spi " programmer |
Carl-Daniel Hailfinger | 37c4252 | 2010-10-05 19:19:48 +0000 | [diff] [blame] | 431 | The default I/O base address used for the parallel port is 0x378 and you can use |
| 432 | the optional |
| 433 | .B iobase |
| 434 | parameter to specify an alternate base I/O address with the |
| 435 | .sp |
| 436 | .B " flashrom \-p rayer_spi:iobase=baseaddr" |
| 437 | .sp |
| 438 | syntax where |
| 439 | .B baseaddr |
| 440 | is base I/O port address of the parallel port, which must be a multiple of |
| 441 | four. Make sure to not forget the "0x" prefix for hexadecimal port addresses. |
| 442 | .sp |
| 443 | More information about the hardware is available at |
Carl-Daniel Hailfinger | e7fdd6e | 2010-07-21 10:26:01 +0000 | [diff] [blame] | 444 | http://rayer.ic.cz/elektro/spipgm.htm |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 445 | .TP |
| 446 | .BR "ogp_spi " programmer |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 447 | The flash ROM chip to access must be specified with the |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 448 | .B rom |
| 449 | parameter. |
| 450 | .sp |
| 451 | .B " flashrom \-p ogp_spi:rom=name" |
| 452 | .sp |
| 453 | Where |
| 454 | .B name |
| 455 | is either |
| 456 | .B cprom |
| 457 | or |
| 458 | .B s3 |
| 459 | for the configuration ROM and |
| 460 | .B bprom |
| 461 | or |
| 462 | .B bios |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 463 | for the BIOS ROM. If more than one card supported by the ogp_spi programmer |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 464 | is installed in your system, you have to specify the PCI address of the card |
| 465 | you want to use with the |
| 466 | .B pci= |
| 467 | parameter as explained in the |
| 468 | .B nic3com |
| 469 | section above. |
| 470 | .sp |
| 471 | More information about the hardware is available at |
| 472 | http://wiki.opengraphics.org |
Peter Stuge | 42688e5 | 2009-01-26 02:20:56 +0000 | [diff] [blame] | 473 | .SH EXIT STATUS |
| 474 | flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem |
| 475 | (/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails. |
Carl-Daniel Hailfinger | b63b067 | 2010-07-02 17:12:50 +0000 | [diff] [blame] | 476 | .SH REQUIREMENTS |
| 477 | flashrom needs different access permissions for different programmers. |
| 478 | .sp |
| 479 | .B internal |
| 480 | needs raw memory access, PCI configuration space access, raw I/O port |
| 481 | access (x86) and MSR access (x86). |
| 482 | .sp |
| 483 | .B it87spi |
| 484 | needs raw I/O port access (x86). |
| 485 | .sp |
| 486 | .BR nic3com ", " nicrealtek ", " nicsmc1211 " and " nicnatsemi " |
| 487 | need PCI configuration space read access and raw I/O port access. |
| 488 | .sp |
| 489 | .B atahpt |
| 490 | needs PCI configuration space access and raw I/O port access. |
| 491 | .sp |
| 492 | .BR gfxnvidia " and " drkaiser |
| 493 | need PCI configuration space access and raw memory access. |
| 494 | .sp |
Carl-Daniel Hailfinger | e7fdd6e | 2010-07-21 10:26:01 +0000 | [diff] [blame] | 495 | .B rayer_spi |
| 496 | needs raw I/O port access. |
| 497 | .sp |
Carl-Daniel Hailfinger | b63b067 | 2010-07-02 17:12:50 +0000 | [diff] [blame] | 498 | .B satasii |
| 499 | needs PCI configuration space read access and raw memory access. |
| 500 | .sp |
| 501 | .B serprog |
| 502 | needs TCP access to the network or userspace access to a serial port. |
| 503 | .sp |
| 504 | .B buspirate_spi |
| 505 | needs userspace access to a serial port. |
| 506 | .sp |
| 507 | .BR dediprog " and " ft2232_spi |
| 508 | need access to the USB device via libusb. |
| 509 | .sp |
| 510 | .B dummy |
| 511 | needs no access permissions at all. |
| 512 | .sp |
| 513 | .BR internal ", " it87spi ", " nic3com ", " nicrealtek ", " nicsmc1211 ", " |
| 514 | .BR nicnatsemi ", " "gfxnvidia" ", " drkaiser ", " satasii " and " atahpt |
| 515 | have to be run as superuser/root, and need additional raw access permission. |
| 516 | .sp |
| 517 | .BR serprog ", " buspirate_spi ", " dediprog " and " ft2232_spi |
| 518 | can be run as normal user on most operating systems if appropriate device |
| 519 | permissions are set. |
| 520 | .sp |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 521 | .B ogp |
| 522 | needs PCI configuration space read access and raw memory access. |
| 523 | .sp |
Carl-Daniel Hailfinger | b63b067 | 2010-07-02 17:12:50 +0000 | [diff] [blame] | 524 | On OpenBSD, you can obtain raw access permission by setting |
| 525 | securelevel=-1 in /etc/rc.securelevel and rebooting, or rebooting into single |
| 526 | user mode. |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 527 | .SH BUGS |
Uwe Hermann | 42eb17f | 2008-01-18 17:48:51 +0000 | [diff] [blame] | 528 | Please report any bugs at |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 529 | .sp |
| 530 | .B " http://www.flashrom.org/trac/flashrom/newticket" |
| 531 | .sp |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 532 | or on the flashrom mailing list at |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 533 | .B "<flashrom@flashrom.org>" |
| 534 | .sp |
| 535 | We recommend to subscribe first at |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 536 | .sp |
| 537 | .B " http://www.flashrom.org/mailman/listinfo/flashrom" |
Carl-Daniel Hailfinger | 2702376 | 2010-04-28 15:22:14 +0000 | [diff] [blame] | 538 | .sp |
| 539 | Using flashrom on laptops is dangerous and may easily make your hardware |
| 540 | unusable unless you can desolder the flash chip and have a full flash chip |
| 541 | backup. This is caused by the embedded controller (EC) present in many laptops, |
| 542 | which interacts badly with any flash attempts. This is a hardware limitation |
| 543 | and flashrom will attempt to detect it and abort immediately for safety reasons. |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 544 | .SH LICENCE |
| 545 | .B flashrom |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 546 | is covered by the GNU General Public License (GPL), version 2. Some files are |
| 547 | additionally available under the GPL (version 2, or any later version). |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 548 | .SH COPYRIGHT |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 549 | .br |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 550 | Please see the individual files. |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 551 | .SH AUTHORS |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 552 | Andrew Morgan |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 553 | .br |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 554 | Carl-Daniel Hailfinger |
| 555 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 556 | Claus Gindhart |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 557 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 558 | David Borg |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 559 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 560 | David Hendricks |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 561 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 562 | Dominik Geyer |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 563 | .br |
Stefan Reinauer | edc6188 | 2010-01-03 14:40:30 +0000 | [diff] [blame] | 564 | Eric Biederman |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 565 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 566 | Giampiero Giancipoli |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 567 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 568 | Helge Wagner |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 569 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 570 | Idwer Vollering |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 571 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 572 | Joe Bao |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 573 | .br |
Stefan Tauner | c0aaf95 | 2011-05-19 02:58:17 +0000 | [diff] [blame] | 574 | Joerg Fischer |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 575 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 576 | Joshua Roys |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 577 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 578 | Luc Verhaegen |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 579 | .br |
Carl-Daniel Hailfinger | 451dc80 | 2009-05-01 11:00:39 +0000 | [diff] [blame] | 580 | Li-Ta Lo |
| 581 | .br |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 582 | Mark Marshall |
| 583 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 584 | Markus Boas |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 585 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 586 | Mattias Mattsson |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 587 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 588 | Michael Karcher |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 589 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 590 | Nikolay Petukhov |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 591 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 592 | Patrick Georgi |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 593 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 594 | Peter Lemenkov |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 595 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 596 | Peter Stuge |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 597 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 598 | Reinder E.N. de Haan |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 599 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 600 | Ronald G. Minnich |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 601 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 602 | Ronald Hoogenboom |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 603 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 604 | Sean Nelson |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 605 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 606 | Stefan Reinauer |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 607 | .br |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 608 | Stefan Tauner |
| 609 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 610 | Stefan Wildemann |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 611 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 612 | Stephan Guilloux |
Carl-Daniel Hailfinger | 3e85442 | 2010-10-06 23:03:21 +0000 | [diff] [blame] | 613 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 614 | Steven James |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 615 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 616 | Uwe Hermann |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 617 | .br |
Stefan Reinauer | edc6188 | 2010-01-03 14:40:30 +0000 | [diff] [blame] | 618 | Wang Qingpei |
Carl-Daniel Hailfinger | 851ecf2 | 2009-01-08 04:56:59 +0000 | [diff] [blame] | 619 | .br |
Stefan Reinauer | edc6188 | 2010-01-03 14:40:30 +0000 | [diff] [blame] | 620 | Yinghai Lu |
Stefan Reinauer | f8337dd | 2006-08-03 10:49:09 +0000 | [diff] [blame] | 621 | .br |
Carl-Daniel Hailfinger | ef69783 | 2010-10-07 22:21:45 +0000 | [diff] [blame] | 622 | some others, please see the flashrom svn changelog for details. |
| 623 | .br |
Uwe Hermann | 68b9cca | 2011-06-15 23:44:52 +0000 | [diff] [blame] | 624 | All authors can be reached via email at <flashrom@flashrom.org>. |
Stefan Reinauer | 261144c | 2006-07-27 23:29:02 +0000 | [diff] [blame] | 625 | .PP |
Uwe Hermann | 9ff514d | 2010-06-07 19:41:25 +0000 | [diff] [blame] | 626 | This manual page was written by Uwe Hermann <uwe@hermann-uwe.de> |
| 627 | and Carl-Daniel Hailfinger. |
Uwe Hermann | 42eb17f | 2008-01-18 17:48:51 +0000 | [diff] [blame] | 628 | It is licensed under the terms of the GNU GPL (version 2 or later). |