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

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Nov 26 12:59:49 CET 2007

On 25.11.2007 09:54, Andreas B. Mundt wrote:
>> To summarize:
>> Proprietary BIOS:
>> * Erasing the chip was tested, reading from the chip gives you all 0xFFs
>> after erase.
>> * Writing the chip after erase was tested, verify successful.
> correct


>> LinuxBIOS:
>> * Erasing the chip fails, only a few bytes are changed (if any).
>> * Writing fails as well because erase failed.
> correct

Did it ever work for you?

>> I need the exact LinuxBIOS revision you are using and superiotool dumps
>> under proprietary BIOS and LinuxBIOS. I have a suspicion about the cause
>> of the failure.
>> Please state your exact board revision as well.
> LB revision: 2985; board revision: 1.0

Thanks for the dumps. I believe the Super I/O data sheet is incomplete
and/or wrong, so please try this patch against superiotool and dump
again under LB and proprietary.


Look for undocumented SIO6 registers in the IT8716F Super I/O. This is
just a shot in the dark, if it does not yield the expected results, we
have to dump and compare the whole chip. If that is not sufficient, we
have to dump GPIO space (well, we should already do that, but we got by
without it for a long time).

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Index: ite.c
--- ite.c	(Revision 2986)
+++ ite.c	(Arbeitskopie)
@@ -253,13 +253,13 @@
-			 0xc0,0xc1,0xc2,0xc3,0xc4,0xc8,0xc9,0xca,0xcb,0xcc,
+			 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,
-			 0x01,0x00,0x00,0x40,0x00,0x01,0x00,0x00,0x40,0x00,
+			 0x01,0x00,0x00,0x40,0x00,NANA,0x01,0x00,0x00,0x40,0x00,NANA,
 		{0x8, NULL,

More information about the coreboot mailing list