Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/targetdisk/hello-efi
Playing with EFI
https://github.com/targetdisk/hello-efi
Last synced: 28 days ago
JSON representation
Playing with EFI
- Host: GitHub
- URL: https://github.com/targetdisk/hello-efi
- Owner: targetdisk
- License: agpl-3.0
- Created: 2023-09-29T01:54:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-30T07:57:20.000Z (8 months ago)
- Last Synced: 2024-10-25T08:06:43.476Z (3 months ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Here lie my first attempts at building UEFI-executable software. You will need
a GNU/Linux machine that supports building ELF objects for your target system
(which POSIX-UEFI's toolchain converts into PE executables for us).## Getting build dependencies
### POSIX-UEFI
Clone our upstream submodules:
```
git submodule update --init --recursive
```Build POSIX-UEFI:
```
make -j$(nproc) -Cposix-uefi uefi
```## Building demos
Demos can be compiled by the names of their directories.For instance, to compile the `hello` demo, simply run:
```
make hello
```## Running demos
If you have a GNU/Linux system with KVM enabled, you can run a demo like so:
```
./qemu_test.sh hello
```The above will put you at Tianocore's EFI shell. Simply type the following (and
press enter) to run the demo:
```
FS0:\hello.efi
```## Further reading
- [https://wiki.osdev.org/POSIX-UEFI](https://wiki.osdev.org/POSIX-UEFI)
- [https://uefi.org/specifications](https://uefi.org/specifications)