[flashrom] Add timeout check to SPI bitbang bus request

GatoLoko gatoloko at gmail.com
Tue Oct 11 17:53:13 CEST 2011



-------- Mensaje original --------
Asunto: Re: [flashrom] Add timeout check to SPI bitbang bus request
Fecha: Tue, 11 Oct 2011 16:22:17 +0200
De: GatoLoko <GatoLoko at gmail.com>
Para: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

El 11/10/11 14:42, Carl-Daniel Hailfinger escribió:
> Here is an updated timeout patch (no functional changes for
> nicintel_spi). A year has passed, and I'm still trying to find someone
> who can test and ack it.
> 
> GatoLoko: This new patch also addresses the SB600 timeout issue you were
> seeing.
> 
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Tested it, and seems to work, but the timeout feels a little too long.
It took half an hour to complete a pass where no chip was found.

The chip is a MX25L4005APC-12G.

There was a few "strange" messages, don't know if they are related. The
messages are:

"Not unmapping zero size at 0xffffffffffffffff"

and:

"""
Probing for ST M25P40-old, 512 kB: sb600_spi_send_command, cmd=9f,
writecnt=0, readcnt=3
Writing:
SB600 FIFO pointer is 0, wanted 0
Executing:
SB600: execute_command timeout!
sb600_spi_send_command, cmd=90, writecnt=3, readcnt=2
Writing: [00][00][00]
SB600 FIFO pointer corruption! Pointer is 0, wanted 3
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash
chip.
sb600_spi_send_command, cmd=ab, writecnt=3, readcnt=1
Writing: [00][00][00]
SB600 FIFO pointer corruption! Pointer is 0, wanted 3
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash
chip.
"""

Attached is a full pass log.


-- 
GatoLoko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.txt.gz
Type: application/x-gzip
Size: 3571 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20111011/24c6d4b6/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20111011/24c6d4b6/attachment.asc>


More information about the flashrom mailing list