Flashrom: Difference between revisions
No edit summary |
|||
Line 378: | Line 378: | ||
<small> | <small> | ||
<sup>1</sup> Unsupported, disabled by default.<br /> | <sup>1</sup> Unsupported, disabled by default.<br /> | ||
<sup>2</sup> 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. ICH2: Identifying and reading chips seems to work, but there are [http://tracker. | <sup>2</sup> 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. ICH2: Identifying and reading chips seems to work, but there are [http://tracker.coreboot.org/trac/coreboot/ticket/7 reports] that writing may not work on some mainboards.<br /> | ||
<sup>4</sup> Untested, but should work.<br /> | <sup>4</sup> Untested, but should work.<br /> | ||
<sup>5</sup> Only reading the chip, but not ''writing'' to it has been tested. Both is expected to work, though.<br /> | <sup>5</sup> Only reading the chip, but not ''writing'' to it has been tested. Both is expected to work, though.<br /> | ||
<sup>6</sup> Should work, but only reading (not writing or erasing) the chip [http://tracker. | <sup>6</sup> Should work, but only reading (not writing or erasing) the chip [http://tracker.coreboot.org/trac/coreboot/changeset/3003 has been tested].<br /> | ||
</small> | </small> | ||
Line 596: | Line 596: | ||
<sup>1</sup> Used in the IGEL WinNET III thin client.<br /> | <sup>1</sup> Used in the IGEL WinNET III thin client.<br /> | ||
<sup>2</sup> Might also work for other CLE266 based EPIAs.<br /> | <sup>2</sup> Might also work for other CLE266 based EPIAs.<br /> | ||
<sup>3</sup> Flashrom works great when booted with the proprietary BIOS. Once booted in | <sup>3</sup> Flashrom works great when booted with the proprietary BIOS. Once booted in coreboot, it does not work reliably. See [http://tracker.coreboot.org/trac/coreboot/ticket/87 bug #87].<br /> | ||
<sup>4</sup> Interestingly flashrom does not work when the vendor BIOS is booted, but it ''does'' work flawlessly when the machine is booted with | <sup>4</sup> Interestingly flashrom does not work when the vendor BIOS is booted, but it ''does'' work flawlessly when the machine is booted with coreboot.<br /> | ||
<sup>5</sup> See http://www. | <sup>5</sup> See http://www.coreboot.org/pipermail/coreboot/2007-September/025281.html.<br /> | ||
<sup>6</sup> Used in the IGEL-316 thin client.<br /> | <sup>6</sup> Used in the IGEL-316 thin client.<br /> | ||
<sup>7</sup> See http://www. | <sup>7</sup> See http://www.coreboot.org/pipermail/coreboot/2007-October/026496.html.<br /> | ||
</small> | </small> | ||
Line 613: | Line 613: | ||
'''Manual Installation''' | '''Manual Installation''' | ||
$ svn co svn:// | $ svn co svn://coreboot.org/repos/trunk/util/flashrom | ||
$ cd flashrom | $ cd flashrom | ||
$ make | $ make | ||
Line 640: | Line 640: | ||
$ flashrom -r backup.bin | $ flashrom -r backup.bin | ||
Write a BIOS image (proprietary or | Write a BIOS image (proprietary or coreboot) on the ROM chip: | ||
$ flashrom -wv newbios.bin | $ flashrom -wv newbios.bin | ||
Line 646: | Line 646: | ||
<div style="color: red">WARNING: This will overwrite your current BIOS! Make sure you know what you're doing!</div> | <div style="color: red">WARNING: This will overwrite your current BIOS! Make sure you know what you're doing!</div> | ||
For more documentation please see the [http://tracker. | For more documentation please see the [http://tracker.coreboot.org/trac/coreboot/browser/trunk/util/flashrom/README flashrom README] or the manpage. |
Revision as of 13:38, 15 January 2008
Flashrom is a utility which can be used to detect, read, 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.
Flash chips
|
Flash chips (cont'd)
|
Southbridges
|
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. ICH2: Identifying and reading chips seems to work, but there are reports that writing may not work on some mainboards.
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 Flashrom works great when booted with the proprietary BIOS. Once booted in coreboot, it does not work reliably. See bug #87.
4 Interestingly flashrom does not work when the vendor BIOS is booted, but it does work flawlessly when the machine is booted with coreboot.
5 See http://www.coreboot.org/pipermail/coreboot/2007-September/025281.html.
6 Used in the IGEL-316 thin client.
7 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 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
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.