11 releases (6 breaking)

0.6.1 Mar 4, 2023
0.6.0 Dec 22, 2022
0.5.0 May 27, 2022
0.4.0 Jan 25, 2022
0.3.2 Mar 17, 2019

#437 in Hardware support

Download history 23/week @ 2024-06-16 23/week @ 2024-06-23 80/week @ 2024-06-30 17/week @ 2024-07-07 23/week @ 2024-07-14 24/week @ 2024-07-21 95/week @ 2024-07-28 16/week @ 2024-08-04 8/week @ 2024-08-11 25/week @ 2024-08-18 24/week @ 2024-08-25 7/week @ 2024-09-01 17/week @ 2024-09-08 18/week @ 2024-09-15 72/week @ 2024-09-22 65/week @ 2024-09-29

172 downloads per month
Used in efi-runner

MIT license

15KB
282 lines

uefi-run Latest Version Build Status

Directly run UEFI applications in qemu


This helper application takes an EFI executable, builds a FAT filesystem around it, adds a startup script and runs qemu to run the executable.

It does not require root permissions since it uses the fatfs crate to build the filesystem image directly without involving mkfs, mount, etc.

Installation

Snap

uefi-run can be installed from the snapstore:

snap install --edge uefi-run

The confinement of this snap is somewhat strict. It can only access non-hidden files in the user's home directory. Also it has no network access.

Cargo

You can install cargo and rust using the rustup tool:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

After cargo has been installed you can build and install uefi-run:

cargo install uefi-run

Packages provided by third parties

Third-party packages are controlled by their respective maintainers. They are not associated to this project. Use at your own risk.

Dependencies

~6–15MB
~206K SLoC