sysutils/opensbi 1.7_1 MidnightBSD
RISC-V SBI bootloader and firmware
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2
- Categories
- sysutils
Description
The RISC-V Supervisor Binary Interface (SBI) is the recommended interface between:
- A platform-specific firmware running in M-mode and a bootloader, a hypervisor or a general-purpose OS executing in S-mode or HS-mode.
- A hypervisor running in HS-mode and a bootloader or a general-purpose OS executing in VS-mode.
The RISC-V SBI specification is maintained as an independent project by the RISC-V Foundation at https://github.com/riscv/riscv-sbi-doc.
The goal of the OpenSBI project is to provide an open-source reference implementation of the RISC-V SBI specifications for platform-specific firmwares executing in M-mode (case 1 mentioned above). An OpenSBI implementation can be easily extended by RISC-V platform and system-on-chip vendors to fit a particular hardware configuration.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | sysutils/opensbi | 1.7_1 |
| FreeBSD | sysutils/opensbi | 1.9 |
| OpenBSD | sysutils/opensbi | 1.2p0 |
| DragonFly | sysutils/opensbi | 0.9 |
Install
Binary package:
mport install opensbi
From mports:
cd /usr/mports/sysutils/opensbi && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= opensbi>0:sysutils/opensbi
Dependencies
As this port's Makefile names them.
Build 2
bash: shells/bashdtc: sysutils/dtc
Build dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake python:build shebangfix
- Service scripts
- none
Files
pkg-plist 4
- share/opensbi/%%RISCV_ABI%%/generic/firmware/fw_dynamic.bin
- share/opensbi/%%RISCV_ABI%%/generic/firmware/fw_dynamic.elf
- share/opensbi/%%RISCV_ABI%%/generic/firmware/fw_jump.bin
- share/opensbi/%%RISCV_ABI%%/generic/firmware/fw_jump.elf
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| riscv-software-src-opensbi-v1.7_GH0.tar.gz | 490131 | 2cf856a4e5e2e052948ddb54ba48232b1f698b7f52e0374fc7d17d51e8c8f7ce |