New issue
Advanced search Search tips

Issue 897247 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

ChromiumOS Fork of Flashrom has a minor bug in linux_spi.c

Reported by j.peter...@techdefenders.com, Oct 19

Issue description

https://chromium.googlesource.com/chromiumos/third_party/flashrom/


https://chromium.googlesource.com/chromiumos/third_party/flashrom/+/master/linux_spi.c

Steps To Reproduce:
(1) Build flashrom from source on a linux computer 
(2) Run it with the spispeed argument set:
    flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=10000 -r bios.bin
(3) The speed argument is ignored

Expected Result:
Flashrom reads a full 8mb chip at spispeed=10000 in ~15 seconds

Actual Result:
Flashrom reads a full 8mb chip at spispeed=10000 in 4+ minutes 

How frequently does this problem reproduce? Always

What is the impact to the user, and is there a workaround? If so, what is
it?

Before building from source, change line 190 of linux_spi.c from 
p = extract_programmer_param("speed");
to
p = extract_programmer_param("spispeed");

 
Components: OS>Firmware

Sign in to add a comment