A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
LoGin 8515606674 重新启用vamap (#16) | 10 mesi fa | |
---|---|---|
.vscode | 11 mesi fa | |
apps | 10 mesi fa | |
docs | 1 anno fa | |
gnuefi | 1 anno fa | |
inc | 10 mesi fa | |
lib | 1 anno fa | |
tools | 11 mesi fa | |
.clang-format | 1 anno fa | |
.gitignore | 1 anno fa | |
ChangeLog | 9 anni fa | |
LICENSE | 1 anno fa | |
Make.defaults | 1 anno fa | |
Make.rules | 1 anno fa | |
Makefile | 11 mesi fa | |
README.md | 1 anno fa | |
env.mk | 11 mesi fa |
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.