blob: 713e0b9c81601d38b3ec615783e01bb290f2a7e2 [file] [log] [blame]
Heinrich Schuchardt9c6d0502021-01-19 19:30:04 +01001.. 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
Heinrich Schuchardtf67cc2f2022-10-28 22:28:09 +020024 SBI 1.0
25 OpenSBI 1.1
26 Machine:
27 Vendor ID 0
28 Architecture ID 0
29 Implementation ID 0
Heinrich Schuchardt9c6d0502021-01-19 19:30:04 +010030 Extensions:
Heinrich Schuchardtf67cc2f2022-10-28 22:28:09 +020031 Set Timer
32 Console Putchar
33 Console Getchar
34 Clear IPI
35 Send IPI
36 Remote FENCE.I
37 Remote SFENCE.VMA
38 Remote SFENCE.VMA with ASID
39 System Shutdown
Heinrich Schuchardt9c6d0502021-01-19 19:30:04 +010040 SBI Base Functionality
41 Timer Extension
42 IPI Extension
43 RFENCE Extension
44 Hart State Management Extension
Heinrich Schuchardtf67cc2f2022-10-28 22:28:09 +020045 System Reset Extension
46 Performance Monitoring Unit Extension
Heinrich Schuchardt9c6d0502021-01-19 19:30:04 +010047
48The first line indicates the version of the RISC-V SBI specification.
49The second line indicates the implementation.
Heinrich Schuchardtf67cc2f2022-10-28 22:28:09 +020050The Machine section shows the values of the machine information registers.
51The Extensions section enumerates the implemented SBI extensions.
Heinrich Schuchardt9c6d0502021-01-19 19:30:04 +010052
53Configuration
54-------------
55
56To use the sbi command you must specify CONFIG_CMD_SBI=y.