Hi Gurken,
Am 26.02.2012 22:46 schrieb Gurken Papst:
Winbond W49F002U flash chip is not detected on a Biostar M7VIQ. Detection and reading flash works using UniFlash 1.40. Writing untested.
Output of flashrom -V: flashrom v0.9.5-r1503 on Linux 2.6.39.3 (i686), built with libpci 3.1.8, GCC 4.6.2, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OS timer resolution is 1 usecs, 832M loops per second, 10 myus = 10 us, 100 myus = 100 us, 1000 myus = 1007 us, 10000 myus = 10169 us, 4 myus = 4 us, OK. Initializing internal programmer No coreboot table found. DMI string system-manufacturer: " " DMI string system-product-name: " " DMI string system-version: " " DMI string baseboard-manufacturer: " " DMI string baseboard-product-name: "KM266-8235" DMI string baseboard-version: " " DMI string chassis-type: "Desktop" Found chipset "VIA VT8235" with PCI ID 1106:3177. Enabling flash write... OK. The following protocols are supported: Non-SPI. Probing for AMD Am29F010A/B, 128 kB: probe_jedec_common: id1 0xd6, id2 0x52, id1 is normal flash content, id2 is normal flash content [...]
superiotool -dV: [...] Found Winbond W83697HF/F/HG (id=0x60, rev=0x12) at 0x2e Register dump: idx 20 21 22 23 24 25 26 28 29 2a val 60 12 ff fe 10 00 00 00 00 f0 def 60 NA ff 00 00 00 00 00 00 MM
Register 0x24 says ROM size is 2 Mbit. Register 0x2a says flash translation is enabled.
We should autodetect this Super I/O and set bit 3 in register 0x24 to enable detection and writing.
LDN 0x00 (Floppy) idx 30 60 61 70 74 f0 f1 f2 f4 f5 val 01 03 f0 06 02 0e 00 ff 00 00 def 01 03 f0 06 02 0e 00 ff 00 00
We have a patch for this somewhere, but it is probably pretty bitrotted and needs to be updated. Would you be willing to test a few patches?
Regards, Carl-Daniel
On Mon, Feb 27, 2012 at 00:27, Carl-Daniel Hailfinger wrote:
Would you be willing to test a few patches?
Sure. I am not used to patch/build, but I think I will be able to get it done. The instructions on http://www.flashrom.org/Downloads don't seem too hard. It will take some time however, until I can test the patched version on the mainboard. I expect to be able to test it on one of the next weekends.