Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Convert .c to .efi in seconds and fire it up in QEMU for testing purpose!🔥

NotificationsYou must be signed in to change notification settings

Cdude1909/C2EFI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

A script designed to automate the process of compiling, testing, and creating bootable UEFI applications using the GNU-EFI library. It simplifies the workflow by integrating dynamic input, automated compilation, and optional testing in QEMU.

Requirements

  • GCC

    • Install usingsudo apt install gcc in Debian/Ubuntu
  • GNU-EFI Library:

    • Install using your package manager (e.g.,sudo apt install gnu-efi on Debian/Ubuntu).
  • QEMU (optional):

    • For testing the application in a virtual environment.QEMU Install

Steps

  1. Place your UEFI source file (e.g.,main.c) in the working directory.

  2. Run the script using:

    sudo bash ./run.sh
  3. Provide the following inputs when prompted:

    • Path to the source.c file.
    • Paths to GNU-EFI libraries and headers.
    • Note: It is always recommended to use/usr/include/efi as HeaderGNU-EFI wiki
  4. Finally, you will be prompted to live-run (test) .efi on QEMU

Working of Script

working-ezgif com-optimize

About

Convert .c to .efi in seconds and fire it up in QEMU for testing purpose!🔥

Topics

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp