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.
Run ./init to install/check for dependencies.
This may install qemu if not yet present, and download OVMF firmware.
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.
-
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.EFIThe script automatically detects the EFI's architecture and places it under the correct name in
test.img -
Run the disk image using
bin/eficit:bin/eficit test.imgThe script automatically detects the EFI's architecture from the
.imgfile 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")
Copyright 2026 Christian Kohlschuetter christian@kohlschutter.com
SPDX-License-Identifier: Apache-2.0
See NOTICE and LICENSE for license details.