[flashrom] Flashing MX 25L12873F on MSI board via Raspberry Pi SPI

Nico Huber nico.h at gmx.de
Wed Jan 10 21:41:42 CET 2018


Hello Fabian,

On 09.01.2018 21:36, Fabian Köster wrote:
> After doing some research I found some guides abouting flashing the bios
> chip from outside. One article especially captured my interest, which
> described how to access the flash chip via the JSPI1 header on the
> mainboard from a Raspberry Pi [2].
> 
> I followed that guide, but I cannot manage to get a connection to the
> chip. I found out the used chip is a MX 25L12873F [3], but it is not
> listed as supported on [4], does this mean it will not work with Flashrom?

if I understand the datasheet of that chip correctly, flashrom should at
least detect a related chip (that might even be compatible for your pur-
pose).

> 
> Or is maybe something wrong with my wiring? In contrast to the
> description of the JSPI1 MSI connector on [5] the connector on my board
> has 12 pins, so I was a little bit confused.

Well, there is no standard for that connector. MSI can do there whatever
they like. If you have a multimeter at hand, you can probe which pins of
the header are connected to which pins of the flash chip (the flash chip
should be directly above the header).

Please send a verbose log of your flashrom run (preferably taken with
`-o logfile.txt` appended to your flashrom command). If you use a Rasp-
berry Pi, most common problem is an unknown clock. The linux_spi pro-
grammer has a `spispeed` setting that you should set to a reasonable
value (it's in kHz, so try values between 100 and 10,000).

Nico



More information about the flashrom mailing list