# riscv-software-src/opensbi

RISC-V Open Source Supervisor Binary Interface

Repository: https://github.com/riscv-software-src/opensbi
Canonical: https://ross.abutalabs.com/products/opensbi
Homepage: https://riscv.atlassian.net/browse/RVG-49
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-20T15:20:36+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 67, longevity 100
- inputs: {"age_days": 2858, "days_push": 13, "days_rel": 63, "gap_med": 177.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1524, forks 708 (observed 2026-08-28T04:04:58.194761+00:00)

## What it is
OpenSBI is the open-source reference implementation of the RISC-V Supervisor Binary Interface (SBI) specification, running as firmware in M-mode. It provides a platform-independent static library (libsbi.a) plus platform-specific firmware builds that bootloaders, hypervisors, and operating systems rely on at boot time.

## Use cases
- boot a RISC-V operating system or bootloader from M-mode firmware
- implement RISC-V SBI specification conformance for a custom SoC
- provide SBI call handling for a hypervisor running in HS-mode
- extend platform firmware for a specific RISC-V hardware configuration
- bring up early console and inter-processor interrupts on a RISC-V board
- build a minimal M-mode runtime for RISC-V kernel development

## When to choose
- you are building or booting an OS, bootloader, or hypervisor on RISC-V hardware
- you are a SoC or platform vendor needing a conformant SBI firmware base to extend
- you need a well-maintained, spec-compliant reference implementation of RISC-V SBI

## When to avoid
- you need userspace application software rather than low-level firmware
- you are targeting non-RISC-V architectures such as ARM or x86
- you need a full bootloader like U-Boot rather than the SBI layer beneath it

## Facets
- artifact type: library
- maturity: active
- function: embedded, sdk, developer-tools
- domain: embedded-systems, operating-systems, hardware, developer-tools
- platform: embedded, c
- tags: firmware, bootloader, risc-v, sbi, m-mode, bare-metal, linux

## Member repositories
- riscv-software-src/opensbi (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.194761+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:43.098217+00:00, confidence not recorded.
  - readme: https://github.com/riscv-software-src/opensbi (fetched 2026-08-28T04:04:58.194761+00:00, sha bf5819d4e4b3)
  - homepage: https://riscv.atlassian.net/browse/RVG-49 (fetched 2026-08-29T11:34:27.727803+00:00, sha 9b9e8314182f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
