A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
|  | vor 7 Monaten | |
|---|---|---|
| .vscode | vor 1 Jahr | |
| apps | vor 7 Monaten | |
| docs | vor 1 Jahr | |
| gnuefi | vor 1 Jahr | |
| inc | vor 7 Monaten | |
| lib | vor 7 Monaten | |
| tools | vor 1 Jahr | |
| .clang-format | vor 1 Jahr | |
| .gitignore | vor 1 Jahr | |
| ChangeLog | vor 10 Jahren | |
| LICENSE | vor 1 Jahr | |
| Make.defaults | vor 7 Monaten | |
| Make.rules | vor 2 Jahren | |
| Makefile | vor 7 Monaten | |
| README.md | vor 1 Jahr | |
| env.mk | vor 1 Jahr | 
A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
To build the stub, you need to have the following packages installed:
sudo apt install -y gcc-riscv64-linux-gnu
ARCH=riscv64 make -j $(nproc)
build with payload:
ARCH=riscv64 PAYLOAD_ELF=path/to/payload.elf make -j $(nproc)
Dry run:
ARCH=riscv64 make run
Run with payload:
ARCH=riscv64 PAYLOAD_ELF=path/to/payload.elf make run
DragonStub is licensed under the GPLv2 License. See LICENSE for details.