Random notes/MCP SPI support: Difference between revisions

From flashrom
Jump to navigation Jump to search
Line 16: Line 16:
== Notes ==
== Notes ==
Boards with SPI flash (unconfirmed, guessed from photo):
Boards with SPI flash (unconfirmed, guessed from photo):
* Asus M2N-VM HDMI (nForce 630a) [http://www.saved.im/nje2nzr6bhdi/mainboardobenff3.jpg] [http://overclockzone.com/news/information/2008/07/32/placas-base-amd-placa-asus-m2n-vm-hdmi--athlon-64-athlon-64-fx-ath-1g.jpg]
* Asus M2N-VM HDMI (nForce 630a, MCP67) [http://www.saved.im/nje2nzr6bhdi/mainboardobenff3.jpg] [http://overclockzone.com/news/information/2008/07/32/placas-base-amd-placa-asus-m2n-vm-hdmi--athlon-64-athlon-64-fx-ath-1g.jpg]
* Asus M2N-VM DVI (nForce 630a) [http://www.unitycorp.co.jp/asus/motherboard/amd/socket_am2/m2n-vm_dvi/big_photo.jpg]
* Asus M2N-VM DVI (nForce 630a, MCP67) [http://www.unitycorp.co.jp/asus/motherboard/amd/socket_am2/m2n-vm_dvi/big_photo.jpg]
* Asus M2N-MX SE (nForce 430), probably IT87 translation [http://farm3.static.flickr.com/2664/3918100391_9ddc1db9e6_o.jpg]
* Asus M2N-MX SE (nForce 430), probably IT87 translation [http://farm3.static.flickr.com/2664/3918100391_9ddc1db9e6_o.jpg]
* Asus M2N68-VM (GeForce 7050) [http://img24.imageshack.us/img24/7444/m2n68vmfull2.jpg]
* Asus M2N68-VM (GeForce 7050, MCP67) [http://img24.imageshack.us/img24/7444/m2n68vmfull2.jpg]
* Asus M2N68-AM SE2 (nForce 630a) [http://www.markit.eu/images/original/4a/a8/4aa886ac-61c7-4521-982c-88198d6d6b8b.jpg]
* Asus M2N68-AM SE2 (nForce 630a, MCP61) [http://www.markit.eu/images/original/4a/a8/4aa886ac-61c7-4521-982c-88198d6d6b8b.jpg]
* Asus M2N68-AM Plus (nForce 630a) [http://s2.alejka.pl/i2/p/32/02/7fb40bc61e7a4_0_b.jpg]
* Asus M2N68-AM Plus (nForce 630a, MCP61 or MCP67) [http://s2.alejka.pl/i2/p/32/02/7fb40bc61e7a4_0_b.jpg]
* Asus M4N68T-M (nForce 630a) [http://upload.hardver-teszt.hu/imgs/news/2009/536/asus-m4n68t-m-top.jpg]
* Asus M4N68T-M (nForce 630a) [http://upload.hardver-teszt.hu/imgs/news/2009/536/asus-m4n68t-m-top.jpg]
* ECS GF8200A (GeForce 8200, MCP78S) [http://www.ixbt.com/mainboard/ecs/gf8200a/board.jpg]
* ECS GF8200A (GeForce 8200, MCP78S) [http://www.ixbt.com/mainboard/ecs/gf8200a/board.jpg]

Revision as of 14:11, 16 February 2010

Status

We can't support SPI flash on Nvidia chipsets (except SPI behind LPC/SPI translation) because we don't have the necessary docs for the SPI interface. There are three ways to solve the problem:

  • Get docs from Nvidia. We have unofficial word that you either have to buy 100000 chipsets from them or work with a customer of theirs which buys 100000 chipsets to have a reasonable chance of getting programming information. And yes, we tried personal contacts in their software development group.
  • Get Nvidia to contribute code. This might be easier because they don't have to give us docs for the SPI interface if they supply working code. Needs a compelling business reason for them (and AFAICS "it would be cool" or "it would improve Linux support" is not a valid business reason). We can provide skeleton code for them to fill in, reducing the amount of developer time they have to spend to a few (~2-6) hours.
  • Reverse engineer the interface. This is what we're doing right now. Clean room techniques are being followed. If you're willing to test patches on your board, please contact us via IRC or mail. flashrom revision 902 (and later) has some debug code which could help.

Want to help?

Pick any mainboard with a chipset newer than nForce5 (MCP55). Download latest (at least svn revision 902) flashrom and run as root (lspci output as non-root is useless, and flashrom won't work)

flashrom -V
lspci -nnvvvxxx
superiotool -deV

and mail the output together with the exact name of the mainboard, a link to a BIOS update file (please don't send the BIOS update file itself) to flashrom@flashrom.org . In case superiotool is not installed, you can skip the superiotool output. Please use a subject which contains "MCP SPI".

Notes

Boards with SPI flash (unconfirmed, guessed from photo):

  • Asus M2N-VM HDMI (nForce 630a, MCP67) [1] [2]
  • Asus M2N-VM DVI (nForce 630a, MCP67) [3]
  • Asus M2N-MX SE (nForce 430), probably IT87 translation [4]
  • Asus M2N68-VM (GeForce 7050, MCP67) [5]
  • Asus M2N68-AM SE2 (nForce 630a, MCP61) [6]
  • Asus M2N68-AM Plus (nForce 630a, MCP61 or MCP67) [7]
  • Asus M4N68T-M (nForce 630a) [8]
  • ECS GF8200A (GeForce 8200, MCP78S) [9]

Boards with LPC flash (unconfirmed, guessed from photo):

  • Asus M2N 1394 (nForce 430) [10]
  • Asus M2N-E (nForce 570 Ultra) [11]
  • Asus M2N-E SLI [12]
  • Asus M2N-DH (nForce 430) [13]
  • Asrock ALiveNF5SLI-1394 (nForce 560 SLI) [14]

nForce 630a seems to be exclusively SPI...

ISA/LPC bridge reg 0x8a contents: 0x.., bit 6 is 1, bit 5 is 0

This seems to be the used flash bus, and the result above points to SPI.