Downloads: Difference between revisions

From flashrom
Jump to navigation Jump to search
(remove old svn link which has been dead for months (and nobody missed it))
(Updated for active (git) repositories, remove old SVN repository reference)
Line 10: Line 10:
* '''libusb''' development package ('''libusb-dev'''), optional support for various USB-based programmers
* '''libusb''' development package ('''libusb-dev'''), optional support for various USB-based programmers
* 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)
* '''git''' (if you checkout the source and build manually)


'''Manual installation from source:'''
== Snapshots ==


If you just want to use the latest stable release, [http://download.flashrom.org/releases/flashrom-0.9.9.tar.bz2 download flashrom 0.9.9 (source) here] [http://download.flashrom.org/releases/flashrom-0.9.9.tar.bz2.asc (GPG signature)]. Older releases can be found [http://download.flashrom.org/releases/?C=M;O=D here].
If you just want to use the latest stable release, [http://download.flashrom.org/releases/flashrom-0.9.9.tar.bz2 download flashrom 0.9.9 (source) here] [http://download.flashrom.org/releases/flashrom-0.9.9.tar.bz2.asc (GPG signature)]. Older releases can be found [http://download.flashrom.org/releases/?C=M;O=D here].


If you want the latest source code (for developers), check out our code from subversion:
You can also download source code snapshots [http://download.flashrom.org/snapshots/?C=M;O=D here].


$ '''svn co <nowiki>https://code.coreboot.org/svn/flashrom/trunk</nowiki> flashrom'''
== Git ==
$ '''cd flashrom'''
The Flashrom repository is hosted on coreboot.org and mirrored on Github. It is organized with two main branches:
$ '''make'''
* Stable: This tracks the latest "stable" release.
# The next step is optional!
* Staging: This is where active development occurs. To use it run `git checkout staging`. Use with caution!
$ '''sudo make install'''


The '''sudo make install''' is optional: you can run flashrom from its subversion directory with '''sudo ./flashrom'''.
=== coreboot.org ===
 
* Browse: https://review.coreboot.org/cgit/flashrom.git
You can also download source code snapshots [http://download.flashrom.org/snapshots/?C=M;O=D here].
* Clone: <nowiki>https://review.coreboot.org/flashrom.git</nowiki>
* Review: https://review.coreboot.org/#/q/project:flashrom+status:open
* Workflow: https://www.coreboot.org/Git


= Binary packages =
=== Github ===
* Browse: https://github.com/flashrom/flashrom
* Clone: <nowiki>https://github.com/flashrom/flashrom.git</nowiki>
* Review: https://github.com/flashrom/flashrom/pulls
* Workflow: https://help.github.com/articles/creating-a-pull-request/


= Binary Packages =
[http://flashrom.org/IRC IRC] nicknames are mentioned in parentheses.
[http://flashrom.org/IRC IRC] nicknames are mentioned in parentheses.



Revision as of 22:56, 3 September 2017

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
  • libusb development package (libusb-dev), optional support for various USB-based programmers
  • various build utilities like make, gcc etc. (build-essential or similar depending on OS/distribution)
  • git (if you checkout the source and build manually)

Snapshots

If you just want to use the latest stable release, download flashrom 0.9.9 (source) here (GPG signature). Older releases can be found here.

You can also download source code snapshots here.

Git

The Flashrom repository is hosted on coreboot.org and mirrored on Github. It is organized with two main branches:

  • Stable: This tracks the latest "stable" release.
  • Staging: This is where active development occurs. To use it run `git checkout staging`. Use with caution!

coreboot.org

Github

Binary Packages

IRC nicknames are mentioned in parentheses.

  • DOS:
    • Installation: For instructions on how to cross-compile using Linux see DOS.
    • Alternatively, you may find usable DOS binaries in our buildbot archive. However, they are usually untested and not recommended to be trusted blindly.
  • 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".
  • Mandriva:
  • 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: See Windows. Only a limited number of programmers are supported so far.
    • There were some attempts to create a full Windows port of the flashrom utility but none really succeeded and made it into the source code.

Releases