Skip to content

Latest commit

 

History

History

uefi-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Slint UEFI demo

This example demonstrates Slint in a UEFI environment.

Screenshot

Here's how it works: uefi_demo_run_at_vm

To build this example a suitable UEFI rust target must be installed first:

rustup target install x86_64-unknown-uefi

To build, simply pass the --package and --target arguments to cargo:

cargo build --package uefi-demo --target x86_64-unknown-uefi

The produced UEFI binary can then either be tested on real hardware by booting it like any other bootloader or directly with QEMU (the firmware location varies by distro):

qemu-system-x86_64 -serial stdio -bios /usr/share/edk2-ovmf/x64/OVMF.fd -kernel target/x86_64-unknown-uefi/debug/uefi-demo.efi

NOTE: the OVMF are not support mouse moving. please run it at VM or your PC if you want to use mouse.