BSD Ports

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:

  1. 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.
  2. 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

SystemPortVersion
FreeBSDsysutils/opensbi1.9
OpenBSDsysutils/opensbi1.2p0
DragonFlysysutils/opensbi0.9
MidnightBSDsysutils/opensbi1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.91.91.21.71.9
FreeBSD:14:quarterly1.91.9n/a1.61.9
FreeBSD:15:latest1.91.9n/a1.71.7
FreeBSD:15:quarterly1.91.9n/an/an/a
FreeBSD:16:latest1.91.9n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

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
FileSizeSHA256
riscv-software-src-opensbi-v1.9_GH0.tar.gz551157f6c4985843d6d878b5b511d7d7a930b6b541d3d9305371f2d9780765428f66f4

Commit history 1

DateCommitCreditsLog message
9f022e1fca Mitchell Horne sysutils/opensbi: update to v1.9
Bump dependent u-boot ports. Sponsored by: The FreeBSD Foundation