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