[OpenBIOS] failed to build
mr.jb at gmx.de
Thu Jan 4 01:29:10 CET 2018
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.
On 01/03/2018 10:25 AM, Mark Cave-Ayland wrote:
> On 03/01/18 00:25, mr.jb at gmx.de wrote:
>> I want to build the openbios image for use in coreboot, but it fails.
>> I am running a 32bit debian 8.10 vm.
>> $ make
>> Building OpenBIOS for x86
>> 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: *** [openbios.multiboot] Error 1
>> make: 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?
More information about the OpenBIOS