bootstd: Add a simple command to list images
authorSimon Glass <sjg@chromium.org>
Fri, 15 Nov 2024 23:19:23 +0000 (16:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 15 Jan 2025 14:48:42 +0000 (08:48 -0600)
commitd9055f5e4f3c62e693991e15222804ed6c1a93ef
tree6f3585f9eac9db8e6831e12dc775fa7f85c03f0a
parent59a9a1453703429e1d7966cb46b176994d554127
bootstd: Add a simple command to list images

Add a new 'bootstd images' command, which lists the images which have
been loaded.

Update some existing tests to use it. Provide some documentation about
images in general and this command in particular.

Use a more realistic kernel command-line to make the test easier to
follow.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootflow.c
cmd/Kconfig
cmd/Makefile
cmd/bootstd.c [new file with mode: 0644]
doc/develop/bootstd/overview.rst
doc/usage/cmd/bootstd.rst [new file with mode: 0644]
doc/usage/index.rst
include/bootflow.h
test/boot/bootflow.c
test/py/tests/test_ut.py