diff options
| author | Simon Glass <[email protected]> | 2023-08-19 16:49:35 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-28 15:59:22 -0400 |
| commit | 5986d46f8efb20532d494242fccb051267f92e1a (patch) | |
| tree | f63b239fb16ae1f72580d96ae8304e40364d2ef3 /doc/develop | |
| parent | d389efc44898f9b5b3d07e810253b6fb73c55e3c (diff) | |
bootstd: Adjust the default bootmeth order
The existing distro scripts check extlinux and scripts before EFI. Adjust
the default ordering to do the same, to avoid breaking existing flows.
Add some documentation, mentioning that this order will likely change in
future.
Signed-off-by: Simon Glass <[email protected]>
Reported-by: Da Xue <[email protected]>
Diffstat (limited to 'doc/develop')
| -rw-r--r-- | doc/develop/bootstd.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/develop/bootstd.rst b/doc/develop/bootstd.rst index ec313653578..c47de273ab1 100644 --- a/doc/develop/bootstd.rst +++ b/doc/develop/bootstd.rst @@ -132,6 +132,9 @@ above bootdev scanning. Controlling ordering -------------------- +By default, faster bootdevs (or those which are assumed to be faster) are used +first, since they are more likely to be able to boot the device quickly. + Several options are available to control the ordering of boot scanning: @@ -151,6 +154,10 @@ bootdevs and their sequence numbers. bootmeths ~~~~~~~~~ +By default bootmeths are checked in name order. Use `bootmeth list` to see the +ordering. Note that the `extlinux` and `script` bootmeth is first, to preserve the behaviour +used by the old distro scripts. + This environment variable can be used to control the list of bootmeths used and their ordering for example:: @@ -164,7 +171,6 @@ controlled by aliases. The :ref:`usage/cmd/bootmeth:bootmeth command` (`bootmeth order`) operates in the same way as setting this variable. - Bootdev uclass -------------- |
