MickeyMeowMeowHouse / UefiDisplayBitmap

Simple demo of displaying a bitmap image in UEFI environment.

Home Page:https://www.0xaa55.com/thread-26000-1-1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UefiDisplayBitmap

Simple demo of displaying a bitmap image in UEFI environment.

Introduction

This project is a simple demo of displaying a bitmap image in UEFI environment.

Requirement

To run this project, a working computer with UEFI firmware is required.

Build

You should install LLVM and EDK II in order to build this project.
You may download LLVM from GitHub: https://github.com/llvm/llvm-project/releases
You may download EDK II from GitHub: https://github.com/tianocore/edk2/releases
For LLVM, you need to install Win64 option. Otherwise, you might have to revise the compilation script.
For EDK II, download source code of latest release and extract to path C:\UefiDKII.
If it is your first time of compilation, run build_prep.bat prior to building it.

In addition, you have to compile EDK II Libraries prior to your first time compilation, since this project uses some functions from the EDK II Library.

Test

Setup a USB flash stick with GUID Partition Table (GPT). Construct a partition and format it into FAT32 file system.
Copy the compiled bootx64.efi to \EFI\BOOT\bootx64.efi in the flash stick.
Enter your firmware settings. Set the device option prior to the operating system. Disable Secure Boot unless you can sign the executable.

License

This repository is under MIT license.

About

Simple demo of displaying a bitmap image in UEFI environment.

https://www.0xaa55.com/thread-26000-1-1.html

License:MIT License


Languages

Language:C 57.1%Language:Batchfile 26.3%Language:C++ 16.6%