Hi Mark,
thanks for the quick reply. WIth this patch I can build the x86 version.
I should have said that I attempt to flash coreboot the first time and have not the equipment yet to do the flashing (but its ordered). I hope that the stuff is coming in a few days so I can report if its working on real hardware.
Best Regards Jens
On 01/03/2018 10:25 AM, Mark Cave-Ayland wrote:
On 03/01/18 00:25, mr.jb@gmx.de wrote:
Hello,
I want to build the openbios image for use in coreboot, but it fails. I am running a 32bit debian 8.10 vm.
$ make /usr/bin/xsltproc Building OpenBIOS for x86 Building... error: AR libfs.a CC target/libgcc/ashldi3.o CC target/libgcc/ashrdi3.o CC target/libgcc/__lshrdi3.o CC target/libgcc/__divdi3.o CC target/libgcc/__udivdi3.o CC target/libgcc/__udivmoddi4.o CC target/libgcc/__umoddi3.o AR libgcc.a LINK openbios.multiboot libdrivers.a(pci.o): In function `ob_pci_unmap': /tmp/openbios/drivers/pci.c:405: undefined reference to `ofmem_unmap' rules.mak:235: recipe for target 'openbios.multiboot' failed make[1]: *** [openbios.multiboot] Error 1 make[1]: Leaving directory '/tmp/openbios/obj-x86' Makefile:19: recipe for target 'build' failed make: *** [build] Error 1
if i select amd64 on a 64bit machine it works without a problem.
What is the problem here?
Oops, that was me not handling the non-OFMEM PCI mapping case in the last set of updates.
The attached patch squash is enough to compile x86 for me, can you confirm that it actually boots on your setup?
ATB,
Mark.