[flashrom] [PATCH] Add support for the Open Graphics Project card as a programmer

Mark Marshall mark.marshall at csr.com
Wed Dec 1 19:12:17 CET 2010


Hi.

The attached patch adds support for the Open Graphics Project 
development card, OGD1, as a SPI flash programmer.  The project is in 
the the process of designing and making a complete, open source, 
graphics card.  Check out http://wiki.opengraphics.org.

The first development card is a PCI add in card containing a couple of 
FPGAs and a couple of serial flash chips (amongst other things).  The 
FPGA's are called XP10 and S3 (their part numbers).  The XP10 contains 
it's own flash and does not need to be programmed by flashrom - it 
ensures that the device can enumerate on the PCI bus without needing 
further configuration.

The larger FPGA is the S3.  This is configured from a large serial flash 
(2M bytes).  The second serial flash is used to store the VGA BIOS.  It 
is smaller (128K bytes).

The attached patch adds support for programming either of the two serial 
flash chips.  They are both serial SPI devices.

The programmer device takes one configuration option which selects which 
of the two flash chips is accessed.  This must be set to either "cprom" 
or "bprom".  (The project refers to the two chips as "cprom" / "bprom", 
"s3" and "bios" are more readable alternatives).

I have also attached a log of the modified flashrom talking to both 
devices.  I can read, erase, write and verify to both.  The chips 
installed on my card are a SST25VF010 and a SST25VF016B.  I have added a 
section to flashchips.c for the former.  I have modified the flags of 
the later to say that writing works.

Signed-off-by: Mark Marshall <mark.marshall at csr.com>

Thanks,

MM
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-oga1.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20101201/4cc0efda/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20101201/4cc0efda/attachment-0001.txt>


More information about the flashrom mailing list