Skip to content

zozonteq/swift-uefi-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Platform Arch License: MIT

swift-uefi-sample

Build UEFI Application with Swift-Embedded.
x86_64 and Aarch64 are supported now.

Preview

x64 aarch64
image image

Features

  • GOP(Graphics Output Protocol)
  • Simple Text Output
  • Some UEFI Structures(e.g. BootServices)

Build and Run

  1. Embedded Swift is required. Following this docs to setup environment first.
  1. To run UEFI Application on QEMU. Also you need a pre-build UEFI such as OVMF.fd(x86_64) or OVMF_AA.fd(Aarch64)
make run # run uefi application(x86_64) in qemu
make run ARCH=arm64 # run uefi application(Aarch64) in qemu

make run NOGRAPHICS=true # run uefi application(x86_64) in qemu without graphics.
make run NOGRAPHICS=true ARCH=arm64 # run uefi application(arm64) in qemu without graphics.
  • Build article is stored at build/x64/BOOTX64.EFI(x86_64), build/arm64/BOOTAA64.EFI(aarch64).
  • Works on physical device. (Tested on Surface Pro 2017)

About

Build UEFI Application with Embedded-Swift(x86_64/Aarch64)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors