[LinuxBIOS] MB1030 / 3036 VGA resume

Christian Sühs chris at suehsi.de
Wed May 10 10:33:10 CEST 2006


> If you look at the northbridge.c for the gx1 you will see that
> initialize_cpus() is called by cpu_bus_init() which is in the
> cpu_bus_ops struct.  But cpu_bus_ops only gets installed as the init
> handler in enable_dev() if the device is marked as
> DEVICE_PATH_APIC_CLUSTER.  Looking in the static.c that my tree
> generates for the 5bcm I see that the gx1 northbridge is marked as
> DEVICE_PATH_PCI_DOMAIN which will cause the .init handler to be 0.
> 
> Apply the following patch to your tree and run in spew debug mode. This 
> will show if initialize_cpus() is getting called or not.  Perhaps
> its getting called by some other path that I don't see.
> 

Thanks for the patch, here is the result.

initialize_cpus() is not called.

Currently I used an other Config.lb therefor the northbridge is init not 
as first.
However I will modify the Config.lb back and try it again, but I think 
the result is the nearly the same ;)

Doesn't matter. I think the best way is to init the cpu in early state 
and set the registers for L1 caching before LB does the other stuff. It 
should be much faster as now.

chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pci_patch.cap
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060510/9da2b640/attachment.ksh>


More information about the coreboot mailing list