A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
|
před 1 rokem | |
---|---|---|
.vscode | před 1 rokem | |
apps | před 1 rokem | |
docs | před 1 rokem | |
gnuefi | před 1 rokem | |
inc | před 1 rokem | |
lib | před 1 rokem | |
tools | před 1 rokem | |
.clang-format | před 1 rokem | |
.gitignore | před 1 rokem | |
ChangeLog | před 9 roky | |
LICENSE | před 1 rokem | |
Make.defaults | před 1 rokem | |
Make.rules | před 1 rokem | |
Makefile | před 1 rokem | |
README.md | před 1 rokem | |
env.mk | před 1 rokem |
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.