Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DragonOS-Community/DragonStub
A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
https://github.com/DragonOS-Community/DragonStub
Last synced: 2 months ago
JSON representation
A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
- Host: GitHub
- URL: https://github.com/DragonOS-Community/DragonStub
- Owner: DragonOS-Community
- License: gpl-2.0
- Created: 2023-11-28T06:16:59.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-10T12:11:24.000Z (11 months ago)
- Last Synced: 2024-08-03T01:19:13.818Z (6 months ago)
- Language: C
- Size: 751 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# DragonStub
A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
## Requirements
To build the stub, you need to have the following packages installed:
```bash
sudo apt install -y gcc-riscv64-linux-gnu
```## Building
```bash
ARCH=riscv64 make -j $(nproc)
```build with payload:
```bash
ARCH=riscv64 PAYLOAD_ELF=path/to/payload.elf make -j $(nproc)
```## Run
Dry run:
```bash
ARCH=riscv64 make run
```Run with payload:
```bash
ARCH=riscv64 PAYLOAD_ELF=path/to/payload.elf make run
```## Maintainer
- longjin
## License
DragonStub is licensed under the GPLv2 License. See [LICENSE](LICENSE) for details.
## References
- GNU-EFI: DragonStub built with gnu-efi
- Linux-EFIStub: In Linux kernel source tree: drivers/firmware/efi/libstub