Blue Swirl wrote:
Thanks for testing, I applied the patch. Does this mean that QEMU SVN (without any patches) can boot current Coreboot with OpenBIOS?
Not quite. Just to make sure, I updated my SVN versions of coreboot-v3, openbios and qemu and I still get the same panic on qemu-system-x86_64.
I think I can see what the problem is though: looking at your patch, io_base for x86_64 is set to 0x1000 but then pci.c:ob_pci_init still does this:
io_base = arch->io_base + 0x400;
Hence io_base is now being set to 0x1400 instead of 0x1000 which is probably causing the error. If the io_base for all architectures is now being set in the pci_arch_t structure, then in theory this line should be deleted. I did take a look at the PPC code, but wasn't sure what the calculated offset should be to confirm this.
ATB,
Mark.