On Mon, Nov 09, 2009 at 08:45:45PM -0800, Fraser Hanson wrote:
> Hi,
> 
> I flashed my bios with flashrom tonight and got the scary warning
> message saying "erase failed" and "do not reboot".
> 
> I haven't rebooted.
> 
> As far as I can tell from using flashrom itself, everything is
> actually fine. The erase appears to have failed at physical address 0,
> which I would guess means that nothing actually happened.
> 
> I had taken a dump of the original bios before starting, and "flashrom
> -v" now verifies that it is identical.
> 
> Furthermore, a new dump of the bios matches the original dump from
> before I tried to write the bios.
> 
> My board is an MSI K8N Neo4 Platinum.
> 
> Output from my dump attempt and subsequent messing around follows.
> 
> Do I have your blessing to reboot my machine?
> 
> --Fraser

Give the attached patch a whirl.

Luc Verhaegen.
>From 17d73eab11df1808bce46478bd3536509aa389b3 Mon Sep 17 00:00:00 2001
From: Luc Verhaegen <[email protected]>
Date: Tue, 15 Dec 2009 15:53:47 +0100
Subject: [PATCH] Board: Add MSI K8N Neo4-F

Signed-off-by: Luc Verhaegen <[email protected]>
---
 board_enable.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index f8b1e10..e9e9d9e 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -435,6 +435,14 @@ static int nvidia_mcp_gpio_set(int gpio, int raise)
 }
 
 /**
+ * Suited for MSI K8N Neo4: nVidia CK804.
+ */
+static int nvidia_mcp_gpio2_raise(const char *name)
+{
+       return nvidia_mcp_gpio_set(0x02, 1);
+}
+
+/**
  * Suited for ASUS P5ND2-SLI Deluxe: LGA775 + nForce4 SLI + MCP04.
  */
 static int nvidia_mcp_gpio10_raise(const char *name)
@@ -1160,6 +1168,7 @@ struct board_pciid_enable board_pciid_enables[] = {
        {0x1106, 0x0571, 0x1462, 0x7120,  0x1106, 0x3065, 0x1462, 0x7120, NULL, 
        NULL,          "MSI",         "MS-6712 (KT4V)",     board_msi_kt4v},
        {0x8086, 0x2658, 0x1462, 0x7046,  0x1106, 0x3044, 0x1462, 0x046d, NULL, 
        NULL,          "MSI",         "MS-7046",            
intel_ich_gpio19_raise},
        {0x10DE, 0x005E, 0x1462, 0x7135,  0x10DE, 0x0050, 0x1462, 0x7135, 
"msi",        "k8n-neo3",    "MSI",         "MS-7135 (K8N Neo3)", 
w83627thf_gpio4_4_raise_4e},
+       {0x10DE, 0x005E, 0x1462, 0x7125,  0x10DE, 0x0052, 0x1462, 0x7125, NULL, 
        NULL,          "MSI",         "K8N Neo4-F",         
nvidia_mcp_gpio2_raise},
        {0x1106, 0x3099,      0,      0,  0x1106, 0x3074,      0,      0, 
"shuttle",    "ak31",        "Shuttle",     "AK31",               
w836xx_memw_enable_2e},
        {0x1106, 0x3104, 0x1297, 0xa238,  0x1106, 0x3059, 0x1297, 0xc063, NULL, 
        NULL,          "Shuttle",     "AK38N",              
it8705f_write_enable_2e},
        {0x10DE, 0x0050, 0x1297, 0x5036,  0x1412, 0x1724, 0x1297, 0x5036, NULL, 
        NULL,          "Shuttle",     "FN25",               board_shuttle_fn25},
-- 
1.6.0.2

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

Reply via email to