blob: 5492925a8bc34e096221242d3d9d2c48ff80513e [file] [log] [blame]
Heinrich Schuchardtcb2e3412021-01-19 19:30:04 +01001.. SPDX-License-Identifier: GPL-2.0+
2
Heinrich Schuchardt1b0c3162024-01-14 14:53:13 +01003.. index::
4 single: sbi (command)
5
Heinrich Schuchardtcb2e3412021-01-19 19:30:04 +01006sbi command
7===========
8
9Synopsis
10--------
11
12::
13
14 sbi
15
16Description
17-----------
18
19The sbi command is used to display information about the SBI (Supervisor Binary
20Interface) implementation on RISC-V systems.
21
22The output may look like:
23
24::
25
26 => sbi
Heinrich Schuchardt6314cf62022-10-28 22:28:09 +020027 SBI 1.0
28 OpenSBI 1.1
29 Machine:
30 Vendor ID 0
31 Architecture ID 0
32 Implementation ID 0
Heinrich Schuchardtcb2e3412021-01-19 19:30:04 +010033 Extensions:
Heinrich Schuchardt6314cf62022-10-28 22:28:09 +020034 Set Timer
35 Console Putchar
36 Console Getchar
37 Clear IPI
38 Send IPI
39 Remote FENCE.I
40 Remote SFENCE.VMA
41 Remote SFENCE.VMA with ASID
42 System Shutdown
Heinrich Schuchardtcb2e3412021-01-19 19:30:04 +010043 SBI Base Functionality
44 Timer Extension
45 IPI Extension
46 RFENCE Extension
47 Hart State Management Extension
Heinrich Schuchardt6314cf62022-10-28 22:28:09 +020048 System Reset Extension
49 Performance Monitoring Unit Extension
Heinrich Schuchardtcb2e3412021-01-19 19:30:04 +010050
51The first line indicates the version of the RISC-V SBI specification.
52The second line indicates the implementation.
Heinrich Schuchardt6314cf62022-10-28 22:28:09 +020053The Machine section shows the values of the machine information registers.
54The Extensions section enumerates the implemented SBI extensions.
Heinrich Schuchardtcb2e3412021-01-19 19:30:04 +010055
56Configuration
57-------------
58
59To use the sbi command you must specify CONFIG_CMD_SBI=y.