[PATCH 13/18] bootstd: Support automatically setting Linux parameters

Bin Meng bmeng.cn at gmail.com
Mon May 15 12:40:29 CEST 2023


On Sat, Apr 29, 2023 at 3:26 AM Simon Glass <sjg at chromium.org> wrote:
>
> Some Linux parameters can be set automatically by U-Boot, if it knows the
> device being used. For example, since U-Boot knows the serial console
> being used, it can add parameters for earlycon and console.
>
> Add support for this.
>
> Note that this is an experimental feature and we will see how useful it
> turns out to be. It is very handy for ChromeOS, since otherwise it is very
> difficult to manually determine the UART address or port number,
> particularly in a script.
>
> Provide an example of how this is used with ChromeOS.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  boot/bootflow.c            | 33 +++++++++++++++++
>  cmd/bootflow.c             |  5 ++-
>  doc/usage/cmd/bootflow.rst | 75 +++++++++++++++++++++++++++++++++++++-
>  include/bootflow.h         | 12 ++++++
>  4 files changed, 123 insertions(+), 2 deletions(-)
>

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


More information about the U-Boot mailing list