Questions tagged [uefi]

The Unified Extensible Firmware Interface (UEFI) is a specification that defines a software interface between an operating system and platform firmware. UEFI is meant to replace the Basic Input/Output System (BIOS) firmware interface.

The Unified Extensible Firmware Interface (UEFI) is a specification that defines a software interface between an operating system and platform firmware. UEFI is meant to replace the Basic Input/Output System (BIOS) firmware interface.

For more information see:

526 questions
0
votes
1 answer

Building EFI applications with UDK14/15 targeted to AARCH64 using Visual Studio 2012/2015//WinDDK 8.1 ARM Compiler

Is it possible to build EFI applications with UDK14/UDK15 targeted to AARCH64 using Visual 2012/2015/WinDDK8.1 ARM Compiler in windows platform? I have tried building the UDK 14/15 code using VS2012 ARM Compiler and I am receiving…
ravikanth
  • 61
  • 1
  • 8
0
votes
1 answer

After boot does Linux reclaims Tianocore boot loader memory

I am using Tianocore for booting Linux, I understand that Linux can avail Tianocore Runtime services (reboot, update_capsule etc.), it means that some part of Tianocore code remains untouched by linux. Linux will never touch that memory. My…
user28264
  • 249
  • 2
  • 9
0
votes
0 answers

Convert string to unsigned short int C++ in uEFI

I want to convert a string to unsigned short int. Below is the code: unsigned short int file2[3072]={0}; string file1; file1="hello"; Not sure how to proceed further.Please help. Thanks.
0
votes
0 answers

uefi cannot create file on my machine's volume

I'm writing an application that works from efi environment (f.e. can be run from EFI shell). My problem is that I cannot create any file on my machine's volume. I tested it on WMVare and on real machines with ntfs and even on mac with hfs+ (got…
LeTigre
  • 1
  • 2
0
votes
1 answer

Why a UEFI protocol header file defines both a macro and an external global variable for a single protocol GUID?

I am new to UEFI (Unified Extensible Firmware Interface) development. And I am using the EDK (EFI Development Kit). To create a new protocol, we need to give the protocol a GUID. For example, in the header file for BlockIO protocol, we can see…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
0
votes
1 answer

Black Console after automated Debian UEFI install

I try to build a reproducible automated build environment based on Debian 8.1 Jessie. I created a boot iso image based on a netinstall image and put a preseed.cfg file in int for automatic installation. I managed to get it bootable with BIOS and…
0
votes
2 answers

how to use block i/o protocol in my uefi bootloader

I am reading FreeBSD uefi bootloader. But there is a part I can't understand about Block I/O Protocol.I quote source code. status = systab->BootServices->LocateHandle(ByProtocol, &BlockIoProtocolGUID, NULL, &nparts, handles); nparts /=…
0
votes
2 answers

UDK/EDK2 Built UEFI Applications hang real system

I have setup the UDK2014 and EDK2 source and am successfully building an EFI application that runs fine in the SecMain emulator. However when I transfer the application to a real UEFI system and run it the system hangs. I've tried just a simple…
Without Me It Just Aweso
  • 4,593
  • 10
  • 35
  • 53
0
votes
1 answer

UEFI LoadImage hangs

I am looking at using Bootservices function LoadImage to load a UEFI application image from memory. Function parameters are: typedef EFI_STATUS LoadImage ( IN BOOLEAN BootPolicy, IN EFI_HANDLE ParentImageHandle, IN EFI_DEVICE_PATH_PROTOCOL…
Without Me It Just Aweso
  • 4,593
  • 10
  • 35
  • 53
0
votes
1 answer

How to remove Ubuntu entries from UEFI

I 've got an issue with my UEFI boot values. In the past I installed Ubuntu 14.10 LTS as a dual-boot system. It was working ok, until I decited to remove it. I deleted the Ubuntu partitions and merged them with my Windows partition. Everything is…
geortzan1
  • 21
  • 1
  • 2
0
votes
1 answer

How to static link EDK II library into application in Visual Studio 2008 tool chain

I have EDK II application and library in package and it works fine when I compile it with library source codes. Now I want to remove the library source codes and link that library with application through .lib file. I remove library source codes…
0
votes
1 answer

Beagleboard Qemu baremetal with UEFI

I am trying to boot a freertos app from UEFI on Qemu When i run the app from uboot, using the below commands it runs without any errors fatload mmc 0 80300000 rtosdemo.bin go 0x80300000 An uefi application loads the elf file at 0x80300000 and…
Lonewolf
  • 497
  • 5
  • 13
0
votes
0 answers

qemu beagle sd card error

I am trying to run uefi code in qemu for beagle board using the following command qemu-system-arm -M beagle -sd beagle_sd.img -serial stdio -clock unix The sdcard holds uefi, which starts the shell, when this runs I am getting sd card error saying…
Lonewolf
  • 497
  • 5
  • 13
0
votes
1 answer

Is there any way of emulating an I/O device in UEFI?

Is there any way of emulating an I/O device (eg. super IO controller) in an UEFI runtime driver running behind the OS?
mateass
  • 105
  • 2
  • 11
0
votes
0 answers

scrolling in a command line interface

If you have a large amount of output to a command line interface, how do you navigate upward to see the information that has already scrolled off the screen? Is there common commands for this across various command line interfaces?