summaryrefslogtreecommitdiff
path: root/doc/README.gpt
diff options
context:
space:
mode:
authorAlison Chaiken <alison@peloton-tech.com>2017-06-25 16:43:19 -0700
committerTom Rini <trini@konsulko.com>2017-08-04 09:55:30 -0400
commit0a242386254066b45a9ab6dbdfa902575402df9b (patch)
tree3954d2e30f5e93782816af2b7f28eb5b47b870f0 /doc/README.gpt
parent92856b489b340ad66f5431d76802e16d689ad2ca (diff)
downloadu-boot-0a242386254066b45a9ab6dbdfa902575402df9b.tar.gz
u-boot-0a242386254066b45a9ab6dbdfa902575402df9b.tar.bz2
u-boot-0a242386254066b45a9ab6dbdfa902575402df9b.zip
GPT: fix error in partitions string doc
The existing partitions-list parsing in cmd/gpt.c passes a value from gpt_default() to set_gpt_info() that README.gpt suggests should begin with 'partitions='. Partition-list strings should in fact begin with 'uuid_disk', as otherwise the call from set_gpt_info() to extract_val() to find 'uuid_disk' will fail. Change README.gpt accordingly. Changes since v6: none. Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
Diffstat (limited to 'doc/README.gpt')
-rw-r--r--doc/README.gpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/README.gpt b/doc/README.gpt
index c0acc8ade5..0a3286f636 100644
--- a/doc/README.gpt
+++ b/doc/README.gpt
@@ -156,10 +156,10 @@ Creating GPT partitions in U-Boot:
To restore GUID partition table one needs to:
1. Define partition layout in the environment.
Format of partitions layout:
- "partitions=uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
+ "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
name=kernel,size=60MiB,uuid=...;"
or
- "partitions=uuid_disk=${uuid_gpt_disk};name=${uboot_name},
+ "uuid_disk=${uuid_gpt_disk};name=${uboot_name},
size=${uboot_size},uuid=${uboot_uuid};"
The fields 'name' and 'size' are mandatory for every partition.
@@ -229,7 +229,7 @@ PARTITION_BASIC_DATA_GUID (EBD0A0A2-B9E5-4433-87C0-68B6B72699C7).
If you define 'CONFIG_PARTITION_TYPE_GUID', a optionnal parameter 'type'
can specify a other partition type guid:
- "partitions=uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
+ "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
name=kernel,size=60MiB,uuid=...,
type=0FC63DAF-8483-4772-8E79-3D69D8477DE4;"
@@ -251,7 +251,7 @@ Some strings can be also used at the place of known GUID :
"lvm" = PARTITION_LINUX_LVM_GUID
(E6D6D379-F507-44C2-A23C-238F2A3DF928)
- "partitions=uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
+ "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
name=kernel,size=60MiB,uuid=...,type=linux;"
They are also used to display the type of partition in "part list" command.