1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
. "$GRIMOIRE/FUNCTIONS"
SPELL=flashrom
if [[ ${FLASHROM_BRANCH} == scm ]]
then
VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_URL[0]=svn://coreboot.org/flashrom/trunk:${SOURCE%.tar.bz2}
FORCE_DOWNLOAD=on
SOURCE_IGNORE=volatile
else
VERSION=0.9.5.2
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE_URL[0]=http://download.flashrom.org/releases/$SOURCE
SOURCE_HASH=sha512:cfbf00302fb804832d5bf63621b0fa2eb548981c2a208e0bb55a1fd04248744314028dc353dc7ad1b2f66480617683a265f47af15141d458ae442a83174b9bb0
fi
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SOURCE%.tar.bz2}
WEB_SITE=http://flashrom.org/Flashrom
ENTERED=20100328
LICENSE[0]=GPL
SHORT="utility for identifying, reading, writing, verifying and erasing flash chips"
cat << EOF
flashrom is a utility for identifying, reading, writing, verifying and erasing
flash chips. It's often used to flash BIOS/EFI/coreboot/firmware images.
- Supports more than 205 flash chips, 75 chipsets, 130 mainboards, and 17
devices (PCI or USB) which can be used as external programmers.
- Supports parallel, LPC, FWH and SPI flash interfaces and various chip
packages (DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40, TSOP48, and more)
- No physical access needed, root access is sufficient.
- No bootable floppy disk, bootable CD-ROM or other media needed.
- No keyboard or monitor needed. Simply reflash remotely via SSH.
- No instant reboot needed. Reflash your chip in a running system, verify it,
be happy. The new firmware will be present next time you boot.
- Crossflashing and hotflashing is possible as long as the flash chips are
electrically and logically compatible (same protocol). Great for recovery.
- Scriptability. Reflash a whole pool of identical machines at the same time
from the command line. It is recommended to check flashrom output and error
codes.
- Speed. flashrom is often much faster than most vendor flash tools.
- Portability. Supports DOS, Linux, FreeBSD, NetBSD, DragonFly BSD, Solaris,
Mac OS X, and other Unix-like OSes. Partial Windows support is available,
and full Windows support exists as a patch.
EOF
|