Downloads: Difference between revisions

From flashrom
Jump to navigation Jump to search
m (added the snapshot url)
m (text and cosmetic changes)
Line 1: Line 1:
You can [http://flashrom.org/trac/flashrom/browser/trunk browse the flashrom source code] online, or download and install flashrom as explained below.
You can [http://flashrom.org/trac/flashrom/browser/trunk browse the flashrom source code] online, or download and install flashrom and/or its source code as explained below.


= Installation from source =
= Installation from source =
Line 6: Line 6:
* '''pciutils''' development package ('''pciutils-dev'''/'''libpci-dev'''/'''pciutils-devel''', depending on OS/distribution)
* '''pciutils''' development package ('''pciutils-dev'''/'''libpci-dev'''/'''pciutils-devel''', depending on OS/distribution)
* '''zlib''' development package ('''zlib1g-dev'''/'''zlib-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 [[FT2232SPI Programmer|external FT2232SPI flasher]].
* '''libftdi''' development package ('''libftdi-dev'''), optional support for the [[FT2232SPI Programmer|external FT2232SPI flasher]]
* '''subversion''' (if you checkout the source and build manually)
* '''subversion''' (if you checkout the source and build manually)


'''Manual installation from source:'''
'''Manual installation from source:'''


If you just want to use the latest release, [http://qa.coreboot.org/releases/flashrom-0.9.1.tar.bz2 download flashrom 0.9.1 (source) here] [http://qa.coreboot.org/releases/flashrom-0.9.1.tar.bz2.asc (sig)].
If you just want to use the latest release, [http://qa.coreboot.org/releases/flashrom-0.9.1.tar.bz2 download flashrom 0.9.1 (source) here] [http://qa.coreboot.org/releases/flashrom-0.9.1.tar.bz2.asc (sig)].


If you want the latest source code (for developers), check out our code from subversion:
If you want the latest source code (for developers), check out our code from subversion:
Line 20: Line 22:
  $ '''sudo make install'''
  $ '''sudo make install'''


You can download source code snapshots [http://qa.coreboot.org/snapshots/?C=M;O=D here]
You can also download source code snapshots [http://qa.coreboot.org/snapshots/?C=M;O=D here].


= Installation of binary packages =
= Installation of binary packages =
Line 39: Line 41:
:Run gmake.
:Run gmake.
* '''Windows''': There is a (very old and probably obsolete) Windows port of the flashrom utility at [http://google-summer-of-code-2007-coresystems.googlecode.com/files/DarmawanMappatutu_Salihun.tar.gz DarmawanMappatutu_Salihun.tar.gz].<br />In 2009, several patches for Windows, based on a more recent revision of flashrom, were made available:
* '''Windows''': There is a (very old and probably obsolete) Windows port of the flashrom utility at [http://google-summer-of-code-2007-coresystems.googlecode.com/files/DarmawanMappatutu_Salihun.tar.gz DarmawanMappatutu_Salihun.tar.gz].<br />In 2009, several patches for Windows, based on a more recent revision of flashrom, were made available:
** [flashrom] GSoCs Winflashrom versus r126. [http://www.coreboot.org/pipermail/flashrom/2009-August/000225.html]
** [flashrom] GSoCs Winflashrom versus r126 [http://www.coreboot.org/pipermail/flashrom/2009-August/000225.html]
** [flashrom] [PATCH] new windows port [http://www.coreboot.org/pipermail/flashrom/2009-August/000239.html]
** [flashrom] [PATCH] new windows port [http://www.coreboot.org/pipermail/flashrom/2009-August/000239.html]
* '''DOS''':
* '''DOS''':
:A DOS binary can be cross compiled on Linux. Instructions on how to compile can be found here: http://www.flashrom.org/trac/flashrom/browser/trunk/README#L78
: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.


= Releases =
= Releases =

Revision as of 20:09, 2 April 2010

You can browse the flashrom source code online, or download and install flashrom and/or its source code as explained below.

Installation from source

Requirements:

  • 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
  • subversion (if you checkout the source and build manually)


Manual installation from source:

If you just want to use the latest release, download flashrom 0.9.1 (source) here (sig).


If you want the latest source code (for developers), check out our code from subversion:

$ svn co svn://coreboot.org/flashrom/trunk flashrom
$ cd flashrom
$ make
$ sudo make install

You can also download source code snapshots here.

Installation of binary packages

  • Debian: sudo aptitude install flashrom
  • Ubuntu: sudo aptitude install flashrom
  • Fedora: sudo yum install flashrom
  • Gentoo: emerge flashrom
  • Mandriva: urpmi flashrom
  • openSUSE: yast -i coreboot-utils
  • 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
  • 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:
    • [flashrom] GSoCs Winflashrom versus r126 [1]
    • [flashrom] [PATCH] new windows port [2]
  • DOS:
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.

Releases