From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
To: "sjg@chromium.org" <sjg@chromium.org>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Cc: "trini@konsulko.com" <trini@konsulko.com>,
"xypron.glpk@gmx.de" <xypron.glpk@gmx.de>,
"ilias.apalodimas@linaro.org" <ilias.apalodimas@linaro.org>,
"seanga2@gmail.com" <seanga2@gmail.com>,
"mark.kettenis@xs4all.nl" <mark.kettenis@xs4all.nl>
Subject: Re: [PATCH v2 2/3] doc: Complete the list of available runtime-config options
Date: Mon, 30 Aug 2021 14:53:32 +0000 [thread overview]
Message-ID: <aa6ba3736c71accd3b861a450e41a9f535cc97ab.camel@toradex.com> (raw)
In-Reply-To: <20210828164630.81050-3-sjg@chromium.org>
On Sat, 2021-08-28 at 10:46 -0600, Simon Glass wrote:
> The current list is missing a few items. Add them.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to document remaining runtime-config options
>
> doc/device-tree-bindings/config.txt | 45 +++++++++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/doc/device-tree-bindings/config.txt b/doc/device-tree-bindings/config.txt
> index 61ae18f8239..af5e3aa6db9 100644
> --- a/doc/device-tree-bindings/config.txt
> +++ b/doc/device-tree-bindings/config.txt
> @@ -13,6 +13,30 @@ is built.
>
> Available options are:
>
> +bootcmd (string)
> + Allows overwriting of the boot command used by U-Boot on startup. If
> + present, U-Boot uses this command instead. Note that this feature can
> + work even if loading the environment is disabled, e.g. for security
> + reasons. See also bootsercure.
bootsecure
> +
> +bootdelay (int)
> + This allows selecting of the U-Boot bootdelay, to control whether U-Boot
> + waits on boot or for how long. This allows this option to be configured
> + by the build system or by a previous-stage binary. For example, if the
> + images is being packed for testing or a user holds down a button, it may
> + allow a delay, but disable it for production.
> +
> +u-boot,boot-led (string)
> +u-boot,error-led (string)
> + This is used to specify the label for an LED to indicate an error and
> + a successful boot, on supported hardware.
> +
> +bootsecure (int)
> + Indicates that U-Boot should use secure_boot_cmd() to run commands,
> + rather than the normal CLI. This can be used in production images, to
> + restrict the amount of parsing done or the options available, to cut
> + back on the available surface for security attacks.
> +
> u-boot,efi-partition-entries-offset (int)
> If present, this provides an offset (in bytes, from the start of a
> device) that should be skipped over before the partition entries.
> @@ -21,6 +45,16 @@ u-boot,efi-partition-entries-offset (int)
>
> This setting will override any values configured via Kconfig.
>
> +kernel-offset (int)
> + This allows setting the 'kernaddr' environment variable, used to select
> + the address to load the kernel. It is useful for systems that use U-Boot
> + to flash a device, so the scripts that do this know where to put the
> + kernel to be flashed.
> +
> +load-environment (int)
> + Allows control over whether U-Boot loads its environment after
> + relocation (0=no, 1 or not present=yes).
> +
> u-boot,mmc-env-offset (int)
> u-boot,mmc-env-offset-redundant (int)
> If present, the values of the 'u-boot,mmc-env-offset' and/or
> @@ -42,9 +76,20 @@ u-boot,mmc-env-partition (int)
> precedence. In that case, only if the partition is not found,
> mmc-env-offset* will be tried.
>
> +u-boot,no-apm-finalize (bool)
> + For x86 devices running on coreboot, this tells U-Boot not to lock
> + down the Intel Management Engine (ME) registers. This allows U-Boot to
> + access the hardware more fully for platforms that need it.
> +
> u-boot,no-keyboard (bool)
> Tells U-Boot not to expect an attached keyboard with a VGA console
>
> +rootdisk-offset (int)
> + This allows setting the 'rootdisk' environment variable, used to select
> + the address to load the rootdisk. It is useful for systems that use
> + U-Boot to flash a device, so the scripts that do this know where to put
> + the root disk to be flashed.
> +
> silent-console (int)
> If present and non-zero, the console is silenced by default on boot.
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
next prev parent reply other threads:[~2021-08-30 14:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-28 16:46 [PATCH v2 0/3] doc: Clarify how U-Boot makes use of devicetree Simon Glass
2021-08-28 16:46 ` [PATCH v2 1/3] doc: Tidy up the bindings for the config/ node Simon Glass
2021-08-30 14:45 ` Marcel Ziswiler
2021-08-28 16:46 ` [PATCH v2 2/3] doc: Complete the list of available runtime-config options Simon Glass
2021-08-30 14:53 ` Marcel Ziswiler [this message]
2021-08-28 16:46 ` [PATCH v2 3/3] RFC: doc: Add documentation about devicetree usage Simon Glass
2021-08-30 12:46 ` Ilias Apalodimas
2021-08-30 14:30 ` Heinrich Schuchardt
2021-08-30 14:48 ` Tom Rini
2021-08-30 15:14 ` Heinrich Schuchardt
2021-08-30 16:15 ` Tom Rini
2021-09-03 8:53 ` Simon Glass
2021-09-03 8:53 ` Simon Glass
2021-09-10 14:00 ` Tom Rini
2021-10-22 3:05 ` Simon Glass
2021-08-30 14:53 ` Marcel Ziswiler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa6ba3736c71accd3b861a450e41a9f535cc97ab.camel@toradex.com \
--to=marcel.ziswiler@toradex.com \
--cc=ilias.apalodimas@linaro.org \
--cc=mark.kettenis@xs4all.nl \
--cc=seanga2@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox