[LinuxBIOS] flashrom fails on GA-M57SLI with 1MB ROM

Andreas B. Mundt andi.mundt at web.de
Wed Dec 5 19:04:19 CET 2007


> > This has been changed in rev 2972. Buildrom has still the 'old'
> > version. Flashing works fine for me if irq 0xc9 = 0x0 is set. With irq
> > 0xc9 = 0x40 it fails. 
> >   
> 
> OK, is that a difference between board revisions, BIOS revisions or just
> a misinterpretation of some superiotool dump?
> 
> I can see that your latest superiotool dump with the proprietary BIOS
> has irq 0xc9 = 0x40 set. I tried to mirror that. Now the interesting
> question is: Why does that setting not work for you?
> 
> To track this down, I need:
> * superiotool dump of proprietary BIOS for board revisions 1.0, 1.1,
> 2.0, 2.x
> * the exact BIOS version of the proprietary BIOS.
> 

I double checked proprietary BIOS (F9), LB with 0xc9 = 0x40 and LB with
0xc9 = 0x0. But all I said previously is still true for my board (rev 1.0):

For proprietary BIOS: 0xc9 = 0x40 flashing ok.
For LB with 	    : 0xc9 = 0x0  flashing ok.
For LB with 	    : 0xc9 = 0x40 flashing/erase fails.

Regards,

	Andi



$ diff -u lb_0x40 lb_0x0
--- lb_0x40     2007-12-05 18:30:30.000000000 +0100
+++ lb_0x0      2007-12-05 18:25:47.000000000 +0100
@@ -2,7 +2,7 @@
 Found ITE IT8716F (id=0x8716, rev=0x0) at 0x2e
 Register dump:
 idx 07 20 21 22 23 24 2b
-val 07 87 16 00 11 00 00
+val 0a 87 16 00 11 00 00
 def NA 87 16 01 00 00 00
 LDN 0x00
 idx 30 60 61 70 74 f0 f1
@@ -34,7 +34,7 @@
 def 00 0c 02 00
 LDN 0x07
 idx 25 26 27 28 29 2a 2c 60  61 62 63 64 65 70 71 72  73 74 b0 b1 b2 b3 b4 b5  b8 b9 ba bb bc bd c0 c1  c2 c3 c4 c8 c9 ca cb cc  e0 e1 e2 e3 e4 f0 f1 f2  f3 f4 f5 f6 f7 f8 f9 fa  fb fc fd
-val 00 43 20 40 81 00 1f 00  00 08 00 00 00 00 00 00  38 00 00 00 00 00 00 00  00 00 00 00 01 00 01 43  20 40 00 01 40 00 40 00  00 00 00 00 00 00 00 00  00 00 00 28 00 00 00 00  00 32 00
+val 00 43 20 40 81 00 1f 00  00 08 00 00 00 00 00 00  38 00 00 00 00 00 00 00  00 00 00 00 01 00 01 43  20 40 00 01 00 00 40 00  00 00 00 00 00 00 00 00  00 00 00 28 00 00 00 00  00 32 00
 def 01 00 00 40 00 00 00 00  00 00 00 00 00 00 00 20  38 00 00 00 00 00 00 00  00 00 00 00 00 00 01 00  00 40 00 01 00 00 40 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 NA 00
 LDN 0x08
 idx 30 60 61 70 f0



$ diff -u prop_bios lb_0x40
--- prop_bios   2007-12-05 18:36:24.000000000 +0100
+++ lb_0x40     2007-12-05 18:30:30.000000000 +0100
@@ -6,7 +6,7 @@
 def NA 87 16 01 00 00 00
 LDN 0x00
 idx 30 60 61 70 74 f0 f1
-val 01 03 f0 06 02 00 80
+val 00 03 f0 06 02 00 00
 def 00 03 f0 06 02 00 00
 LDN 0x01
 idx 30 60 61 70 f0 f1 f2 f3
@@ -14,27 +14,27 @@
 def 00 03 f8 04 00 50 00 7f
 LDN 0x02
 idx 30 60 61 70 f0 f1 f2 f3
-val 00 00 00 00 00 50 00 7f
+val 00 02 f8 03 00 50 00 7f
 def 00 02 f8 03 00 50 00 7f
 LDN 0x03
 idx 30 60 61 62 63 70 74 f0
-val 01 03 78 00 00 07 04 08
+val 00 03 78 07 78 07 04 03
 def 00 03 78 07 78 07 03 03
 LDN 0x04
 idx 30 60 61 62 63 70 f0 f1  f2 f3 f4 f5 f6
-val 01 02 90 00 00 00 80 00  0a 00 80 00 ff
+val 01 02 90 02 30 09 80 00  0a 00 80 00 ff
 def 00 02 90 02 30 09 00 00  00 00 00 NA NA
 LDN 0x05
 idx 30 60 61 62 63 70 71 f0
-val 01 00 60 00 64 01 02 68
+val 01 00 60 00 64 01 02 48
 def 01 00 60 00 64 01 02 00
 LDN 0x06
 idx 30 70 71 f0
-val 00 00 02 00
+val 01 0c 02 00
 def 00 0c 02 00
 LDN 0x07
 idx 25 26 27 28 29 2a 2c 60  61 62 63 64 65 70 71 72  73 74 b0 b1 b2 b3 b4 b5  b8 b9 ba bb bc bd c0 c1  c2 c3 c4 c8 c9 ca cb cc  e0 e1 e2 e3 e4 f0 f1 f2  f3 f4 f5 f6 f7 f8 f9 fa  fb fc fd
-val 00 43 20 00 81 00 1f 00  00 08 00 00 00 00 00 00  38 00 00 00 00 00 00 00  00 00 00 00 01 00 00 43  20 00 00 00 40 00 00 00  00 00 00 00 00 10 40 00  00 00 00 28 00 00 00 00  00 32 00
+val 00 43 20 40 81 00 1f 00  00 08 00 00 00 00 00 00  38 00 00 00 00 00 00 00  00 00 00 00 01 00 01 43  20 40 00 01 40 00 40 00  00 00 00 00 00 00 00 00  00 00 00 28 00 00 00 00  00 32 00
 def 01 00 00 40 00 00 00 00  00 00 00 00 00 00 00 20  38 00 00 00 00 00 00 00  00 00 00 00 00 00 01 00  00 40 00 01 00 00 40 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 NA 00
 LDN 0x08
 idx 30 60 61 70 f0



proprietary BIOS:

superiotool r2992
Found ITE IT8716F (id=0x8716, rev=0x0) at 0x2e
Register dump:
idx 07 20 21 22 23 24 2b
val 07 87 16 00 11 00 00
def NA 87 16 01 00 00 00
LDN 0x00
idx 30 60 61 70 74 f0 f1
val 01 03 f0 06 02 00 80
def 00 03 f0 06 02 00 00
LDN 0x01
idx 30 60 61 70 f0 f1 f2 f3
val 01 03 f8 04 00 50 00 7f
def 00 03 f8 04 00 50 00 7f
LDN 0x02
idx 30 60 61 70 f0 f1 f2 f3
val 00 00 00 00 00 50 00 7f
def 00 02 f8 03 00 50 00 7f
LDN 0x03
idx 30 60 61 62 63 70 74 f0
val 01 03 78 00 00 07 04 08
def 00 03 78 07 78 07 03 03
LDN 0x04
idx 30 60 61 62 63 70 f0 f1  f2 f3 f4 f5 f6
val 01 02 90 00 00 00 80 00  0a 00 80 00 ff
def 00 02 90 02 30 09 00 00  00 00 00 NA NA
LDN 0x05
idx 30 60 61 62 63 70 71 f0
val 01 00 60 00 64 01 02 68
def 01 00 60 00 64 01 02 00
LDN 0x06
idx 30 70 71 f0
val 00 00 02 00
def 00 0c 02 00
LDN 0x07
idx 25 26 27 28 29 2a 2c 60  61 62 63 64 65 70 71 72  73 74 b0 b1 b2 b3 b4 b5  b8 b9 ba bb bc bd c0 c1  c2 c3 c4 c8 c9 ca cb cc  e0 e1 e2 e3 e4 f0 f1 f2  f3 f4 f5 f6 f7 f8 f9 fa  fb fc fd
val 00 43 20 00 81 00 1f 00  00 08 00 00 00 00 00 00  38 00 00 00 00 00 00 00  00 00 00 00 01 00 00 43  20 00 00 00 40 00 00 00  00 00 00 00 00 10 40 00  00 00 00 28 00 00 00 00  00 32 00
def 01 00 00 40 00 00 00 00  00 00 00 00 00 00 00 20  38 00 00 00 00 00 00 00  00 00 00 00 00 00 01 00  00 40 00 01 00 00 40 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 NA 00
LDN 0x08
idx 30 60 61 70 f0
val 00 03 00 0a 00
def 00 03 00 0a 00
LDN 0x09
idx 30 60 61
val 00 02 01
def 00 02 01
LDN 0x0a
idx 30 60 61 70 f0
val 00 03 10 0b 06
def 00 03 10 0b 00




More information about the coreboot mailing list