On 09.01.2008 17:03, ron minnich wrote: > On Jan 9, 2008 3:28 AM, Carl-Daniel Hailfinger > <[EMAIL PROTECTED]> wrote: > > >> Yes, set the flash port to a reasonable value during BIOS init. >> > > This is under the factory BIOS. I will dig a little deeper. I could > not at first see why it would not be set. I hope to have more time > tonight. >
That's easy. You don't need that port set unless you want to write to flash. Try the patch below and please post full verbose log. Index: flashrom-ron/spi.c =================================================================== --- flashrom-ron/spi.c (Revision 3036) +++ flashrom-ron/spi.c (Arbeitskopie) @@ -139,6 +139,8 @@ printf("serial flash pin %i\n", (tmp & 1 << 5) ? 87 : 29); /* LDN 0x7, reg 0x64/0x65 */ regwrite(port, 0x07, 0x7); + regwrite(port, 0x64, 0x08); + regwrite(port, 0x65, 0x20); flashport = regval(port, 0x64) << 8; flashport |= regval(port, 0x65); } Regards, Carl-Daniel -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios