598 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
0
answers
59
views
Custom kickstart installation in Oracle Linux 9 [closed]
In Oracle Linux 8 (and earlier versions), I usually made some automated installations with kickstart scripting.
In version 8, it was the easiest, because I would just mount DVD ISO and copy all files ...
0
votes
2
answers
174
views
Is there a way to detect UEFI from a Delphi App?
I want to know if the computer I'm using has UEFI or Legacy BIOS.
Is it somehow possible to detect this from Delphi code?
I found ExGetFirmwareEnvironmentVariable which seem interesting, but I'm not ...
2
votes
2
answers
92
views
Hello world gnu-efi with qemu
I'm new to gnu-efi development and I am trying to write a simple hello world program for qemu. I started with the example apps provided and they work just fine but when i try to build the same C code ...
1
vote
1
answer
73
views
Should we use FreePool after call HandleProtocol in UEFI?
Structure of EFI_BOOT_SERVICES.HandleProtocol():
typedef
EFI_STATUS
(EFIAPI *EFI_HANDLE_PROTOCOL) (
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
OUT VOID **Interface
);
In UEFI ...
0
votes
1
answer
101
views
Having trouble utilizing DHCP4 Service Binding
I am trying to obtain an IP via DHCP in UEFI. In testing this, I'm using QEMU (version 8.0.0). I have a shell command that I've incorporated into my build of OVMF for testing this. Essentially, what I'...
2
votes
1
answer
103
views
Why does UEFI GetMemoryMap return EFI_BUFFER_TOO_SMALL after allocating a buffer of the reported size?
I'm writing a UEFI application in Zig.
I'm calling GetMemoryMap() twice: once to get the required buffer size, then again after allocating the buffer using AllocatePool().
Here's my code:
fn ...
0
votes
1
answer
96
views
UEFI grT->GetVariable() returning Not Found Status
I have written a UEFI application and running it in a QEMU setup where I have Ubuntu as an operating system.
I am reading the variable like this in the code:
EFI_STATUS
EFIAPI
UefiMain(
IN ...
1
vote
0
answers
76
views
How to read key stroke into variable in EFI console in startup.nsh?
How can I read a key stroke into variable in startup.nsh script inside EFI console/shell? I read the UEFI 2.2 documentation (https://uefi.org/sites/default/files/resources/UEFI_Shell_2_2.pdf) and it ...
4
votes
0
answers
138
views
Can't boot minimal assembler code in qemu UEFI
I'm trying to boot a minimal binary using qemu, but I get Command Error Status: Not Found.
Qemu boots into its shell and when I go to fs0: I can see the file at \EFI\BOOT\BOOTX64.EFI, but I can't boot ...
3
votes
0
answers
168
views
Is there a way to determine the stack size limit / end point within a running UEFI application?
I have a fairly large UEFI application (2.1MB UPX compressed) that has a number of functions that allocate reasonably large data structures on the stack (kilobytes). I'd like to add some debug code ...
1
vote
0
answers
298
views
What (executable?) file format uses an "EDOS" magic number of "PEED"?
The original EDK contains the following macro definition (e.g. in Edk/Foundation/Efi/Include/EfiImage.h line 57):
#define EFI_IMAGE_EDOS_SIGNATURE 0x44454550 // PEED
A similar ...
0
votes
0
answers
63
views
How to build and cross compile uefisettings (LinuxBoot) for AARCH64 with UEFI HII interface support?
I'm currently exploring the https://github.com/linuxboot/uefisettings project on my Linux development PC, and I’m looking for some guidance.
My goal is to eventually cross-compile this application ...
0
votes
2
answers
472
views
Is it possible to get a list of UEFI variables in Windows?
I know it's possible to read a UEFI variable with e.g. GetFirmwareEnvironmentVariable() given the name of the variable and the GUID of the namespace. But is it possible to get a list of namespaces and ...
2
votes
1
answer
106
views
EFI variables or config file on the EFI partition for EFI application?
I'm writing a small EFI application with gnu-efi, which boots depending on the Wake-Up Type into Ubuntu or Windows.
The application works, but I want to configure the WakeUp Type - Boot Option mapping ...
1
vote
1
answer
129
views
EFI application hangs without running on real hardware, but works perfectly in QEMU OVMF
(This question is related, but concerns x86 legacy BIOS instead of UEFI).
We are developing an OS for x86_64 using UEFI. I'm finding that while the OS boots perfectly fine in the OVMF firmware in QEMU,...