You can browse the flashrom source code online, or download and install flashrom and/or its source code as explained below.
Installation from source
- pciutils development package (pciutils-dev/libpci-dev/pciutils-devel, depending on OS/distribution)
- zlib development package (zlib1g-dev/zlib-devel, depending on OS/distribution)
- libftdi development package (libftdi-dev), optional support for the external FT2232SPI flasher
- various build utilities like make, gcc etc. (build-essential or similar depending on OS/distribution)
- subversion (if you checkout the source and build manually)
Manual installation from source:
If you want the latest source code (for developers), check out our code from subversion:
$ svn co svn://flashrom.org/flashrom/trunk flashrom $ cd flashrom $ make $ sudo make install
You can also download source code snapshots here.
- openSUSE: yast -i coreboot-utils
- For distributions older than openSUSE Factory (11.0) you find "backports" in the openSUSE Build Service.
- T2 SDE
- Installation from source: Emerge-Pkg flashrom
- Installation of binaries: mine -i flashrom-0.9.1.tar.bz2
- Source Mage GNU/Linux: cast flashrom
- Arch Linux:
- FreeBSD: cd /usr/ports/sysutils/flashrom && make install clean
- The version from trunk (latest revision while writing this is r968) is usable too, but you NEED to install devel/libpci, sysutils/dmidecode and devel/gmake from ports.
- Run gmake.
- Windows: There is a (very old and probably obsolete) Windows port of the flashrom utility at DarmawanMappatutu_Salihun.tar.gz.
In 2009, several patches for Windows, based on a more recent revision of flashrom, were made available:
- A DOS binary can be cross compiled using Linux. Instructions on how to compile can be found here: http://www.flashrom.org/trac/flashrom/browser/trunk/README#L78. Also general instuctions available here: DOS