On Sun, 17 Apr 2011 00:35:59 +0200 Idwer Vollering vidwer@gmail.com wrote:
2011/4/16 Emil Sirbu emil@servicii.info.ro:
On 04/16/2011 06:37 AM, Emil Sirbu wrote:
Hello,
I have an ASUS P5LD2-VM, and I try to update bios, first with flashrom v0.9.2-r1028 ( http://paste.flashrom.org/view.php?id=489 ) then with 0.9.3 ( http://paste.flashrom.org/view.php?id=490 also, the ROM is at http://paste.flashrom.org/uploads/491.bin ) but:
Writing flash chip... Erasing flash chip... Looking at blockwise erase function 0... trying... 0x000000-0x000fff, 0x001000-0x001fff, 0x002000-0x002fff, 0x003000-0xff, 0x004000-0x004fff, 0x005000-0x005fff, ERASE FAILED at 0x00005760! Expected=0xff, Read=0x50, failed byte count from 0x00005000-0x00005fff: 0x87a ERASE FAILED!
I rebooted and BIOS was ok (I flashing with asus afudos utility). Now, I will replace moterhboard with the new one but, I collect some information from system, maybe helps you to improve flashrom.
I ran all commands from http://www.flashrom.org/Board_Testing_HOWTO
flashrom -V (flashrom.log) lspci -nnvvxxx (lspci.log) superiotool -deV (superiotool.log)
also, I ran:
biosdecode (biosdecode.log) hwinfo --bios (hwinfo-bios.log) dmidecode --type bios (dmidecode-bios.log) lshw (lshw.log)
All results are in attached files.
I ran: flashrom 0.9.2 (flashrom-w.log), 0.9.3 (flashrom-093.log) and svn version (flashrom-svn.log, this give me a segmentation fault)
Also, I attached original-1303.rom wich is original bios (flashrom -r) and new bios P5LD2-VM-1401.rom (wich give me error when try to write).
It looks like the PCI IDs in the patch attached to this message can be used for your board too: http://www.flashrom.org/pipermail/flashrom/2010-October/005106.html
Can you try the attached patch ? Apply to svn code, r1288, with "patch -p0 < /path/to/board_enable_asus_p5ld2-vm.diff", recompile and try writing with the patched binary: "./flashrom -w /path/to/P5LD2-VM-1401.ROM". After you have done that, please report back here.
Signed-off-by: Idwer Vollering vidwer@gmail.com
I have refined/corrected the patch according to Joshua's recommendations and committed it in r1596, thanks.