blob: 7d933852a91c11d3ed2e5d0a8a479d2f41e6383d [file] [log] [blame]
Simon Glassc6a52e72024-11-15 16:19:23 -07001.. SPDX-License-Identifier: GPL-2.0+:
2
3.. index::
4 single: bootstd (command)
5
6bootstd command
7===============
8
9Synopsis
10--------
11
12::
13
14 bootstd images
15
16Description
17-----------
18
19The `bootstd` command is used to manage standard boot. At present the only
20functionality available is to look at the images which have been loaded, or
21could be loaded should a particular bootflow be selected.
22
23See :doc:`/develop/bootstd/index` for more information.
24
25bootflow images
26~~~~~~~~~~~~~~~
27
28Lists the available images and their location in memory.
29
30Example
31-------
32
33This shows listing images attached to various bootflows, then checking the
34content of a few of them::
35
36 => bootflow scan
37 => bootflow list
38 Showing all bootflows
39 Seq Method State Uclass Part Name Filename
40 --- ----------- ------ -------- ---- ------------------------ ----------------
41 0 extlinux ready mmc 1 mmc1.bootdev.part_1 /extlinux/extlinux.conf
42 1 script ready mmc 1 mmc4.bootdev.part_1 /boot/boot.scr
43 2 cros ready mmc 2 mmc5.bootdev.part_2
44 3 cros ready mmc 4 mmc5.bootdev.part_4
45 --- ----------- ------ -------- ---- ------------------------ ----------------
46 (4 bootflows, 4 valid)
47 =>
48 => bootstd images
49 Seq Bootflow Type At Size Filename
50 --- ------------------- -------------- -------- -------- ----------------
51 0 mmc1.bootdev.part_1 extlinux_cfg 8ed5a70 253 /extlinux/extlinux.conf
52 1 mmc4.bootdev.part_1 script 8ed9550 c73 /boot/boot.scr
53 1 mmc4.bootdev.part_1 logo 8eda2a0 5d42 boot.bmp
54 2 mmc5.bootdev.part_2 x86_setup 8ee84d0 3000 setup
55 2 mmc5.bootdev.part_2 cmdline 8ee84d0 1000 cmdline
56 2 mmc5.bootdev.part_2 kernel - 4000 kernel
57 3 mmc5.bootdev.part_4 x86_setup 8eeb4e0 3000 setup
58 3 mmc5.bootdev.part_4 cmdline 8eeb4e0 1000 cmdline
59 3 mmc5.bootdev.part_4 kernel - 4000 kernel
60 --- ------------------- -------------- -------- -------- ----------------
61 (9 images)
62 => md 8eda2a0 10
63 08eda2a0: 5d424d42 00000000 008a0000 007c0000 BMB]..........|.
64 08eda2b0: 00ac0000 002e0000 00010000 00000018 ................
65 08eda2c0: 5cb80000 0b130000 0b130000 00000000 ...\............
66 08eda2d0: 00000000 00000000 ff0000ff 00ff0000 ................
67 => md 8ee84d0 10
68 08ee84d0: 544f4f42 414d495f 2f3d4547 696c6d76 BOOT_IMAGE=/vmli
69 08ee84e0: 2d7a756e 35312e35 312d302e 672d3132 nuz-5.15.0-121-g
70 08ee84f0: 72656e65 72206369 3d746f6f 7665642f eneric root=/dev
71 08ee8500: 6d766e2f 316e3065 72203170 7571206f /nvme0n1p1 ro qu
72
73Return value
74------------
75
76The return value $? is always 0 (true).
77
78
79.. BootflowStates_: