On 03.12.2010 14:00, Mark Marshall wrote:
You're right, the naming in the first patch was a little off. The problem is that I'm not really sure what name to use - OGP is the project, OGD1 is the first development card and OGA1 is the first real card (which is still in the future). I've moved to calling it OGP - in the scope of flashrom this seems like the best choice. IF we have multiple different cards then I can add a parameter to choose between them.
I've also folded in your changes, and written a short entry for the man page.
Thanks for incorporating the review comments!
Signed-off-by: Mark Marshall
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net and committed with minor changes (cosmetics) in r1241.
Regards, Carl-Daniel
On 01.12.2010 19:12, Mark Marshall wrote:
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).