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