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