Hello Coreboot Developers!
First, I want to say that it is really a joy to work with Coreboot. The code is
well-written and of high-quality. :)
I'm currently trying to get Tianocore EDK2 running as a Coreboot payload in Qemu
and meeting with limited success, though. I have a working configuration for the
qemu q35 target. Building it for and running it with the 440fx/piix4 chipset
results in the crash below.
Is PIIX4 supported with Coreboot/EDK2 or should this configuration be avoided?
I also appreciate any pointers in how to debug a situation like this. It looks
like the crash happens in EDK2. Is there a way to get an ELF file that objdump
understands, so I can see where in EDK2 code this issue originates from?Â
BS: BS_PAYLOAD_LOAD run times (exec / console): 64 / 2 ms
Jumping to boot code at 0x008008c0(0x7ff9b000)
!!!! X64 Exception Type - 00(#DE - Divide Error)Â CPU Apic ID - 00000000 !!!!
RIPÂ - 000000007F92FAB0, CSÂ - 0000000000000038, RFLAGS - 0000000000000202
RAXÂ - 000000007F938C20, RCX - 000000007F938C20, RDX - 0000000000000008
RBXÂ - 0000000000000008, RSP - 000000007FF4B278, RBP - 000000007FF666E0
RSIÂ - 000000007FF65910, RDI - 0000000000000001
R8Â Â - 000000007FF63480, R9Â - 0000000000000038, R10 - 000000007F93CF08
R11Â - 000000007FF64F08, R12 - 0000000000000000, R13 - 0000000000000080
R14Â - 000000007FF66760, R15 - 000000007FAA9118
DSÂ Â - 0000000000000030, ESÂ - 0000000000000030, FSÂ - 0000000000000030
GSÂ Â - 0000000000000030, SSÂ - 0000000000000030
CR0Â - 0000000080010011, CR2 - 0000000000000000, CR3 - 000000007FC01000
CR4Â - 0000000000000228, CR8 - 0000000000000000
DR0Â - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3Â - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 000000007FBED718 0000000000000047, LDTR - 0000000000000000
IDTR - 000000007F93A018 0000000000000FFF,  TR - 0000000000000000
FXSAVE_STATE - 000000007FF4AED0
!!!! Can't find image information. !!!!
Thanks!
Julian