Am Dienstag, 13. November 2007 02:27:21 schrieb Carl-Daniel Hailfinger:
Found ITE IT8716F (id=0x8716, rev=0x0) at 0x2e Register dump: idx 07 20 21 22 23 24 2b -val 01 0a +val 0a 87 16 00 11 1a 00 def NA 87 16 01 00 00 00 23: Clock Selection 24: Software Suspend and Flash
LDN 0x00 idx 30 60 61 70 74 f0 f1 -val 00 00 +val 01 03 f0 06 02 00 80 def 00 03 f0 06 02 00 00 30: FDC Enable f1: FDC Special Config 2
LDN 0x02 idx 30 60 61 70 f0 f1 f2 f3 -val 02 f8 03 +val 00 00 00 00 00 50 00 7f def 00 02 f8 03 00 50 00 7f 60+61: Serial Port 2 Base Addr 70: Serial Port 2 IRQ
LDN 0x03 idx 30 60 61 62 63 70 74 f0 -val 00 07 78 +val 01 03 78 00 00 07 04 08 def 00 03 78 07 78 07 03 03 30: Parallel Port Enable 62+63: Parallel Port Secondary Base Addr
LDN 0x04 idx 30 60 61 62 63 70 f0 f1 f2 f3 f4 f5 f6 -val 02 30 09 +val 01 02 90 00 00 00 80 00 0a 00 81 00 1d def 00 02 90 02 30 09 00 00 00 00 00 NA NA 62+63: PME Direct Access Base Addr 70: Environment Controller IRQ
LDN 0x05 idx 30 60 61 62 63 70 71 f0 -val 48 +val 01 00 60 00 64 01 02 68 def 01 00 60 00 64 01 02 00 f0: KBC Special Config
LDN 0x06 idx 30 70 71 f0 -val 01 0c +val 00 00 02 00 def 00 0c 02 00 30: KBC Mouse Enable 70: KBC Mouse IRQ
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 00 01 00 00 00 +val 00 43 20 00 81 00 1f 00 00 08 00 08 20 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 64+65: Serial Flash Base Addr 71: Watch Dog Timer c9: Simple I/O Set 2 f0+f1: SMI Control
We have to change
- NOLDN idx 0x24 (Flash)
- LDN 0x07 idx 0x64+0x65 (Flash), 0xc9 (Simple I/O)
The rest of the differences is either "don't care" at the moment or changing is actively harmful. If we ever decide to support automatic fan control and stuff like that, we have to revisit LDN 0x04. If we ever decide to NOT support EPP/ECP parallel port modes, we have to revisit LDN 0x03.
Regards, Carl-Daniel
Try this patch:
done, but flashrom fails. here is a diff from the lb-superiotool output from rev2955 to the superiotool output from rev2958 with your patch.
--- superiotool.lb-rev2955 2007-11-13 15:19:15.000000000 +0100 +++ superiotool.lb-rev2958-patched 2007-11-13 15:18:47.000000000 +0100 @@ -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 00 81 00 1f 00 00 08 00 00 00 00 01 00 38 00 00 00 00 00 00 00 00 00 00 00 01 00 00 43 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 00 32 00 +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 00 00 00 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
here is the shortened output from flashrom in rev2958:
benchvice flashrom # ./flashrom -m gigabyte:m57sli -V Calibrating delay loop... 1394M loops per second. OK. Found canidate at: 00000530-00000e44 Found LinuxBIOS table at 0x00000530. LinuxBIOS table found at 0x2aba65d7c530. LinuxBIOS header(24) checksum: 5d9c table(2324) checksum: 0794 entries: 14 Vendor ID: GIGABYTE, part ID: m57sli Overwritten by command line, vendor ID: gigabyte, part ID: m57sli. Found chipset "NVIDIA MCP55", enabling flash write... OK. Found board "GIGABYTE GA-M57SLI-S4": enabling flash write... Serial flash segment 0xfffe0000-0xffffffff enabled Serial flash segment 0x000e0000-0x000fffff enabled Serial flash segment 0xffee0000-0xffefffff disabled Serial flash segment 0xfff80000-0xfffeffff enabled LPC write to serial flash disabled serial flash pin 29 FAILED! Probing for MX25L4005, 512 KB generic_spi_command called, but no SPI chipset detected No EEPROM/flash device found.
regards, harald