<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/cmd_part.c, branch v2012.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>cmd_part: add partition-related command</title>
<updated>2012-09-25T22:05:47+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-09-21T09:51:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5cf41dccff9d1e8c297de6eae8422d3e322eebbc'/>
<id>5cf41dccff9d1e8c297de6eae8422d3e322eebbc</id>
<content type='text'>
This implements the following:

part uuid mmc 0:1
  -&gt; print partition UUID
part uuid mmc 0:1 uuid
  -&gt; set environment variable to partition UUID
part list mmc 0
  -&gt; list the partitions on the specified device

"part uuid" can be useful when writing a bootcmd which searches all
known devices for something bootable, and then wants the kernel to
use the same partition as the root device, e.g.:

part uuid ${devtype} ${devnum}:${rootpart} uuid
setenv bootargs root=PARTUUID=${uuid} ...

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements the following:

part uuid mmc 0:1
  -&gt; print partition UUID
part uuid mmc 0:1 uuid
  -&gt; set environment variable to partition UUID
part list mmc 0
  -&gt; list the partitions on the specified device

"part uuid" can be useful when writing a bootcmd which searches all
known devices for something bootable, and then wants the kernel to
use the same partition as the root device, e.g.:

part uuid ${devtype} ${devnum}:${rootpart} uuid
setenv bootargs root=PARTUUID=${uuid} ...

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
