UEFI Lockdown.efi won't run

Programming, for all ages and all languages.
Post Reply
gabemaiberger
Member
Member
Posts: 40
Joined: Tue Nov 13, 2012 2:54 pm

UEFI Lockdown.efi won't run

Post by gabemaiberger »

Hello, whenever I try to run lockdown.efi for secure boot in qemu-system-x86_64 it does nothing. I am using gnu-efi s and my compile commands are:

Code: Select all

gcc -c -fno-stack-protector -fpic -fshort-wchar -mno-red-zone -Wall -DEFI_FUNCTION_WRAPPER -Iinclude/ lockdown.c -o lockdown.o
ld -T elf_x86_64_efi.lds -nostdlib -znocombreloc -shared -Bsymbolic -L/usr/lib/ -lefi -lgnuefi lockdown.o -o lockdown.so
objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym  -j .rel -j .rela -j .reloc --target=efi-app-x86_64 lockdown.so lockdown.efi

Code: Select all

var myCat="marshmallow"
Post Reply