Downloads: Difference between revisions

From flashprog
Jump to navigation Jump to search
Uwe@flashrom.org/ (talk)
("Uwe@flashrom.org/: 0.9.5.2")
Uwe@flashrom.org/ (talk)
("Uwe@flashrom.org/: *Empty MediaWiki Message*")
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 various [[FT2232SPI Programmer|external FT2232SPI flashers]]
* various build utilities like make, gcc etc. ('''build-essential''' or similar depending on OS/distribution)
* various build utilities like make, gcc etc. ('''build-essential''' or similar depending on OS/distribution)
* '''subversion''' (if you checkout the source and build manually)
* '''subversion''' (if you checkout the source and build manually)

Revision as of 17:46, 3 December 2023

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 various external FT2232SPI flashers
  • 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 just want to use the latest release, download flashrom 0.9.5.2 (source) here (GPG signature). Older releases can be found here.

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

The sudo make install is optional: you can run flashrom from its subversion directory with sudo ./flashrom.

You can also download source code snapshots here.

Binary packages

IRC nicknames are mentioned in parentheses.

  • DragonFly BSD:
    • Installation: pkg_add flashrom
    • Maintainer: Jonathan Kollasch (jakllsch)
    • ?
  • FreeBSD:
    • Installation from ports: cd /usr/ports/sysutils/flashrom && make install clean
    • Installation using a package: pkg_add -r flashrom
    • Maintainer: Alexander Logvinov
    • The version from subversion's trunk (latest revision while editing is r1416) is usable as well. To checkout and compile the source code you need to install devel/gmake, devel/libpci, devel/subversion and sysutils/dmidecode, either from ports or using "pkg_add -r". The subversion URI is at the top of this page. Compile with "gmake".
  • OpenBSD:
    • Installation: ?
    • Maintainer: ?
    • TODO: Are there any ports or binary packages for OpenBSD? Building from source is supported as per README.
  • T2 SDE
    • Installation from source: Emerge-Pkg flashrom
    • Installation of binaries: mine -i flashrom-0.9.1.tar.bz2
    • Maintainer: ?
    • ?
  • Ubuntu:
    • Installation: sudo aptitude install flashrom
    • Maintainer: ?, migration happens automatically or semi-automatically from the Debian package
    • package overview
    • You can also install daily builds of flashrom's development source from a special PPA. Please note that these are experimental binaries that may or may not be safe to use. We try to do our best to let dangerous bugs not slip into this, but it may sometimes happen. Usually it is safer to use those than very old (<=0.9.2) stable releases.
  • Windows:
    • Installation: Currently a build from source is required via MinGW/MSYS, see Windows. Only dummy, ft2232_spi, and buspirate_spi are supported so far.
    • Maintainer: Uwe Hermann (uwe_) and others
    • 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]

Releases