1.. SPDX-License-Identifier: GPL-2.0+
2
3sbi command
4===========
5
6Synopsis
7--------
8
9::
10
11    sbi
12
13Description
14-----------
15
16The sbi command is used to display information about the SBI (Supervisor Binary
17Interface) implementation on RISC-V systems.
18
19The output may look like:
20
21::
22
23    => sbi
24    SBI 0.2
25    OpenSBI
26    Extensions:
27      sbi_set_timer
28      sbi_console_putchar
29      sbi_console_getchar
30      sbi_clear_ipi
31      sbi_send_ipi
32      sbi_remote_fence_i
33      sbi_remote_sfence_vma
34      sbi_remote_sfence_vma_asid
35      sbi_shutdown
36      SBI Base Functionality
37      Timer Extension
38      IPI Extension
39      RFENCE Extension
40      Hart State Management Extension
41
42The first line indicates the version of the RISC-V SBI specification.
43The second line indicates the implementation.
44The further lines enumerate the implemented extensions.
45
46Configuration
47-------------
48
49To use the sbi command you must specify CONFIG_CMD_SBI=y.
50