summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd.rst
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2024-02-21 13:41:44 +0100
committerTom Rini <[email protected]>2024-03-04 10:25:47 -0500
commit1132471405512619241dc879861f1b5beb95c48c (patch)
treede05f1909883b36d6fc7c0993522403713aba307 /doc/develop/bootstd.rst
parentc15d73d18925dc2dbb3082874b61b924bad9388c (diff)
bootstd: support scanning a single partition
The "bootflow" command currently doesn't support scanning a single partition. This is inconvenient in setups with multiple bootable partitions within a single disk, but only one is desired. Support scanning a single disk partition. Specifically, support the syntax: bootflow scan mmc1:4 which scans only mmc device 1, partition 4. Signed-off-by: Nam Cao <[email protected]>
Diffstat (limited to 'doc/develop/bootstd.rst')
-rw-r--r--doc/develop/bootstd.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/develop/bootstd.rst b/doc/develop/bootstd.rst
index 496e24bc7a6..a07a72581e7 100644
--- a/doc/develop/bootstd.rst
+++ b/doc/develop/bootstd.rst
@@ -531,6 +531,10 @@ Then the iterator is set up to according to the parameters given:
`BOOTFLOWIF_SINGLE_MEDIA` is set. In this case, moving to the next bootdev
processes just the children of the media device. Hunters are used, in this
example just the "mmc" hunter.
+ - If `label` indicates a particular partition in a particular media device
+ (e.g. "mmc1:3") then `BOOTFLOWIF_SINGLE_PARTITION` is set. In this case,
+ only a single partition within a bootdev is processed. Hunters are used, in
+ this example just the "mmc" hunter.
- If `label` indicates a media uclass (e.g. "mmc") then
`BOOTFLOWIF_SINGLE_UCLASS` is set. In this case, all bootdevs in that uclass
are used. Hunters are used, in this example just the "mmc" hunter