aboutsummaryrefslogtreecommitdiff
path: root/doc/usage/cmd/gpt.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-27 15:23:21 -0400
committerTom Rini <trini@konsulko.com>2023-10-27 15:23:21 -0400
commit56499ad07842d330f234b9abce1d332f8141e25e (patch)
treed3b6eea0eeeb06d8026209b1e8403e220a003ce3 /doc/usage/cmd/gpt.rst
parentef1babcdf8fd911177c89e1d6bb1c6f60697ce0b (diff)
parente89827998fa47408f3d0be0384c7c19cfe8e2b3f (diff)
downloadu-boot-27Oct2023.zip
u-boot-27Oct2023.tar.gz
u-boot-27Oct2023.tar.bz2
Merge tag 'efi-2024-01-rc2-2' of https://source.denx.de/u-boot/custodians/u-boot-efi27Oct2023
Pull request efi-2024-01-rc2-2 Documentation: * Bump urllib3 version * Replace references to dm_dump_all() with dm_dump_tree() * Update description of build dependencies for Alpine Linux * Fix typo in gpt example * Fix ordering of shell commands UEFI: * Move misplace EFI_ENTRY macro
Diffstat (limited to 'doc/usage/cmd/gpt.rst')
-rw-r--r--doc/usage/cmd/gpt.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/usage/cmd/gpt.rst b/doc/usage/cmd/gpt.rst
index f6115ec..cbbe44a 100644
--- a/doc/usage/cmd/gpt.rst
+++ b/doc/usage/cmd/gpt.rst
@@ -156,6 +156,7 @@ read', 'gpt swap' and 'gpt rename', you must specify CONFIG_CMD_GPT_RENAME=y.
Examples
~~~~~~~~
+
Create 6 partitions on a disk::
=> setenv gpt_parts 'uuid_disk=bec9fc2a-86c1-483d-8a0e-0109732277d7;
@@ -192,10 +193,9 @@ Get the information about the partition named 'rootfs'::
Get the list of partition names on the disk::
=> gpt enumerate
- => echo gpt_partition_list
+ => echo ${gpt_partition_list}
boot rootfs system-data [ext] user modules ramdisk
-
Get the GUID for a disk::
=> gpt guid mmc 0
@@ -209,6 +209,7 @@ Set the bootable flag for the 'boot' partition and clear it for all others::
=> gpt set-bootable mmc 0 boot
Swap the order of the 'boot' and 'rootfs' partition table entries::
+
=> gpt setenv mmc 0 rootfs
=> echo ${gpt_partition_entry}
2