On Sat, Apr 28, 2012 at 01:24, Stefan Tauner stefan.tauner@student.tuwien.ac.at wrote:
i have hacked it into something that might work for your board; the generalization can happen later. i will reply to this mail with two patches. please apply them to SVN HEAD and try to probe and read, but not erase/write yet please.
Nice job, detection and reading are working. Dumps from UniFlash and Flashrom are equal.
Output of flashrom -V -r m7viq_flashrom.img:
flashrom v0.9.5.2-r1524 on Linux 2.6.39.3 (i686), built with libpci 3.0.0, GCC 4.4.3, 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 = 11 us, 100 myus = 101 us, 1000 myus = 999 us, 10000 myus = 10186 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. Disabling flash write protection for board "Biostar M7VIQ"... OK. The following protocols are supported: Non-SPI. [...] Probing for Winbond W49F002U/N, 256 kB: probe_jedec_common: id1 0xda, id2 0x0b Found Winbond flash chip "W49F002U/N" (256 kB, Parallel) at physical address 0xfffc0000. [...] Found Winbond flash chip "W49F002U/N" (256 kB, Parallel). Reading flash... done. Restoring PCI config space for 00:11:0 reg 0x40 Restoring PCI config space for 00:11:0 reg 0x41
Do you need any additional information?