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

#673 in Hardware support

Download history 13/week @ 2024-07-29 13/week @ 2024-08-05 10/week @ 2024-08-12 24/week @ 2024-08-19 24/week @ 2024-08-26 6/week @ 2024-09-02 18/week @ 2024-09-09 19/week @ 2024-09-16 94/week @ 2024-09-23 47/week @ 2024-09-30 17/week @ 2024-10-07 53/week @ 2024-10-14 21/week @ 2024-10-21 1/week @ 2024-10-28 5/week @ 2024-11-04 22/week @ 2024-11-11

51 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
~204K SLoC