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

#344 in Hardware support

Download history 1/week @ 2023-12-04 6/week @ 2023-12-11 8/week @ 2023-12-18 11/week @ 2024-01-08 28/week @ 2024-01-15 33/week @ 2024-01-22 37/week @ 2024-01-29 14/week @ 2024-02-05 6/week @ 2024-02-12 53/week @ 2024-02-19 33/week @ 2024-02-26 23/week @ 2024-03-04 46/week @ 2024-03-11 33/week @ 2024-03-18

137 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–17MB
~212K SLoC