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