[U-Boot] [PATCH 2/3] gpt: add optional parameter guid in gpt command

Tom Rini trini at konsulko.com
Thu Oct 15 23:46:48 CEST 2015


On Thu, Oct 15, 2015 at 03:58:24PM -0500, Rob Herring wrote:
> On Tue, Oct 13, 2015 at 9:23 AM, Patrick Delaunay
> <patrick.delaunay73 at gmail.com> wrote:
> > code under flag CONFIG_PARTITION_TYPE_GUID
> > add parameter guid to select partition type guid
> >
> > example of use with gpt command :
> >
> >   partitions = uuid_disk=${uuid_gpt_disk};name=boot,start=0x4400,
> >   size=0x6bc00,uuid=${uuid_gpt_boot};name=root,start=0x70000,
> >   size=0x7538ba00,uuid=${uuid_gpt_root},
> >   guid=0fc63daf-8483-4772-8e79-3d69d8477de4;
> 
> The mixture of UUID and GUID is confusing. What we want are the
> GUIDs/UUIDs for unique ID and the partition type. I would just call
> the partition type "type". This would allow the same format to be used
> for MBR partitions if someone wanted to do support for that.

... and if someone wants to add MBR support, there's enough use cases
for it (mainly around flashing/factory stuff) that I wouldn't object.
So yes, lets do this with that kind of thing in mind.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151015/60c1846b/attachment.sig>


More information about the U-Boot mailing list