Downloads: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
** '''Installation of binaries:''' mine -i flashrom-0.9.0.tar.bz2 | ** '''Installation of binaries:''' mine -i flashrom-0.9.0.tar.bz2 | ||
* '''FreeBSD''': cd /usr/ports/sysutils/flashrom && make install clean | * '''FreeBSD''': cd /usr/ports/sysutils/flashrom && make install clean | ||
:The version from trunk (latest revision while writing this is | :The version from trunk (latest revision while writing this is r878) is usable too but you '''NEED''' to install '''devel/libpci''', sysutils/dmidecode and devel/gmake from ports. | ||
:Furthermore, edit Makefile and change line 254 (diff style): | :Furthermore, edit Makefile and change line 254 (diff style): | ||
:- @$(CC) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 && \' | :- @$(CC) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 && \' |
Revision as of 22:41, 21 January 2010
You can browse the flashrom source code online, or download and install flashrom as explained below.
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
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 r878) is usable too but you NEED to install devel/libpci, sysutils/dmidecode and devel/gmake from ports.
- Furthermore, edit Makefile and change line 254 (diff style):
- - @$(CC) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 && \'
- into this:
- + @$(CC) -c $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 && \'
- Windows: There is a Windows port of the flashrom utility. Download the latest version: DarmawanMappatutu_Salihun.tar.gz.
Releases:
Windows port: In 2009, several patches for Windows, based on a more recent revision of flashrom, were made available: