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