1FLASHROM(8) System Manager's Manual FLASHROM(8)
2
3
4
6 flashrom - a universal BIOS/ROM/flash programming utility
7
9 flashrom [-rwvEVfLhR] [-c chipname] [-s exclude_start] [-e exclude_end]
10 [-m vendor:part] [-l file.layout] [-i image_name] [file]
11
13 flashrom is a universal flash programming utility for DIP, PLCC, or SPI
14 flash ROM chips. It can be used to flash BIOS/coreboot/firmware images,
15 for example.
16
17 (see http://coreboot.org for details on coreboot)
18
20 If no file is specified, then all that happens is that flash info is
21 dumped and the flash chip is set to writable.
22
23 -r, --read
24 Read flash ROM contents and save them into the given file.
25
26 -w, --write
27 Write file into flash ROM (default when file is specified).
28
29 -v, --verify
30 Verify the flash ROM contents against the given file.
31
32 -E, --erase
33 Erase the flash ROM device.
34
35 -V, --verbose
36 More verbose output.
37
38 -c, --chip <chipname>
39 Probe only for specified flash ROM chip.
40
41 -s, --estart <addr>
42 Exclude start position (obsolete).
43
44 -e, --eend <addr>
45 Exclude end postion (obsolete).
46
47 -m, --mainboard <[vendor:]part>
48 Override mainboard settings. This option is needed for some
49 mainboards, see the flashrom README for a list. The vendor is
50 not required when the board name is unique.
51
52 -f, --force
53 Force write without checking whether the ROM image file is
54 really meant to be used on this board.
55
56 Note: This check only works while coreboot is running, and only
57 for those boards where the coreboot code supports it.
58
59 -l, --layout <layout.file>
60 Read ROM layout from file.
61
62 -i, --image <name>
63 Only flash image <name> from flash layout.
64
65 -L, --list-supported
66 List the ROM chips, chipsets, and mainboards supported by
67 flashrom. The list of mainboards consists of those boards which
68 need a special ROM write-enable function for flashrom to work.
69
70 There are many other boards which will work out of the box,
71 without such special support in flashrom. Some of the known-
72 good/known-bad and tested ones are listed at http://core‐
73 boot.org/Flashrom#Supported_mainboards, but the list is not
74 exhaustive, of course.
75
76 -h, --help
77 Show a help text and exit.
78
79 -R, --version
80 Show version information and exit.
81
83 Please report any bugs at http://tracker.coreboot.org/trac/core‐
84 boot/newticket, or on the coreboot mailing list (http://core‐
85 boot.org/Mailinglist).
86
88 flashrom is covered by the GNU General Public License (GPL), version 2
89 or later.
90
92 2000 Silicon Integrated System Corporation
93 2003 Niki W. Waibel
94 2004 Tyan Corp
95 2005-2007 coresystems GmbH
96
98 Yinghai Lu <yinghai.lu@amd.com>
99 Stefan Reinauer <stepan@coresystems.de>
100 Niki W. Waibel <niki.waibel@gmx.net>
101 some others
102
103 This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>. It
104 is licensed under the terms of the GNU GPL (version 2 or later).
105
106
107
108 January 18, 2008 FLASHROM(8)