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 11 meses | |
gnuefi | hai 1 ano | |
inc | hai 10 meses | |
lib | hai 11 meses | |
tools | hai 11 meses | |
.clang-format | hai 11 meses | |
.gitignore | hai 11 meses | |
ChangeLog | %!s(int64=9) %!d(string=hai) anos | |
LICENSE | hai 11 meses | |
Make.defaults | hai 11 meses | |
Make.rules | hai 1 ano | |
Makefile | hai 11 meses | |
README.md | hai 11 meses | |
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.