notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
opensbi RISC-V SBI bootloader and firmware
1.1 sysutils on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: mhorne@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-10-29 01:10:38
Last Update: 2022-06-28 20:15:40
Commit Hash: 8a0d40f
License: BSD2CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (77 items)
Collapse this list.
  1. /usr/local/share/licenses/opensbi-1.1/catalog.mk
  2. /usr/local/share/licenses/opensbi-1.1/LICENSE
  3. /usr/local/share/licenses/opensbi-1.1/BSD2CLAUSE
  4. include/sbi/fw_dynamic.h
  5. include/sbi/riscv_asm.h
  6. include/sbi/riscv_atomic.h
  7. include/sbi/riscv_barrier.h
  8. include/sbi/riscv_elf.h
  9. include/sbi/riscv_encoding.h
  10. include/sbi/riscv_fp.h
  11. include/sbi/riscv_io.h
  12. include/sbi/riscv_locks.h
  13. include/sbi/sbi_bitmap.h
  14. include/sbi/sbi_bitops.h
  15. include/sbi/sbi_console.h
  16. include/sbi/sbi_const.h
  17. include/sbi/sbi_csr_detect.h
  18. include/sbi/sbi_domain.h
  19. include/sbi/sbi_ecall.h
  20. include/sbi/sbi_ecall_interface.h
  21. include/sbi/sbi_emulate_csr.h
  22. include/sbi/sbi_error.h
  23. include/sbi/sbi_fifo.h
  24. include/sbi/sbi_hart.h
  25. include/sbi/sbi_hartmask.h
  26. include/sbi/sbi_hfence.h
  27. include/sbi/sbi_hsm.h
  28. include/sbi/sbi_illegal_insn.h
  29. include/sbi/sbi_init.h
  30. include/sbi/sbi_ipi.h
  31. include/sbi/sbi_list.h
  32. include/sbi/sbi_math.h
  33. include/sbi/sbi_misaligned_ldst.h
  34. include/sbi/sbi_platform.h
  35. include/sbi/sbi_pmu.h
  36. include/sbi/sbi_scratch.h
  37. include/sbi/sbi_string.h
  38. include/sbi/sbi_system.h
  39. include/sbi/sbi_timer.h
  40. include/sbi/sbi_tlb.h
  41. include/sbi/sbi_trap.h
  42. include/sbi/sbi_types.h
  43. include/sbi/sbi_unpriv.h
  44. include/sbi/sbi_version.h
  45. include/sbi_utils/fdt/fdt_domain.h
  46. include/sbi_utils/fdt/fdt_fixup.h
  47. include/sbi_utils/fdt/fdt_helper.h
  48. include/sbi_utils/fdt/fdt_pmu.h
  49. include/sbi_utils/gpio/fdt_gpio.h
  50. include/sbi_utils/gpio/gpio.h
  51. include/sbi_utils/i2c/fdt_i2c.h
  52. include/sbi_utils/i2c/i2c.h
  53. include/sbi_utils/ipi/aclint_mswi.h
  54. include/sbi_utils/ipi/fdt_ipi.h
  55. include/sbi_utils/irqchip/fdt_irqchip.h
  56. include/sbi_utils/irqchip/plic.h
  57. include/sbi_utils/reset/fdt_reset.h
  58. include/sbi_utils/serial/fdt_serial.h
  59. include/sbi_utils/serial/gaisler-uart.h
  60. include/sbi_utils/serial/litex-uart.h
  61. include/sbi_utils/serial/shakti-uart.h
  62. include/sbi_utils/serial/sifive-uart.h
  63. include/sbi_utils/serial/uart8250.h
  64. include/sbi_utils/sys/htif.h
  65. include/sbi_utils/sys/sifive_test.h
  66. include/sbi_utils/timer/aclint_mtimer.h
  67. include/sbi_utils/timer/fdt_timer.h
  68. lib64/lp64/libsbi.a
  69. lib64/lp64/libsbiutils.a
  70. lib64/lp64/opensbi/generic/lib/libplatsbi.a
  71. share/opensbi/lp64/generic/firmware/fw_dynamic.bin
  72. share/opensbi/lp64/generic/firmware/fw_dynamic.elf
  73. share/opensbi/lp64/generic/firmware/fw_jump.bin
  74. share/opensbi/lp64/generic/firmware/fw_jump.elf
  75. @owner
  76. @group
  77. @mode
Collapse this list.
Dependency lines:
  • opensbi>0:sysutils/opensbi
To install the port:
cd /usr/ports/sysutils/opensbi/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/opensbi
  • pkg install opensbi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: opensbi
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
opensbi
ABIlatestquarterly
FreeBSD:11:aarch64-0.8
FreeBSD:11:amd640.90.9
FreeBSD:11:armv6-0.8
FreeBSD:11:i3860.90.9
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1.1
FreeBSD:12:amd641.11.1
FreeBSD:12:armv6-0.8
FreeBSD:12:armv7-0.8
FreeBSD:12:i3861.11.1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.9
FreeBSD:13:aarch641.11.1
FreeBSD:13:amd641.11.1
FreeBSD:13:armv60.81.1
FreeBSD:13:armv71.11.1
FreeBSD:13:i3861.11.1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.80.9
FreeBSD:13:riscv64-1.1
FreeBSD:14:aarch641.1-
FreeBSD:14:amd641.1-
FreeBSD:14:armv61.1-
FreeBSD:14:armv71.1-
FreeBSD:14:i3861.1-
FreeBSD:14:mips--
FreeBSD:14:mips641.0-
FreeBSD:14:powerpc640.9-
FreeBSD:14:riscv640.9-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. gmake>=4.3 : devel/gmake
This port is required by:
for Build
  1. sysutils/u-boot-sifive-fu540
  2. sysutils/u-boot-sifive-fu740

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/riscv/opensbi/tar.gz/v1.1?dummy=/
Collapse this list.

Number of commits found: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
28 Jun 2022 20:15:40
 files touched by this commit commit hash:8a0d40f973dbc5961cbb8a44123c8c2317031d33  1.1
Mitchell Horne (mhorne) search for other commits by this committer
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
19 Jan 2022 21:15:34
 files touched by this commit commit hash:b0216f3b4482137d573f9d6f7789504d302fc47b  1.0
Mitchell Horne (mhorne) search for other commits by this committer
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
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.9
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.9
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
04 Feb 2021 15:27:39
Original commit files touched by this commit Revision:564036  0.9
mhorne search for other commits by this committer
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 Kuchemann (maciphone2@googlemail.com)
Differential Revision:	https://reviews.freebsd.org/D28471
29 Jun 2020 20:40:49
Original commit files touched by this commit Revision:540833  0.8
mhorne search for other commits by this committer
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
27 Feb 2020 22:15:03
Original commit files touched by this commit Revision:527307  0.6
mhorne search for other commits by this committer
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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Oct 2019 01:10:32
Original commit files touched by this commit Revision:515947  0.5
mhorne search for other commits by this committer
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

Number of commits found: 8