A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
|  | 7 months ago | |
|---|---|---|
| .vscode | 1 year ago | |
| apps | 7 months ago | |
| docs | 1 year ago | |
| gnuefi | 1 year ago | |
| inc | 7 months ago | |
| lib | 7 months ago | |
| tools | 1 year ago | |
| .clang-format | 1 year ago | |
| .gitignore | 1 year ago | |
| ChangeLog | 10 years ago | |
| LICENSE | 1 year ago | |
| Make.defaults | 7 months ago | |
| Make.rules | 2 years ago | |
| Makefile | 7 months ago | |
| README.md | 1 year ago | |
| env.mk | 1 year ago | 
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.