CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

sysutils/opensbi 1.9

RISC-V SBI bootloader and firmware

Maintainer
mhorne@FreeBSD.org
Packages
latest: 1.9
Upstream
up to date
Last update
to 1.9 · 9f022e1fca
Quarterly
2026Q4: 1.9
WWW
https://github.com/riscv-software-src/opensbi
Links
cgit · VuXML

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 1.9.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (18)

Mitchell Horne (mhorne) · 1.9
sysutils/opensbi: update to v1.9

Bump dependent u-boot ports.

Sponsored by:	The FreeBSD Foundation
9f022e1fca
Mitchell Horne (mhorne) · 1.8.1
sysutils/opensbi: update to v1.8.1

In this update, drop the PMP workaround patch for FU540. This will be
fixed in the src tree.

As usual, bump dependent u-boot ports.

Tested by:	Klaus Küchemann <maciphone2@googlemail.com>
Reviewed by:	lwhsu
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D54421
2145a70e59
Mitchell Horne (mhorne) · 1.7
sysutils/opensbi: update to v1.7

Bump dependent u-boot ports.

Sponsored by:	The FreeBSD Foundation
8e0b9063b8
Mitchell Horne (mhorne) · 1.6
sysutils/opensbi: update to v1.6

Remove the port platform OPTIONS in favor of the 'generic' platform
only. This has been the only one we've shipped with for a few versions
now.

This cleans up the Makefile, but more to the point, there is some kind
of build regression with the new version that doing the make and install
in a single step seems to fix.

Bump dependent u-boot ports.

Sponsored by:	The FreeBSD Foundation
1ebf5e656c
Mitchell Horne (mhorne) · 1.4
sysutils/opensbi: update to v1.4

Release notes/info:
https://github.com/riscv-software-src/opensbi/releases/tag/v1.4

Bump dependent u-boot ports.

Sponsored by:	The FreeBSD Foundation
3d68246d28
Dimitry Andric (dim) · 1.3.1
sysutils/opensbi: fix build with clang 17

Building sysutils/opensbi with clang 17 results in the following errors:

  clang: error: unsupported option '-mno-unaligned-access' for target 'riscv64-unknown-elf'
  clang: error: unsupported option '-mno-unaligned-access' for target 'riscv64-unknown-elf'
  [... many more times...]

The target-specific option -mno-unaligned-access (which is emitted from
the compiler driver when -mstrict-align is used) did not do anything for
riscv64, but clang 17 is now more strict about reporting unsupported
options. Remove the -mstrict-align option from the Makefile's CFLAGS and
ASFLAGS to fix it.

PR:		273753
MFH:		2023Q4
a864243fb7
Mitchell Horne (mhorne) · 1.3.1
sysutils/opensbi: update to v1.3.1

Add a patch to work around an assembler error with clang 16.0. This will
be submitted upstream.

As usual, bump revision of dependent u-boot ports.

Reviewed by:	jrtc27, lwhsu (previous version)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40915
652b56fe24
Mitchell Horne (mhorne) · 1.2
sysutils/opensbi: update to version 1.2

With this version, stop providing the library and header files
altogether. I do not think they are useful at this time.

Bump associate u-boot port revisions.

Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37934
b594a4b70c
Stefan Eßer (se) · 1.1
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 1.1
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Mitchell Horne (mhorne) · 1.1
sysutils/opensbi: update to version 1.1

Bump the PORTREVISION of dependent u-boot ports.

Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35616
8a0d40f973
Mitchell Horne (mhorne) · 1.0
sysutils/opensbi: update to version v1.0

As the fu540 platform has been removed with this version, fall back to
building the generic platform only. Keep the platform logic around in
the Makefile in case we need it in the future.

Switch to building with base system clang+binutils.

Bump the PORTREVISION for sysutils/u-boot-sifive-fu540.

Reviewed by:	jrtc27, lwhsu (previous version both)
Approved by:	lwhsu (ports)
Tested by:	Klaus Küchemann <maciphone2@googlemail.com>
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33845
b0216f3b44
Mathieu Arnold (mat) · 0.9
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 0.9
Remove # $FreeBSD$ from Makefiles.
305f148f48
Mitchell Horne (mhorne) · 0.9
sysutils/opensbi: update to v0.9

This change adds a patch to disable the PMP for the sifive/fu540 target,
which is a workaround to a PMP errata in the chip. The OpenSBI update
itself is quite minor.

Bump the dependent port, sysutils/u-boot-sifive-fu540.

Reviewed by:	lwhsu, kp
Approved by:	lwhsu (ports)
Tested by:	Klaus Küchemann (maciphone2@googlemail.com)
Differential Revision:	https://reviews.freebsd.org/D28471
cd45ca02e4
Mitchell Horne (mhorne) · 0.8
sysutils/opensbi: update to v0.8

This brings some restructuring to the installation paths. Firmware
files are still stored under /usr/local/share, but with the new prefix
allowing for multiple ABIs to be installed (e.g. opensbi/lp64/qemu/virt).
Libraries have been moved to /usr/local/lib64.

A new "generic" platform has been added, which will produce firmware
binaries capable of running on several platforms. The qemu/virt and
spike platforms have been removed as a result.

Additionally, the fw_payload.[bin|elf] files will no longer be
installed. These are compiled with the test payload and therefore don't
offer much use as part of this port.

Reviewed by:	lbartoletti (previous version)
Approved by:	lbartoletti
Differential Revision:	https://reviews.freebsd.org/D24660
9046d33706
Mitchell Horne (mhorne) · 0.6
sysutils/opensbi: update to version 0.6

This update adds a new default option: SPIKE. This builds support for the Spike
platform. Also, the toolchain dependency has been switched from riscv64-gcc to
riscv64-none-elf-gcc.

This release has:

Relocation lottery in reference firmwares
Preferred boot HART field in fw_dynamic_info
Platform specific optional way to specify MISA
Hypervisor v0.5 specification support
SBI v0.2 TIME extension
SBI v0.2 IPI extension
SBI v0.2 RFENCE extension
T-HEAD C910 platform support
HART exit path support
Dynamic creation of IPI events
Dynamic registration of SBI extensions
Removed qemu/sifive_u platform support
Spike platform support
Print MIDELEG and MEDELEG in boot prints

Reviewed by:	lwhsu
Approved by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D23820
d38b22e068
Mitchell Horne (mhorne) · 0.5
New port: sysutils/opensbi: OpenSBI, a RISC-V bootloader and firmware

OpenSBI is a RISC-V bootloader and set of firmware libraries that
implement the RISC-V Supervisor Binary Interface (SBI) required for
supervisor targets, such as the FreeBSD kernel.

This port installs the OpenSBI libraries that can be used for
development of custom firmwares, as well as the firmware files for the
QEMU virt and SiFive U540 platforms.

Reviewed by:	lwhsu, philip (earlier version)
Approved by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D22164
8c1a17b1e0