On Mon, Nov 09, 2009 at 07:39:52PM -0300, NotLim wrote:
> Hi there... i had a problem, upgrading my motherboard bios... i was on
> #flashrom ... and some guy/girl named "carldani" told me:
> 
> <carldani> can you mail the output of "flashrom -V", "lspci
> -nnvvvxxx", "superiotool -d" (allcommands as root), the exact name of
> your board (including revision, if there are multiple revisions), and
> a link to the official BIOS download
> <carldani> and please write in the mail that you need a board enable,
> and that it is Phoenix BIOS.
> 
> Well:
> 
> I need a board enable. My motherboard is an Abit AN-M2. Official links
> for bioses is here:
> 
> http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NAME=AN-M2&fMTYPE=Socket%20AM2&pPRODINFO=BIOS
> 
> 
> I was trying to upgrade from 07/16/2007 (BIOS ID:13) to (today) latest
> version: 01/03/2008 (BIOS ID:19).
> 
> I've attached "flashrom -V" as flashromV.txt, "lspci -nnvvvxxx" as
> lspcinnvvvxxx.txt, "superiotool -d" as superio.txt. And also a
> dmidecode and current error as "failed.txt" (You can see here too:
> http://pastebin.com/f7056e678 )
> 
> Thanks a lot! and... it is Phoenix BIOS!

No, it's an award, which always makes libv a happy camper :)

Give the attached patch a whirl. Raises what i think is GPIO2 on the 
MCP SMBus.

If it works, please reply with:

Acked-by: {your real name here} <[email protected]>

Luc Verhaegen.
>From d42552726e5846d132325ca0dc60d5a4cb9a22cf Mon Sep 17 00:00:00 2001
From: Luc Verhaegen <[email protected]>
Date: Thu, 3 Dec 2009 00:27:02 +0100
Subject: [PATCH] Board: Add Abit AN-M2.

---
 board_enable.c |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index 44b1a67..2773473 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -434,6 +434,24 @@ static void nvidia_mcp_gpio_raise(struct pci_dev *dev, 
uint8_t offset)
 }
 
 /**
+ * Suited for the Abit AN-M2: nVidia MCP67.
+ */
+static int board_abit_an_m2(const char *name)
+{
+       struct pci_dev *dev;
+
+       dev = pci_dev_find(0x10DE, 0x0542);     /* nVidia MCP67 SMBus */
+       if (!dev) {
+               fprintf(stderr, "\nERROR: nVidia MCP67 SMBUS not found.\n");
+               return -1;
+       }
+
+       nvidia_mcp_gpio_raise(dev, 0x02);
+
+       return 0;
+}
+
+/**
  * Suited for the Gigabyte GA-K8N-SLI: CK804 southbridge.
  */
 static int board_ga_k8n_sli(const char *name)
@@ -1137,6 +1155,7 @@ static int board_asus_a7v600x(const char *name)
 /* Please keep this list alphabetically ordered by vendor/board name. */
 struct board_pciid_enable board_pciid_enables[] = {
        /* first pci-id set [4],          second pci-id set [4],          
coreboot id [2],             vendor name    board name            flash enable 
*/
+       {0x10DE, 0x0547, 0x147B, 0x1C2F,  0x10DE, 0x0548, 0x147B, 0x1C2F, NULL, 
        NULL,          "Abit",        "AN-M2",              board_abit_an_m2},
        {0x8086, 0x2926, 0x147b, 0x1084,  0x11ab, 0x4364, 0x147b, 0x1084, NULL, 
        NULL,          "Abit",        "IP35",               
intel_ich_gpio16_raise},
        {0x8086, 0x1130,      0,      0,  0x105a, 0x0d30, 0x105a, 0x4d33, 
"acorp",      "6a815epd",    "Acorp",       "6A815EPD",           
board_acorp_6a815epd},
        {0x8086, 0x24D4, 0x1849, 0x24D0,  0x8086, 0x24D5, 0x1849, 0x9739, NULL, 
        NULL,          "ASRock",      "P4i65GV",            
intel_ich_gpio23_raise},
-- 
1.6.0.2

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

Reply via email to