sysutils/opensbi: update to v1.9 Bump dependent u-boot ports. Sponsored by: The FreeBSD Foundation9f022e1fca
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)
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/D544212145a70e59
sysutils/opensbi: update to v1.7 Bump dependent u-boot ports. Sponsored by: The FreeBSD Foundation8e0b9063b8
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 Foundation1ebf5e656c
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 Foundation3d68246d28
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: 2023Q4a864243fb7
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/D40915652b56fe24
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/D37934b594a4b70c
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
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
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/D356168a0d40f973
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/D33845b0216f3b44
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
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/D28471cd45ca02e4
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/D246609046d33706
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/D23820d38b22e068
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/D221648c1a17b1e0