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