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
Index: print.c =================================================================== --- print.c (revision 1288) +++ print.c (working copy) @@ -430,6 +430,7 @@ B("ASUS", "P5GDC Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=AbeoopyNpI2TZixg", NULL), B("ASUS", "P5KC", 1, "http://www.asus.com/product.aspx?P_ID=fFZ8oUIGmLpwNMjj", NULL), B("ASUS", "P5L-MX", 1, "http://www.asus.com/product.aspx?P_ID=X70d3NCzH2DE9vWH", NULL), + B("ASUS", "P5LD2-VM", 1, "http://www.asus.com/product.aspx?P_ID=orjq7G3HX3F0tRrN", NULL), B("ASUS", "P5GD1 Pro", 1, "http://www.asus.com/product.aspx?P_ID=50M49xQh71EZOeM1", NULL), B("ASUS", "P5ND2-SLI Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=WY7XroDuUImVbgp5", NULL), B("ASUS", "P5PE-VM", 1, "http://www.asus.com/product.aspx?P_ID=k3h0ZFVu9Lo1dUvk", NULL), Index: board_enable.c =================================================================== --- board_enable.c (revision 1288) +++ board_enable.c (working copy) @@ -1462,6 +1462,7 @@ * - ASUS P4P800-VM: Intel socket478 + 865PE + ICH5R * - ASUS P5GD1 Pro: Intel LGA 775 + 915P + ICH6R * - ASUS P5GDC Deluxe: Intel socket775 + 915P + ICH6R + * - ASUS P5LD2-VM: Intel LGA 775 + 945G + ICH7 * - ASUS P5PE-VM: Intel LGA775 + 865G + ICH5 * - Samsung Polaris 32: socket478 + 865P + ICH5 */ @@ -1945,6 +1946,7 @@ {0x10B9, 0x1541, 0, 0, 0x10B9, 0x1533, 0, 0, "^P5A$", "asus", "p5a", "ASUS", "P5A", 0, OK, board_asus_p5a}, {0x8086, 0x266a, 0x1043, 0x80a6, 0x8086, 0x2668, 0x1043, 0x814e, NULL, NULL, NULL, "ASUS", "P5GD1 Pro", 0, OK, intel_ich_gpio21_raise}, {0x8086, 0x266a, 0x1043, 0x80a6, 0x8086, 0x2668, 0x1043, 0x813d, NULL, NULL, NULL, "ASUS", "P5GDC Deluxe", 0, OK, intel_ich_gpio21_raise}, + {0x8086, 0x27da, 0x1043, 0x8179, 0, 0, 0, 0, NULL, NULL, NULL, "ASUS", "P5LD2-VM", 0, OK, intel_ich_gpio21_raise}, {0x10DE, 0x0030, 0x1043, 0x818a, 0x8086, 0x100E, 0x1043, 0x80EE, NULL, NULL, NULL, "ASUS", "P5ND2-SLI Deluxe", 0, OK, nvidia_mcp_gpio10_raise}, {0x8086, 0x24dd, 0x1043, 0x80a6, 0x8086, 0x2570, 0x1043, 0x8157, NULL, NULL, NULL, "ASUS", "P5PE-VM", 0, OK, intel_ich_gpio21_raise}, {0x10b7, 0x9055, 0x1028, 0x0082, 0x8086, 0x7190, 0, 0, NULL, NULL, NULL, "Dell", "OptiPlex GX1", 0, OK, intel_piix4_gpo30_lower},
I hope that this info is enough for improve your great tool.
-- Emil Sirbu carco on #freenode (after replace the motherboard)
A non-text attachment has been stripped: original-1303.rom A non-text attachment has been stripped: P5LD2-VM-1401.ROM
flashrom mailing list flashrom@flashrom.org http://www.flashrom.org/mailman/listinfo/flashrom