diff options
author | Patrick Delaunay <patrick.delaunay73@gmail.com> | 2015-10-27 11:00:27 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-12 15:58:58 -0500 |
commit | 7561b258a1bdda25daee78824a400d48921f4802 (patch) | |
tree | 9947bb71da958c871e8ab8cbe246088f6cb3e118 /doc | |
parent | b38c108a9833ca2acb568530ebd269760f3925d9 (diff) | |
download | u-boot-7561b258a1bdda25daee78824a400d48921f4802.zip u-boot-7561b258a1bdda25daee78824a400d48921f4802.tar.gz u-boot-7561b258a1bdda25daee78824a400d48921f4802.tar.bz2 |
gpt: add optional parameter type in gpt command
code under flag CONFIG_PARTITION_TYPE_GUID
add parameter "type" to select partition type guid
example of use with gpt command :
partitions = uuid_disk=${uuid_gpt_disk}; \
name=boot,size=0x6bc00,uuid=${uuid_gpt_boot}; \
name=root,size=0x7538ba00,uuid=${uuid_gpt_root}, \
type=0fc63daf-8483-4772-8e79-3d69d8477de4;
gpt write mmc 0 $partitions
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.gpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/README.gpt b/doc/README.gpt index 6e298d2..bf9b8bd 100644 --- a/doc/README.gpt +++ b/doc/README.gpt @@ -171,6 +171,19 @@ To restore GUID partition table one needs to: 2. From u-boot prompt type: gpt write mmc 0 $partitions +Partition type GUID: +==================== + +For created partition, the used partition type GUID is +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=...; + name=kernel,size=60MiB,uuid=..., + type=0FC63DAF-8483-4772-8E79-3D69D8477DE4;" + Useful info: ============ |