sysutils/opensbi 1.9 FreeBSD
RISC-V SBI bootloader and firmware
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9f022e1fca- License
- BSD2CLAUSE
- Categories
- sysutils
- Package size
- 110.9 KiB, 1049.3 KiB installed
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 |
|---|---|---|
| FreeBSD | sysutils/opensbi | 1.9 |
| OpenBSD | sysutils/opensbi | 1.2p0 |
| DragonFly | sysutils/opensbi | 0.9 |
| MidnightBSD | sysutils/opensbi | 1.7_1 |
Install
Binary package:
pkg install opensbi
From the ports tree:
cd /usr/ports/sysutils/opensbi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= opensbi>0:sysutils/opensbi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.9 | 1.9 | 1.2 | 1.7 | 1.9 |
| FreeBSD:14:quarterly | 1.9 | 1.9 | n/a | 1.6 | 1.9 |
| FreeBSD:15:latest | 1.9 | 1.9 | n/a | 1.7 | 1.7 |
| FreeBSD:15:quarterly | 1.9 | 1.9 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.9 | 1.9 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
bash: shells/bashdtc: sysutils/dtc
The full lists below include those, and their dependencies in turn.
Build dependencies 11
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.9_GH0.tar.gz | 551157 | f6c4985843d6d878b5b511d7d7a930b6b541d3d9305371f2d9780765428f66f4 |