On Fri, Jun 18, 2010 at 07:58:23AM +0200, Peter Stuge wrote:
Isaku Yamahata wrote:
This patch set allows seabios to initialize multi pci bus and 64bit BAR.
It seems like this is starting to replicate things that are already in coreboot. Is that an accurate observation?
I haven't looked at coreboot. So I don't know.
It it a firmware for many PC systems. It brings up CPU, RAM and buses, including HyperTransport, PCI Express, PCI and PnP.
If so, the existing bar assignment is already replication, isn't it.
That would also be true yes, however maybe the resource allocator in SeaBIOS for qemu is so far simpler than the generic one in coreboot, so it was not a lot of duplicated code, while the PCIe seems to be a fairly big addition, of something that I think coreboot may already be able to do. It seems to me that now may be a time to consider if and how coreboot fits with qemu.
If the consensus for coreboot is made, I'm fine with it and will follow it. I think the switch would be a much longer term issue than PCIe.
FWIW, the following is my plan for seabios. - factor out i440fx specific code and other device specific code. - add q35 chip set specific code, dsdt and mcfg - and then, make qemu give seabios hints to pci bus numbering.