Downloads: Difference between revisions
Jump to navigation
Jump to search
Uwe@flashrom.org/ (talk) ("Uwe@flashrom.org/: Various fixes.") |
Hailfinger@flashrom.org/ (talk) ("Hailfinger@flashrom.org/: Wikify a bit more") |
||
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 as explained below. | ||
= Installation from source = | |||
'''Requirements:''' | '''Requirements:''' | ||
Line 19: | Line 20: | ||
$ '''sudo make install''' | $ '''sudo make install''' | ||
= Installation of binary packages = | |||
* '''Debian''': sudo aptitude install flashrom | * '''Debian''': sudo aptitude install flashrom | ||
Line 44: | Line 45: | ||
** [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] | ||
= Releases = | |||
* [[Flashrom/0.9.0|flashrom 0.9.0 release notes]] | * [[Flashrom/0.9.0|flashrom 0.9.0 release notes]] | ||
* [[Flashrom/0.9.1|flashrom 0.9.1 release notes]] | * [[Flashrom/0.9.1|flashrom 0.9.1 release notes]] | ||
* [[Flashrom/0.9.2|flashrom 0.9.2 release note draft]] | * [[Flashrom/0.9.2|flashrom 0.9.2 release note draft]] |
Revision as of 17:46, 3 December 2023
You can browse the flashrom source code online, or download and install flashrom 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
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
- For distributions older than openSUSE Factory (11.0) you find "backports" in the openSUSE Build Service.
- T2 SDE
- Installation from source: Emerge-Pkg flashrom
- Installation of binaries: mine -i flashrom-0.9.0.tar.bz2
- FreeBSD: cd /usr/ports/sysutils/flashrom && make install clean
- The version from trunk (latest revision while writing this is r889) is usable too, but you NEED to install devel/libpci, sysutils/dmidecode and devel/gmake from ports.
- After installing, edit flashrom's Makefile and change line 253 (diff style):
- - @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 && \
- into this:
- + @$(CC) -c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 && \
- Save the file and 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: