Skip to content
kohlschutterPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eficit

Run EFI binaries (UEFIShell, IPXE, etc.) from the command-line in an emulator.

Supported architectures (x86_64, arm64) are detected automatically, and a corresponding emulator is launched automatically.

The main purpose of this program currently is testing IPXE booting and UEFI shell debugging.

Currently, eficit expects macOS as the host operating system running on Apple Silicon.

Usage

First use

Run ./init to install/check for dependencies.

This may install qemu if not yet present, and download OVMF firmware.

Demos

Run ./demo/run-demo for a list of demo EFI binaries that can be obtained automatically.

Examples:

./demo/run-demo demo/arm64/uefishell launches an UEFI Shell binary built for Arm64.

./demo/run-demo demo/x64/ipxe launches the IPXE binary built for x86_64.

Detailed steps

  1. Build a disk image containing the EFI file using bin/make-efi-img:

    Specify the target .img file before the .efi file you want to use, e.g.

    bin/make-efi-img test.img MyApp.EFI

    The script automatically detects the EFI's architecture and places it under the correct name in test.img

  2. Run the disk image using bin/eficit:

    bin/eficit test.img

    The script automatically detects the EFI's architecture from the .img file and launches the correct emulator with sensible defaults.

    Options:

    --no-accel: Disables CPU acceleration

    --fast-start: Disables the five second delay at start telling you how to leave qemu (press "CTRL-A" followed by "C", then type "quit")

Legal Notices

Copyright 2026 Christian Kohlschuetter christian@kohlschutter.com

SPDX-License-Identifier: Apache-2.0
See NOTICE and LICENSE for license details.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages