firmware-open
firmware-open copied to clipboard
edk2: Can't run a signed binary
- Model: Any
- BIOS version: 17cf8b13343a
- EC version: system76/ec@7d752350817c
- OS: Pop!_OS 21.10
edk2 fails to run a signed binary.
Steps to reproduce
- Create a signed UEFI binary using https://github.com/jackpot51/popcorn
- Reboot and select the new boot entry from the systemd-boot menu
Expected behavior
The system boots to the OS.
Actual behavior
edk2 crashes.
Additional info
Reverting system76/edk2@bbc04972bc54 ("UefiPayloadPkg: Add PCI support from DuetPkg") and using upstream coreboot master to avoid the allocator hacks has no effect.
edk2 log ends with:
FSOpen: Open '\loader\random-seed' Success
FSOpen: Open '\EFI\Linux\Pop_OS-f089ff13-7aa9-4128-a1cd-2f229b529b48.efi' Success
FatDiskIo: Cache Page OutBound occurred!
FatDiskIo: Cache Page OutBound occurred!
SupportedEventLogs - 0x00000003
LogFormat - 0x00000001
LogFormat - 0x00000002
DxeTpm2MeasureBootHandler - Tcg2MeasurePeImage - Success
DxeTpm2MeasureBootHandler - Success
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 8799DC040
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 8799DCE98
ProtectUefiImageCommon - 0x799DC040
- 0x0000000872804000 - 0x00000000071D8000
SupportedEventLogs - 0x00000003
LogFormat - 0x00000001
LogFormat - 0x00000002
SupportedEventLogs - 0x00000003
LogFormat - 0x00000001
LogFormat - 0x00000002
!!!! X64 Exception Type - 03(#BP - Breakpoint) CPU Apic ID - 00000000 !!!!
RIP - 0000000072848191, CS - 0000000000000038, RFLAGS - 0000000000000046
RAX - 0000000072848190, RCX - 00000008728140D8, RDX - 0000000076A50000
RBX - 0000000872844000, RSP - 0000000002FD5F88, RBP - 000000087E5CE918
RSI - 0000000076AED018, RDI - 000000087E5CE918
R8 - 000000000009F000, R9 - 0000000000001000, R10 - 0000000000000020
R11 - 000000000000000A, R12 - 00000000041D7E8E, R13 - 0000000875804000
R14 - 000000087E5CFD18, R15 - 0000000000000077
DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030
GS - 0000000000000030, SS - 0000000000000030
CR0 - 0000000080010013, CR2 - 0000000000000000, CR3 - 0000000002C01000
CR4 - 0000000000000668, CR8 - 0000000000000000
DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 0000000076AE8000 0000000000000047, LDTR - 0000000000000000
IDTR - 000000087F801018 0000000000000FFF, TR - 0000000000000000
FXSAVE_STATE - 0000000002FD5BE0
!!!! Can't find image information. !!!!