lp:flashrom

Created by Stefan Tauner and last modified
Get this branch:
bzr branch lp:flashrom

Related bugs

Related blueprints

Branch information

Owner:
flashrom developers
Project:
flashrom
Status:
Development

Import details

Import Status: Failed

This branch is an import of the Subversion branch from svn://flashrom.org/flashrom/trunk.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on pear and finished taking 15 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log
Import started on neumayer and finished taking 40 seconds — see the log

Recent revisions

1932. By stefanct

Increase flashrom version number to 0.9.9.

Signed-off-by: Stefan Tauner <email address hidden>
Acked-by: Carl-Daniel Hailfinger <email address hidden>
Acked-by: Stefan Tauner <email address hidden>
Acked-by: Urja Rannikko <email address hidden>

1931. By hailfinger

Fix fscanf format string security bug in layout.c

An internal security audit of the flashrom project by
Carl-Daniel Hailfinger found a buffer overflow bug present in all
flashrom versions since the year 2005.
This bug was independently found and reported to flashrom.org by
Cosmin Gorgovan a few days ago.

A buffer on the stack and a buffer on the heap are affected by the
overflow caused by an incorrect fscanf format string.
The buffer overflow can only be triggered if the optional layout feature
is used and if the user manually specifies a specially crafted layout
file on the command line. Command line parsing and flash image handling
do not trigger the buggy code path.
Most usage of flashrom does not involve layout files.

The fix in this commit (changed fscanf format string) can be applied to
layout.c of all past flashrom versions.

Signed-off-by: Carl-Daniel Hailfinger <email address hidden>
Acked-by: Stefan Tauner <email address hidden>

1930. By hailfinger

Implement serial port shutdown both for regular termination and error
condition in pony_spi.

Signed-off-by: Carl-Daniel Hailfinger <email address hidden>
Acked-by: Stefan Tauner <email address hidden>

1929. By stefanct

Add a bunch of new/tested stuff and various small changes 25.

Tested mainboards:
OK:
 - ASRock Fatal1ty 970 Performance and P4i65G
   Reported by anonymous email message ID:
   <email address hidden>
   The latter actually had a tested board enable already.

Flash chips:
 - Eon EN25Q128 to PREW (+PREW)
   Reported by Adrian Graham
 - GigaDevice GD25VQ41B to PREW (+PREW)
   Reported by David Hendricks
 - Winbond W39V040FB to PREW (+EW)
   Reported by fjed on IRC

Miscellaneous:
 - Change PCI IDs of "MS-6577 (Xenon)" board enable.
   The previous IDs contained the on-board display adapter which is
   disabled when a dedicated graphics card is installed.
 - Add a note to the README how to overcome the clang warning if only a
   single programmer is enabled.
 - Fix some typo and manpage problems found by lintian
 - r1920 introduced some explicit calls to pkg-config instead of $(PKG_CONFIG).
   This patch corrects that.
 - Make MS-7094 (K8T Neo2-F V2.0) board enable less contestable.
   Previous PCI IDs were board-specific but ot the other of devices
   that could be disabled by the firmware or that vary among
   hardware revions. There are no good alternatives available.
   However, since we always have a DMI decoder available now, we can
   use non-board-specific devices without taking risks. Thanks to
   Uwe Hermann for reporting and testing.
 - Some other small changes to clean up whitespace and fix some warnings
   from Debian's lintian.

Signed-off-by: Stefan Tauner <email address hidden>
Acked-by: Stefan Tauner <email address hidden>
Acked-by: Carl-Daniel Hailfinger <email address hidden>

1928. By stefanct

Fix compilation on SunOS.

This came up when I was testing if building on SunOS still works
on the buildbot's instance of OmniOS r151014 which is based on illumos.

The fix is
 - to link against libnsl
 - a small C type fix in ich_descriptor_tool

Signed-off-by: Stefan Tauner <email address hidden>
Acked-by: Carl-Daniel Hailfinger <email address hidden>

1927. By hailfinger

Specifying spispeed=reserved as programmer parameter resulted in
selecting the default SPI speed instead of aborting. Rewrite the logic
to be more readable.

Signed-off-by: Carl-Daniel Hailfinger <email address hidden>
Acked-by: Stefan Tauner <email address hidden>

1926. By stefanct

Add support for GNU Hurd.

Signed-off-by: Stefan Tauner <email address hidden>
Acked-by: Carl-Daniel Hailfinger <email address hidden>

1925. By stefanct

Add support for GD25VQ21B, GD25VQ40C, GD25VQ80C and GD25VQ16C.

Signed-off-by: Hatim Kanchwala <email address hidden>
Acked-by: Stefan Tauner <email address hidden>

1924. By hailfinger

Makefile: Fix driver blacklist dependencies

Allow mstarddc_spi and pony_spi on Android.
Allow mstarddc_spi and pony_spi on architectures with unsupported raw
access.

Signed-off-by: Carl-Daniel Hailfinger <email address hidden>
Acked-by: Stefan Tauner <email address hidden>

1923. By stefanct

rayer_spi: add support for SPI Tiny Tools-compatible hardware.

Apparently, there is at least one board of Russian origin (coined
SPI_TT LPT) that works with SPI Tiny Tools which is a closed-source
Windows GUI program somewhat similar to flashrom.

Signed-off-by: Stefan Tauner <email address hidden>
Acked-by: Stefan Tauner <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.