Heinrich Schuchardt | 9c6d050 | 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 |
| 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 | |
| 42 | The first line indicates the version of the RISC-V SBI specification. |
| 43 | The second line indicates the implementation. |
| 44 | The further lines enumerate the implemented extensions. |
| 45 | |
| 46 | Configuration |
| 47 | ------------- |
| 48 | |
| 49 | To use the sbi command you must specify CONFIG_CMD_SBI=y. |