[flashrom] flashrom cannot write on ecs-A785GM-M7

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Aug 27 01:53:03 CEST 2013


Hi Beeblebrox,

thanks for your report.

Am 24.08.2013 16:34 schrieb Beeblebrox:
> Unless I'm doing something seriously wrong,

You're doing it right, but your hardware has some quirks which can only
be handled by flashrom 0.9.7 or later.


> flashrom cannot write to my BIOS. output of command attached.
> flashrom -V -p internal -w 7857B916.ROM -o writelog.txt
>
> A non-text attachment 7857B916.ROM has been stripped. It is available at
> http://paste.flashrom.org/view.php?id=1760
>
>
> flashrom v0.9.6.1-r1564 on FreeBSD 9.2-PRERELEASE (amd64)
> flashrom was built with libpci 3.1.10, GCC 4.2.1 20070831 patched [FreeBSD], little endian
> Command line (7 args): flashrom -V -p internal -w 7857B916.ROM -o writelog.txt
> Calibrating delay loop... OS timer resolution is 1 usecs, 1642M loops per second, 10 myus = 11 us, 100 myus = 98 us, 1000 myus = 1021 us, 10000 myus = 9865 us, 4 myus = 5 us, OK.
> Initializing internal programmer
> No coreboot table found.
> DMI string system-manufacturer: "ECS"
> DMI string system-product-name: "A785GM-M7"
> DMI string system-version: "1.0                   "
> DMI string baseboard-manufacturer: "ECS"
> DMI string baseboard-product-name: "A785GM-M7"
> DMI string baseboard-version: "1.0                   "
> DMI string chassis-type: "Desktop"
> W836xx enter config mode worked or we were already in config mode. W836xx leave config mode had no effect.
> Active config mode, unknown reg 0x20 ID: 00.
> Please send the output of "flashrom -V" to 
> flashrom at flashrom.org with W836xx: your board name: flashrom -V
> as the subject to help us finish support for your Super I/O. Thanks.

This is very interesting. It might be related to AMD IMC, but I'm not sure.


> Found ITE Super I/O, ID 0x8726 on port 0x2e
> Found chipset "AMD SB7x0/SB8x0/SB9x0" with PCI ID 1002:439d. Enabling flash write... SPI base address is at 0xfec10000
> AltSpiCSEnable=0, SpiRomEnable=1, AbortEnable=0
> PrefetchEnSPIFromIMC=1, PrefetchEnSPIFromHost=1, SpiOpEnInLpcMode=1
> SpiArbEnable=1, SpiAccessMacRomEn=1, SpiHostAccessRomEn=1, ArbWaitCount=4, SpiBridgeDisable=1, DropOneClkOnRd=0
> NormSpeed is 33 MHz
> GPIO11 used for SPI_DO
> GPIO12 used for SPI_DI
> GPIO31 used for SPI_HOLD
> GPIO32 used for SPI_CS
> GPIO47 used for SPI_CLK
> SB700 IMC is active.
> The SB700 IMC is active and may interfere with SPI commands. Disabling write.

Could you please retry with flashrom 0.9.7, preferably just reading the
flash chip and producing a log file? See below for instructions.

> ROM strap override is not active
> OK.
> Super I/O ID 0x8726 is not on the list of flash capable controllers.

It would be great if you could run the following command with flashrom
0.9.7.
flashrom -p internal --output readlog.txt -r backup.bin

Then please send readlog.txt to this mailing list. I hope to get further
insight from this.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list