A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
LoGin 8515606674 重新启用vamap (#16) | hai 10 meses | |
---|---|---|
.vscode | hai 11 meses | |
apps | hai 10 meses | |
docs | hai 1 ano | |
gnuefi | hai 1 ano | |
inc | hai 10 meses | |
lib | hai 11 meses | |
tools | hai 11 meses | |
.clang-format | hai 1 ano | |
.gitignore | hai 1 ano | |
ChangeLog | %!s(int64=9) %!d(string=hai) anos | |
LICENSE | hai 1 ano | |
Make.defaults | hai 1 ano | |
Make.rules | hai 1 ano | |
Makefile | hai 11 meses | |
README.md | hai 1 ano | |
env.mk | hai 11 meses |
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.