Simon Glass | 917ae97 | 2024-10-28 13:47:56 +0100 | [diff] [blame^] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | .. index:: |
| 4 | single: sbi (command) |
| 5 | |
| 6 | sbi command |
| 7 | =========== |
| 8 | |
| 9 | Synopsis |
| 10 | -------- |
| 11 | |
| 12 | :: |
| 13 | |
| 14 | sb handoff |
| 15 | sb state |
| 16 | |
| 17 | Description |
| 18 | ----------- |
| 19 | |
| 20 | The *sb* command is used to display information about sandbox's internal |
| 21 | operation. See :doc:`/arch/sandbox/index` for more information. |
| 22 | |
| 23 | sb handoff |
| 24 | ~~~~~~~~~~ |
| 25 | |
| 26 | This shows information about any handoff information received from SPL. If |
| 27 | U-Boot is started from an SPL build, it shows a valid magic number. |
| 28 | |
| 29 | sb state |
| 30 | ~~~~~~~~ |
| 31 | |
| 32 | This shows basic information about the sandbox state, currently just the |
| 33 | command-line with which sandbox was started. |
| 34 | |
| 35 | Example |
| 36 | ------- |
| 37 | |
| 38 | This shows checking for the presence of SPL-handoff information. For this to |
| 39 | work, ``u-boot-spl`` must be run, with build that enables ``CONFIG_SPL``, such |
| 40 | as ``sandbox_spl``:: |
| 41 | |
| 42 | => sb handoff |
| 43 | SPL handoff magic 14f93c7b |
| 44 | |
| 45 | This shows output from the *sb state* subcommand:: |
| 46 | |
| 47 | => sb state |
| 48 | Arguments: |
| 49 | /tmp/b/sandbox/u-boot -D |
| 50 | |
| 51 | Configuration |
| 52 | ------------- |
| 53 | |
| 54 | The *sb handoff* command is only supported if CONFIG_HANDOFF is enabled. |