[coreboot] slow load times

Kevin O'Connor kevin at koconnor.net
Wed Feb 18 05:16:43 CET 2009


On Tue, Feb 17, 2009 at 09:50:02AM -0700, Myles Watson wrote:
> On Sat, Feb 14, 2009 at 2:02 AM, Kevin O'Connor <kevin at koconnor.net> wrote:
> > If you send the full log, maybe it will help diagnose that problem.
> I've attached 3 logs.

Looking a little closer at the logs..

[...]
> Wrote the mp table end at: 00000020 - 0000065c
> Wrote the mp table end at: 7fff0c10 - 7fff124c
> move mptable from 0x20 to 0xf0c00, size 0x63c

This looks like it is putting multiple mptables in ram.  I'd advise
against that - it's okay to put it in 0xf0000 and 0x7fff0000, but you
don't want it also at 0x20.

[...]
> Copying PIR from 7fff0000 to 000f9d90
> Copying ACPI RSDP from 7fff0400 to 000f9de0
> Copying MPTABLE from 7fff0c00 to 000f9e00
[...]
> Copying PIR from 000f9d90 to 000f9d90
> Copying ACPI RSDP from 000f9de0 to 000f9de0
> Copying MPTABLE from 000f9e00 to 000f9e00
> Copying MPTABLE from 7fff0c00 to 000f9e10

Okay - that's wrong.  Latest SeaBIOS git should fix that.

[...]
> Scan for VGA option rom
> Running option rom at 0000c000:00000003
> Turning on vga console
[...]
> Scan for VGA option rom
> Found option rom with bad checksum: loc=000c0000 len=60928 sum=000000ff

On reboots, the VGA rom isn't being reset - this will be a problem.  I
recommend having SeaBIOS do the rom copying - modify SeaBIOS' config.h
and set:

#define CONFIG_OPTIONROMS_DEPLOYED 0

If you have to include a vgabios in the rom, then also set something
like:

#define OPTIONROM_BDF_1 pci_to_bdf(0x02, 0x00, 0) // pci 02:00.0
#define OPTIONROM_MEM_1 0xfffc0000  // rom address of option rom

-Kevin




More information about the coreboot mailing list