Downloads: Difference between revisions

From flashprog
Jump to navigation Jump to search
Uwe@flashrom.org/ (talk)
("Uwe@flashrom.org/: OpenWT")
(update dependency list)
 
(45 intermediate revisions by 7 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.sourcearcade.org/plugins/gitiles/flashprog browse the flashprog source code] online, or download and install flashprog and/or its source code as explained below.


= Installation from source =
= Installation from source =
'''Requirements:'''
'''Requirements:'''


* '''pkg-config''' to find library dependencies
* '''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''' 1.0 development package ('''libftdi1-dev'''/'''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)
* '''libusb''' 1.0 development package ('''libusb-1.0-0-dev'''), optional support for various USB-based programmers
* '''subversion''' (if you checkout the source and build manually)
* '''libjaylink''' development package ('''libjaylink-dev'''), optional support for J-LINK programmers
* '''libgpiod''' development package ('''libgpiod-dev'''), optional support for GPIO bitbanging under Linux
* various build utilities like meson or make, gcc etc. ('''build-essential''' or similar depending on OS/distribution)
* '''git''' (if you check out the source and build manually)


'''Manual installation from source:'''
== Git ==
The flashprog repository is hosted on sourcearcade.org. All current development happens on the ''main'' branch.


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].
=== sourcearcade.org ===
* Browse: https://review.sourcearcade.org/plugins/gitiles/flashprog
* Clone: <nowiki>https://review.sourcearcade.org/flashprog.git</nowiki>
* Review: https://review.sourcearcade.org/q/project:flashprog+status:open
* Workflow: TBD


=== Mirrors ===
* Clone/Browse: https://github.com/SourceArcade/flashprog.git


If you want the latest source code (for developers), check out our code from subversion:
= Binary Packages =
 
TBD
$ '''svn co <nowiki>svn://flashrom.org/flashrom/trunk</nowiki> flashrom'''
$ '''cd flashrom'''
$ '''make'''
$ '''sudo make install'''
 
You can also download source code snapshots [http://download.flashrom.org/snapshots/?C=M;O=D here].
 
= Binary packages =
 
* '''Debian''':
** Installation: sudo aptitude install flashrom
** Maintainer: [[User:Uwe|Uwe Hermann]]
** [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
** Maintainer: ?, migration happens automatically or semi-automatically from the Debian package
** [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]
* '''Fedora''':
** Installation: sudo yum install flashrom
** 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]
* '''Gentoo''': emerge flashrom
* '''Mandriva''': urpmi flashrom
* '''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].
* '''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: ?
** Maintainer: [http://www.archlinux.org/packages/?maintainer=giovanni Giovanni Scafora]
** [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]
* '''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 [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] [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.
* '''OpenWRT'''
** Installation: ?
** Maintainer: ?
** [https://dev.openwrt.org/browser/packages/utils/flashrom/Makefile package overview]
 
= Releases =
 
* [[Flashrom/0.9.4|flashrom 0.9.4 release notes]]
* [[Flashrom/0.9.3|flashrom 0.9.3 release notes]]
* [[Flashrom/0.9.2|flashrom 0.9.2 release notes]]
* [[Flashrom/0.9.1|flashrom 0.9.1 release notes]]
* [[Flashrom/0.9.0|flashrom 0.9.0 release notes]]

Latest revision as of 22:51, 5 February 2024

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

Installation from source

Requirements:

  • pkg-config to find library dependencies
  • 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 1.0 development package (libftdi1-dev/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
  • libjaylink development package (libjaylink-dev), optional support for J-LINK programmers
  • libgpiod development package (libgpiod-dev), optional support for GPIO bitbanging under Linux
  • various build utilities like meson or make, gcc etc. (build-essential or similar depending on OS/distribution)
  • git (if you check out the source and build manually)

Git

The flashprog repository is hosted on sourcearcade.org. All current development happens on the main branch.

sourcearcade.org

Mirrors

Binary Packages

TBD