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