[PATCH 12/18] bootstd: Add support for updating elements of the cmdline

Bin Meng bmeng.cn at gmail.com
Mon May 15 12:39:59 CEST 2023


On Sat, Apr 29, 2023 at 3:27 AM Simon Glass <sjg at chromium.org> wrote:
>
> Add a bootflow command to update the command line more easily. This allows
> changing a particular parameter rather than editing a very long strings.
> It is also easier to handle with scripting.
>
> The new 'bootflow cmdline' command allows getting and setting single
> parameters.
>
> Fix up the example output while we are here, since there are a few new
> items.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  boot/bootflow.c            |  53 ++++++++++++++++++
>  cmd/bootflow.c             |  57 ++++++++++++++++++-
>  doc/usage/cmd/bootflow.rst |  22 +++++++-
>  include/bootflow.h         |  42 ++++++++++++++
>  test/boot/bootflow.c       | 109 +++++++++++++++++++++++++++++++++++++
>  5 files changed, 281 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list