A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
|  | пре 7 месеци | |
|---|---|---|
| .vscode | пре 1 година | |
| apps | пре 7 месеци | |
| docs | пре 1 година | |
| gnuefi | пре 1 година | |
| inc | пре 7 месеци | |
| lib | пре 7 месеци | |
| tools | пре 1 година | |
| .clang-format | пре 1 година | |
| .gitignore | пре 1 година | |
| ChangeLog | пре 10 година | |
| LICENSE | пре 1 година | |
| Make.defaults | пре 7 месеци | |
| Make.rules | пре 2 година | |
| Makefile | пре 7 месеци | |
| README.md | пре 1 година | |
| env.mk | пре 1 година | 
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.