On 08/31/2010 04:21 AM, Roberto Malinverni wrote:
> On 08/30/2010 03:48 AM, Joshua Roys wrote:
>>
>> Hello!
>>
>> Here's a board enable for you to try.  Just patch flashrom (patch -p1
>> <  patch) and give it another try.  Let us know if it worked.
>>
>> Thanks,
>>
>> Josh
> 
> All working after the reboot :)
> The output was the following:
> 
> ====================================
> 
> flashrom -w P5GD2.1010.ori.rom
> flashrom v0.9.2-r1145 on Linux 2.6.35-ARCH (i686), built with libpci
> 3.1.7, GCC 4.5.1, little endian
> flashrom is free software, get the source code at http://www.flashrom.org
> 
> Calibrating delay loop... OK.
> No coreboot table found.
> Found chipset "Intel ICH6/ICH6R", enabling flash write... OK.
> This chipset supports the following protocols: FWH.
> Disabling flash write protection for board "ASUS P5GD2 Premium"... OK.
> Found chip "SST SST49LF008A" (1024 KB, FWH) at physical address 0xfff00000.
> Flash image seems to be a legacy BIOS. Disabling checks.
> Writing flash chip... Erasing flash chip... SUCCESS.
> Programming page: DONE!ss: 0x000ff000
> COMPLETE.
> Verifying flash... VERIFIED.
> 
> ====================================
> 
> Thanks again for your help.
> Bob
> 

Hello,

Attached is the fixed version of the patch, simply adding in the missing
comma.

Signed-off-by: Joshua Roys <[email protected]>

Josh
>From 493af14187f8a8f72473b597691e2cd13752c8f8 Mon Sep 17 00:00:00 2001
From: Joshua Roys <[email protected]>
Date: Sun, 29 Aug 2010 21:27:08 -0400
Subject: [PATCH] Add board enable for ASUS P5GD2 Premium.

Signed-off-by: Joshua Roys <[email protected]>
---
 board_enable.c |    2 ++
 print.c        |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index ae0fbfa..9a9b0ee 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -1329,6 +1329,7 @@ static int intel_ich_gpio19_raise(void)
  *  - ASUS P4B266LM (Sony Vaio PCV-RX650): socket478 + 845D + ICH2
  *  - ASUS P4C800-E Deluxe: socket478 + 875P + ICH5
  *  - ASUS P4P800-E Deluxe: Intel socket478 + 865PE + ICH5R
+ *  - ASUS P5GD2 Premium: Intel LGA775 + 915G + ICH6R
  *  - ASUS P5PE-VM: Intel LGA775 + 865G + ICH5
  *  - Samsung Polaris 32: socket478 + 865P + ICH5
  */
@@ -1787,6 +1788,7 @@ const struct board_pciid_enable board_pciid_enables[] = {
        {0x8086, 0x2570, 0x1043, 0x80A5,  0x105A, 0x24D3, 0x1043, 0x80A6, NULL, 
         NULL,         NULL,          "ASUS",        "P4SD-LA",               
0,   NT, intel_ich_gpio32_raise},
        {0x1039, 0x0661, 0x1043, 0x8113,  0x1039, 0x5513, 0x1043, 0x8087, NULL, 
         NULL,         NULL,          "ASUS",        "P4S800-MX",             
512, OK, w836xx_memw_enable_2e},
        {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, 0x813d, NULL, 
         NULL,         NULL,          "ASUS",        "P5GD2 Premium",         
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},
        {0x8086, 0x3590, 0x1028, 0x016c,  0x1000, 0x0030, 0x1028, 0x016c, NULL, 
         NULL,         NULL,          "Dell",        "PowerEdge 1850",        
0,   OK, intel_ich_gpio23_raise},
diff --git a/print.c b/print.c
index 4871cc8..83c2de8 100644
--- a/print.c
+++ b/print.c
@@ -363,6 +363,7 @@ const struct board_info boards_known[] = {
        B("ASUS",       "P5B-Deluxe",           1, 
"http://www.asus.com/product.aspx?P_ID=bswT66IBSb2rEWNa";, NULL),
        B("ASUS",       "P5BV-M",               0, 
"ftp://ftp.asus.com.tw/pub/ASUS/mb/socket775/P5B-VM/";, NULL),
        B("ASUS",       "P5GC-MX/1333",         1, 
"http://www.asus.com/product.aspx?P_ID=PYvbfOokwxUzJky3";, NULL),
+       B("ASUS",       "P5GD2 Premium",        1, 
"http://www.asus.it/product.aspx?P_ID=lRKaz1Rb6Xb0OFM7";, 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",       "P5ND2-SLI Deluxe",     1, 
"http://www.asus.com/product.aspx?P_ID=WY7XroDuUImVbgp5";, NULL),
-- 
1.7.2.2

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to