Hi Aleksey,
thanks for your report. I noticed that you come from a @nexenta address. Did you test flashrom under OpenSolaris and Nexenta as well? It should compile and work, but we didn't get any recent test reports.
On 30.11.2010 01:59, Aleksey A. Fakeyev wrote:
Reading ok, see log below, but can't write because (I guess) DUAL-BIOS technology is blame it
- program detected 2M flash but 1M of this used to fallback and
firmware binary has size 1M...
Yes, flashrom refuses to write images which have a size != the flash chip size. We are currently discussing how an image size mismatch should be handled. That decision is really difficult because a top alignment would work on most x86, but may explode badly on laptops with separate EC flash.
It would be nice if you could test write with a full 2 MB image.
LOG:
root@stalker BIOS # flashrom -Vr ./x58a-ud3r.bin flashrom v0.9.2-r1001 on Linux 2.6.36-gentoo-r1_aSe (x86_64), built with libpci 3.1.7, GCC 4.5.1 DMI string system-manufacturer: "Gigabyte Technology Co., Ltd." DMI string system-product-name: "X58A-UD3R" DMI string system-version: " " Found chipset "Intel ICH10R", enabling flash write... OK. Probing for Macronix MX25L1605, 2048 KB: probe_spi_rdid_generic: id1 0xc2, id2 0x2015 Chip status register is 00 Chip status register: Status Register Write Disable (SRWD) is not set Chip status register: Bit 6 is not set Chip status register: Bit 5 / Block Protect 3 (BP3) is not set Chip status register: Bit 4 / Block Protect 2 (BP2) is not set Chip status register: Bit 3 / Block Protect 1 (BP1) is not set Chip status register: Bit 2 / Block Protect 0 (BP0) is not set Chip status register: Write Enable Latch (WEL) is not set Chip status register: Write In Progress (WIP/BUSY) is not set Found chip "Macronix MX25L1605" (2048 KB, SPI) at physical address 0xffe00000. === This flash part has status UNTESTED for operations: ERASE === Reading flash... done.
Regards, Carl-Daniel
P.S. You sent two almost identical mails. The first mail has been discarded because the contents were almost identical.