[LinuxBIOS] Enabling APIC

Stefan Reinauer stepan at coresystems.de
Sat Sep 22 20:11:50 CEST 2007


* Corey Osgood <corey.osgood at gmail.com> [070920 23:51]:
> What it pretty much boils down to is, what's required to set up
> APIC/IOAPIC in LinuxBIOS? I've tried using both my vt8237r stuff
> (originally posted here:
> http://www.linuxbios.org/pipermail/linuxbios/2007-August/023553.html,
> cn700 code has changed but vt8237r hasn't for the most part) and with
> Rudolf Marek's vt8237r_lpc.c (here:
> http://linuxbios.org/pipermail/linuxbios/2007-July/023023.html). No
> matter what I do though, LinuxBIOS pops up with this message just before
> going to the payload:
> 
> Disabling local apic...done.
 
The stuff you set up in the southbridge is the IOAPIC -- It belongs to
the bridge. 

The stuff you see disabled is the Local Apic -- this one is part of the
CPU. And enabled/disabled in  cpu/x86/lapic/lapic.c depending on the
setting of NEED_LAPIC

lapic.h say:
#if CONFIG_SMP || CONFIG_IOAPIC
#  define NEED_LAPIC 1
#endif

So you need to enable CONFIG_IOAPIC or CONFIG_SMP in your Options.lb.

Stefan


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866




More information about the coreboot mailing list