diff options
| author | Tom Rini <[email protected]> | 2023-08-26 11:25:08 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-26 11:25:08 -0400 |
| commit | 11cf91f755c7b1f1c8e7865743ac589bd23b7099 (patch) | |
| tree | ac16ffe5e84057ffa0d1c7e93d47c00d5c3ed532 /doc/develop/bootstd.rst | |
| parent | 05763b71d2fcfe9729bf5ef0b14bd00c3af0c985 (diff) | |
| parent | 453c3fb48141f60eb9b7ab5545d94c88dc5af40c (diff) | |
Merge branch '2023-08-26-bootstd-chromeos-impreovements-and-move-to-gcc-13.2' into next
First, update CI to using gcc-13.2 from 13.1, and rebuild the CI
containers. This is needed because the second part adds utilities for
tests and provides, to quote the author:
This updates the ChromiumOS bootmeth to detect multiple kernel
partitions on a disk.
It also includes minor code improvements to the partition drivers,
including accessors for the optional fields.
This series also includes some other related tweaks in testing.
Diffstat (limited to 'doc/develop/bootstd.rst')
| -rw-r--r-- | doc/develop/bootstd.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/develop/bootstd.rst b/doc/develop/bootstd.rst index ec313653578..c01e0971dc8 100644 --- a/doc/develop/bootstd.rst +++ b/doc/develop/bootstd.rst @@ -677,11 +677,12 @@ Assuming the bootmeth is happy, or at least indicates that it is willing to try partition. If that works it tries to detect a file system. If that works then it calls the bootmeth device once more, this time to read the bootflow. -Note: At present a filesystem is needed for the bootmeth to be called on block -devices, simply because we don't have any examples where this is not the case. -This feature can be added as needed. Note that sandbox is a special case, since -in that case the host filesystem can be accessed even though the block device -is NULL. +Note: Normally a filesystem is needed for the bootmeth to be called on block +devices, but bootmeths which don't need that can set the BOOTMETHF_ANY_PART +flag to indicate that they can scan any partition. An example is the ChromiumOS +bootmeth which can store a kernel in a raw partition. Note also that sandbox is +a special case, since in that case the host filesystem can be accessed even +though the block device is NULL. If we take the example of the `bootmeth_extlinux` driver, this call ends up at `extlinux_read_bootflow()`. It has the filesystem ready, so tries various |
