Flashrom: Difference between revisions
(→Supported mainboards: updated status VIA Epias) |
(DoC support is dropped (never worked).) |
||
Line 1: | Line 1: | ||
'''Flashrom''' is a utility which can be used to detect, read, or write BIOS chips (DIP, PLCC, SPI). | '''Flashrom''' is a utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI). | ||
== Supported devices == | == Supported devices == | ||
Line 150: | Line 150: | ||
| {{?}} | | {{?}} | ||
| {{?}} | | {{?}} | ||
|- bgcolor="#dddddd" valign="top" | |- bgcolor="#dddddd" valign="top" | ||
| Macronix | | Macronix | ||
Line 872: | Line 865: | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="# | |- bgcolor="#eeeeee" valign="top" | ||
| PC Engines | | PC Engines | ||
| [http://pcengines.ch/alix1c.htm Alix.1c] | | [http://pcengines.ch/alix1c.htm Alix.1c] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#eeeeee" valign="top" | |||
|- bgcolor="# | |||
| PC Engines | | PC Engines | ||
| [http://pcengines.ch/alix2c2.htm Alix.2c2] | | [http://pcengines.ch/alix2c2.htm Alix.2c2] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#eeeeee" valign="top" | |||
|- bgcolor="# | |||
| PC Engines | | PC Engines | ||
| [http://pcengines.ch/alix2c3.htm Alix.2c3] | | [http://pcengines.ch/alix2c3.htm Alix.2c3] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#eeeeee" valign="top" | |||
|- bgcolor="# | |||
| PC Engines | | PC Engines | ||
| [http://pcengines.ch/alix3c3.htm Alix.3c3] | | [http://pcengines.ch/alix3c3.htm Alix.3c3] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="# | |- bgcolor="#dddddd" valign="top" | ||
| RCA | | RCA | ||
| [http://www.settoplinux.org RM4100] | | [http://www.settoplinux.org RM4100] | ||
Line 901: | Line 891: | ||
| [http://www.tyan.com/archive/products/html/tsunamiatx.html S1846] | | [http://www.tyan.com/archive/products/html/tsunamiatx.html S1846] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#eeeeee" valign="top" | |- bgcolor="#eeeeee" valign="top" | ||
| Tyan | | Tyan | ||
| [http://www.tyan.com/product_board_detail.aspx?pid=115 S2881] | | [http://www.tyan.com/product_board_detail.aspx?pid=115 S2881] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#eeeeee" valign="top" | |- bgcolor="#eeeeee" valign="top" | ||
| Tyan | | Tyan | ||
| [http://www.tyan.com/product_board_detail.aspx?pid=127 S2882] | | [http://www.tyan.com/product_board_detail.aspx?pid=127 S2882] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#eeeeee" valign="top" | |||
|- bgcolor="# | |||
| Tyan | | Tyan | ||
| [http://www.tyan.com/archive/products/html/tomcatk7m.html S2498 (Tomcat K7M)] | | [http://www.tyan.com/archive/products/html/tomcatk7m.html S2498 (Tomcat K7M)] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="# | |- bgcolor="#dddddd" valign="top" | ||
| VIA | | VIA | ||
| [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=81 EPIA-M] | | [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=81 EPIA-M] | ||
| {{OK}}<sup>2</sup> | | {{OK}}<sup>2</sup> | ||
|- bgcolor="#dddddd" valign="top" | |||
|- bgcolor="# | |||
| VIA | | VIA | ||
| [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=202 EPIA-MII] | | [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=202 EPIA-MII] | ||
| {{OK}}<sup>2</sup> | | {{OK}}<sup>2</sup> | ||
|- bgcolor="#dddddd" valign="top" | |||
|- bgcolor="# | |||
| VIA | | VIA | ||
| [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=400 EPIA-CN] | | [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=400 EPIA-CN] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#dddddd" valign="top" | |||
|- bgcolor="# | |||
| VIA | | VIA | ||
| [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=473 EPIA-LN] | | [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=473 EPIA-LN] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#dddddd" valign="top" | |||
|- bgcolor="# | |||
| VIA | | VIA | ||
| [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=490 VB700X] | | [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=490 VB700X] | ||
| {{OK}} | | {{OK}} | ||
|- bgcolor="#dddddd" valign="top" | |||
|- bgcolor="# | |||
| VIA | | VIA | ||
| [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=590 NAB74X0] | | [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=590 NAB74X0] | ||
Line 1,074: | Line 1,056: | ||
Flashrom requires the '''pciutils''' and '''zlib''' and the respective development packages in order to be built. | Flashrom requires the '''pciutils''' and '''zlib''' and the respective development packages in order to be built. | ||
In Debian unstable these development packages are called '''pciutils-dev'''/'''libpci-dev''' and '''zlib1g-dev'''. Most other distributions call them '''pciutils-devel''' and '''zlib-devel'''. | In Debian unstable these development packages are called '''pciutils-dev'''/'''libpci-dev'''/'''libpci-dev''' and '''zlib1g-dev'''. Most other distributions call them '''pciutils-devel''' and '''zlib-devel'''. | ||
'''Manual Installation''' | '''Manual Installation''' |
Revision as of 19:14, 22 June 2008
Flashrom is a utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI).
Supported devices
Note: There are probably some flash ROM chips which are compatible to the ones listed below.
|
|
Supported chipsets
Vendor | Southbridge | Status |
---|---|---|
ALi | M1533 | OK |
AMD | Geode™ CS5530/CS5530A | OK |
AMD | Geode™ SC1100 | ? |
AMD | AMD-8111 | OK |
ATI | SB400 | ? |
Broadcom | HT-1000 | OK |
Intel® | ICH* | OK2 |
Intel® | PIIX4/PIIX4E/PIIX4M | OK |
Intel® | 440MX | OK |
NVIDIA | CK804 | OK |
NVIDIA | MCP51 | ? |
NVIDIA | MCP55 | OK |
SiS | 630 | ? |
SiS | 5595 | ? |
VIA | CX700 | OK |
VIA | VT8231 | ? |
VIA | VT8235 | OK |
VIA | VT8237 | OK |
VIA | VT82C686 | ? |
1 Unsupported, disabled by default.
2 This includes the ICH, ICH0, ICH2, ICH2-M, ICH3-S, ICH3-M, ICH4/ICH4-L, ICH4-M, ICH5/ICH5R, ICH6/ICH6R, ICH6-M, ICH7DH, ICH7/ICH7R, ICH7M, ICH7MDH, ICH8/ICH8R, ICH8DH, and ICH8DO chipsets.
4 Untested, but should work.
5 Only reading the chip, but not writing to it has been tested. Both is expected to work, though.
6 Should work, but only reading (not writing or erasing) the chip has been tested.
Supported mainboards
This is a list of mainboards where we have verified that they either do or do not need any special initialization to make flashrom work (given flashrom supports the respective southbridge and ROM chip), or that they do not yet work at all. If they do not work, support may or may not be added later.
Mainboards which don't appear in the list may or may not work (we don't know, someone has to give it a try). Please report any further verified mainboards on the mailinglist or add them here directly.
Known-good
|
Known-good (but special setup required)
|
Known-bad
|
1 Used in the IGEL WinNET III thin client.
2 Might also work for other CLE266 based EPIAs.
3 Interestingly flashrom does not work when the vendor BIOS is booted, but it does work flawlessly when the machine is booted with coreboot.
4 See http://www.coreboot.org/pipermail/coreboot/2007-September/025281.html.
5 Used in the IGEL-316 thin client.
6 See http://www.coreboot.org/pipermail/coreboot/2007-October/026496.html.
Installation
Requirements
Flashrom requires the pciutils and zlib and the respective development packages in order to be built.
In Debian unstable these development packages are called pciutils-dev/libpci-dev/libpci-dev and zlib1g-dev. Most other distributions call them pciutils-devel and zlib-devel.
Manual Installation
$ svn co svn://coreboot.org/repos/trunk/util/flashrom $ cd flashrom $ make $ sudo make install
Debian
$ sudo aptitude install flashrom
Fedora
$ sudo yum install flashrom
Mandriva
$ urpmi flashrom
openSUSE
$ yast -i coreboot-utils
For distributions older than openSUSE Factory (11.0) you find "backports" in the openSUSE Build Service.
Usage
Detect whether flashrom knows about your chipset/mainboard/BIOS chip:
$ flashrom
Read the current BIOS image into a file:
$ flashrom -r backup.bin
Write a BIOS image (proprietary or coreboot) on the ROM chip:
$ flashrom -wv newbios.bin
For more documentation please see the flashrom README or the manpage.