Downloads: Difference between revisions

From flashrom
Jump to navigation Jump to search
 
(43 intermediate revisions by 9 users not shown)
Line 1: Line 1:
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.
__TOC__
You can [https://review.coreboot.org/cgit/flashrom.git/tree/ 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 7:
* '''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]]
* '''libusb''' 1.0 development package ('''libusb-1.0-0-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 release, [http://download.flashrom.org/releases/flashrom-0.9.4.tar.bz2 download flashrom 0.9.4 (source) here] [http://download.flashrom.org/releases/flashrom-0.9.4.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, [[Latest release|you can download it from this page]]. Older releases can be found [https://download.flashrom.org/releases/?C=M;O=D here].


If you want the latest source code (for developers), check out our code from subversion:
== Git ==
The Flashrom repository is hosted on coreboot.org and mirrored on Github. All current development happens on the ''master'' branch.


$ '''svn co <nowiki>svn://flashrom.org/flashrom/trunk</nowiki> flashrom'''
=== coreboot.org ===
$ '''cd flashrom'''
* Browse: https://review.coreboot.org/cgit/flashrom.git
$ '''make'''
* Clone: <nowiki>https://review.coreboot.org/flashrom.git</nowiki>
$ '''sudo make install'''
* Review: https://review.coreboot.org/#/q/project:flashrom+status:open
* Workflow: https://www.coreboot.org/Git


You can also download source code snapshots [http://download.flashrom.org/snapshots/?C=M;O=D here].
=== 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 =
= Binary Packages =
[http://flashrom.org/IRC IRC] nicknames are mentioned in parentheses.
 
* '''ALT Linux''':
** Installation: ?
** Maintainer: ?
** [http://packages.altlinux.org/en/Platform5/srpms/flashrom package overview], [http://packages.altlinux.org/en/Sisyphus/srpms/flashrom/bugs bugreports]
 
* '''Arch Linux''':
** Installation: pacman -S flashrom
** Maintainer: [https://www.archlinux.org/people/trusted-users/#Archange Bruno Pagani (Archange)]
** [http://www.archlinux.org/packages/community/x86_64/flashrom/ package overview], [https://bugs.archlinux.org/?project=5&string=flashrom bugreports], [http://projects.archlinux.org/svntogit/community.git/log/flashrom/trunk git repo]


* '''Debian''':
* '''Debian''':
** Installation: sudo aptitude install flashrom
** Installation: sudo apt-get install flashrom
** Maintainer: [[User:Uwe|Uwe Hermann]]
** Maintainer: [[User:Uwe|Uwe Hermann]] (uwe_ / uw3)
** [http://packages.qa.debian.org/f/flashrom.html package overview], [https://buildd.debian.org/status/package.php?p=flashrom build logs], [http://buildd.debian-ports.org/status/package.php?p=flashrom more build logs], [http://qa.debian.org/popcon.php?package=flashrom package popularity], [http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=flashrom bugreports]
** [http://packages.qa.debian.org/f/flashrom.html package overview], [https://buildd.debian.org/status/package.php?p=flashrom build logs], [http://buildd.debian-ports.org/status/package.php?p=flashrom more build logs], [http://qa.debian.org/popcon.php?package=flashrom package popularity], [http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=flashrom bugreports]
* '''Ubuntu''':
 
** Installation: sudo aptitude install flashrom
* '''DOS''':
** Maintainer: ?, migration happens automatically or semi-automatically from the Debian package
** Installation: For instructions on how to cross-compile using Linux see [[DOS]].
** [https://launchpad.net/ubuntu/+source/flashrom package overview], [https://answers.launchpad.net/ubuntu/+source/flashrom/+questions?field.status=OPEN questions], [https://bugs.launchpad.net/ubuntu/+source/flashrom/+bugs?field.status:list=NEW bugreports]
** <s>Alternatively, you may find usable DOS binaries in our [http://buildbot.flashrom.org/buildresults/?M=D buildbot archive]. However, they are usually untested and not recommended to be trusted blindly.</s>
* '''DragonFly BSD''':
** Installation: pkg_add flashrom
** Maintainer: Jonathan Kollasch (jakllsch)
** ?
 
* '''Fedora''':
* '''Fedora''':
** Installation: sudo yum install flashrom
** Installation: sudo yum install flashrom
** Maintainer: Peter Lemenkov
** Maintainer: Peter Lemenkov
** [https://admin.fedoraproject.org/pkgdb/acls/name/flashrom package overview], [https://admin.fedoraproject.org/pkgdb/acls/bugs/flashrom bugreports], [http://pkgs.fedoraproject.org/gitweb/?p=flashrom.git git repo], [http://koji.fedoraproject.org/koji/packageinfo?packageID=4983 build logs], [https://admin.fedoraproject.org/updates/flashrom package updates]
** [https://admin.fedoraproject.org/pkgdb/package/flashrom/ package overview], [https://apps.fedoraproject.org/packages/flashrom/bugs bugreports], [http://pkgs.fedoraproject.org/cgit/flashrom.git/ git repo], [http://koji.fedoraproject.org/koji/packageinfo?packageID=4983 build logs], [https://admin.fedoraproject.org/updates/flashrom package updates]
 
* '''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".
 
* '''Gentoo''':
* '''Gentoo''':
** Install: emerge flashrom
** Install: emerge flashrom
** Maintainer: Mart Raudsepp (leio), Christian Ruppert (idl0r), Peter Stuge
** Maintainer: Mart Raudsepp (leio), Christian Ruppert (idl0r), Peter Stuge (CareBear\)
** [http://packages.gentoo.org/package/sys-apps/flashrom package overview], [https://bugs.gentoo.org/buglist.cgi?quicksearch=flashrom bugreports], [https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&mode=results&search_keywords=flashrom forums]
** [http://packages.gentoo.org/package/sys-apps/flashrom package overview], [https://bugs.gentoo.org/buglist.cgi?quicksearch=flashrom bugreports], [https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&mode=results&search_keywords=flashrom forums], [http://euscan.iksaif.net/package/sys-apps/flashrom/ upstream scanner]
 
* '''Mandriva''':
* '''Mandriva''':
** Installation: urpmi flashrom
** Installation: urpmi flashrom
** Maintainer: Alexander Khryukin
** [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/flashrom/ svn repo], [https://qa.mandriva.com/buglist.cgi?quicksearch=flashrom bugreports]
* '''NetBSD''':
** Installation: pkg_add flashrom
** Maintainer: Jonathan Kollasch (jakllsch)
** [ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/sysutils/flashrom/README.html package overview], [http://www.netbsdpkgsrc.info/packages/sysutils/flashrom.html netbsdpkgsrc info], [http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/flashrom/ CVS repo]
* '''OpenBSD''':
** Installation: ?
** Maintainer: ?
** Maintainer: ?
** [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/flashrom/ svn repo], [https://qa.mandriva.com/buglist.cgi?quicksearch=flashrom bugreports]
** TODO: Are there any ports or binary packages for OpenBSD? Building from source is supported as per README.
* '''openSUSE''': yast -i coreboot-utils
 
** For distributions older than openSUSE Factory (11.0) you find "backports" in the [http://packages.opensuse-community.org/index.jsp?searchTerm=coreboot-utils openSUSE Build Service].
* '''OpenELEC''':
* '''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''':
** Installation: ?
** Installation: ?
** Maintainer: [http://www.archlinux.org/packages/?maintainer=giovanni Giovanni Scafora]
** Maintainer: [mailto:stephan@openelec.tv Stephan Raue]
** [http://www.archlinux.org/packages/community/i686/flashrom/ package overview], [https://bugs.archlinux.org/?project=5&string=flashrom bugreports], [http://projects.archlinux.org/svntogit/community.git/log/flashrom/trunk git repo]
** [http://git.nethq.org/cgi-bin/cgit.cgi/openelec/tree/packages/tools/flashrom git repo]
* '''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.
* '''openSUSE''':
:Run gmake.
** Installation: yast -i coreboot-utils
* '''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:
** Maintainer: [[User:Stepan|Stefan Reinauer]] (Stepan)
** [flashrom] GSoCs Winflashrom versus r126 [http://www.coreboot.org/pipermail/flashrom/2009-August/000225.html]
** [https://build.opensuse.org/package/show?package=flashrom&project=home%3Areinauer package overview], [http://software.opensuse.org/search?q=flashrom&baseproject=ALL&lang=en&exclude_debug=true flashrom packages], [http://software.opensuse.org/search?q=coreboot-utils&baseproject=ALL&lang=en&exclude_debug=true coreboot-utils packages], [https://build.opensuse.org/package/requests?package=flashrom&project=home%3Areinauer requests], [https://bugzilla.novell.com/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__all__&product=&content=flashrom bugreports]
** [flashrom] [PATCH] new windows port [http://www.coreboot.org/pipermail/flashrom/2009-August/000239.html]
 
* '''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. Also general instuctions available here: [[DOS]]
* '''OpenWRT'''
* '''OpenWRT'''
** Installation: ?
** Installation: ?
Line 68: Line 104:
** [https://dev.openwrt.org/browser/packages/utils/flashrom/Makefile package overview], [https://dev.openwrt.org/log/packages/utils/flashrom svn repo]
** [https://dev.openwrt.org/browser/packages/utils/flashrom/Makefile package overview], [https://dev.openwrt.org/log/packages/utils/flashrom svn repo]


= Releases =
* '''PC-BSD'''
** Installation: currently there is no PBI (http://www.pbidir.com/bt/category/sysutils) but the installation instructions to install on FreeBSD can be used. See ftp://ftp.pcbsd.org/pub/handbook/handbook_en_ver8.2.html#__RefHeading__223_1034146141
** Maintainer: ?
** ?
 
* '''Source Mage GNU/Linux:'''
** Installation: cast flashrom
** Maintainer: [mailto:quinq@sourcemage.org Quentin Rameau] (quinq)
** [http://dbg.download.sourcemage.org/codex/stable/utils/flashrom/ package files]
 
* '''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
** [http://launchpad.net/ubuntu/+source/flashrom package overview]
** You can also install daily builds of flashrom's development source from a special [http://code.launchpad.net/~flashrom-developers/+archive/flashrom-daily 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.


* [[Flashrom/0.9.4|flashrom 0.9.4 release notes]]
* '''Windows''':
* [[Flashrom/0.9.3|flashrom 0.9.3 release notes]]
** Installation: See [[Windows]]. Only a limited number of programmers are supported so far.
* [[Flashrom/0.9.2|flashrom 0.9.2 release notes]]
** 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.
* [[Flashrom/0.9.1|flashrom 0.9.1 release notes]]
* [[Flashrom/0.9.0|flashrom 0.9.0 release notes]]

Latest revision as of 05:04, 28 March 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
  • libusb 1.0 development package (libusb-1.0-0-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, you can download it from this page. Older releases can be found here.

Git

The Flashrom repository is hosted on coreboot.org and mirrored on Github. All current development happens on the master branch.

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.