Heinrich Schuchardt | 9c6d050 | 2021-01-19 19:30:04 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
Heinrich Schuchardt | 60971e6 | 2024-01-14 14:53:13 +0100 | [diff] [blame] | 3 | .. index:: |
| 4 | single: sbi (command) |
| 5 | |
Heinrich Schuchardt | 9c6d050 | 2021-01-19 19:30:04 +0100 | [diff] [blame] | 6 | sbi command |
| 7 | =========== |
| 8 | |
| 9 | Synopsis |
| 10 | -------- |
| 11 | |
| 12 | :: |
| 13 | |
| 14 | sbi |
| 15 | |
| 16 | Description |
| 17 | ----------- |
| 18 | |
| 19 | The sbi command is used to display information about the SBI (Supervisor Binary |
| 20 | Interface) implementation on RISC-V systems. |
| 21 | |
| 22 | The output may look like: |
| 23 | |
| 24 | :: |
| 25 | |
| 26 | => sbi |
Heinrich Schuchardt | f67cc2f | 2022-10-28 22:28:09 +0200 | [diff] [blame] | 27 | SBI 1.0 |
| 28 | OpenSBI 1.1 |
| 29 | Machine: |
| 30 | Vendor ID 0 |
| 31 | Architecture ID 0 |
| 32 | Implementation ID 0 |
Heinrich Schuchardt | 9c6d050 | 2021-01-19 19:30:04 +0100 | [diff] [blame] | 33 | Extensions: |
Heinrich Schuchardt | f67cc2f | 2022-10-28 22:28:09 +0200 | [diff] [blame] | 34 | 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 Schuchardt | 9c6d050 | 2021-01-19 19:30:04 +0100 | [diff] [blame] | 43 | SBI Base Functionality |
| 44 | Timer Extension |
| 45 | IPI Extension |
| 46 | RFENCE Extension |
| 47 | Hart State Management Extension |
Heinrich Schuchardt | f67cc2f | 2022-10-28 22:28:09 +0200 | [diff] [blame] | 48 | System Reset Extension |
| 49 | Performance Monitoring Unit Extension |
Heinrich Schuchardt | 9c6d050 | 2021-01-19 19:30:04 +0100 | [diff] [blame] | 50 | |
| 51 | The first line indicates the version of the RISC-V SBI specification. |
| 52 | The second line indicates the implementation. |
Heinrich Schuchardt | f67cc2f | 2022-10-28 22:28:09 +0200 | [diff] [blame] | 53 | The Machine section shows the values of the machine information registers. |
| 54 | The Extensions section enumerates the implemented SBI extensions. |
Heinrich Schuchardt | 9c6d050 | 2021-01-19 19:30:04 +0100 | [diff] [blame] | 55 | |
| 56 | Configuration |
| 57 | ------------- |
| 58 | |
| 59 | To use the sbi command you must specify CONFIG_CMD_SBI=y. |