<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/cmd_part.c, branch v2015.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>common: cmd_part: start and size sub-commands introduction</title>
<updated>2015-06-19T20:46:47+00:00</updated>
<author>
<name>Paul Kocialkowski</name>
<email>contact@paulk.fr</email>
</author>
<published>2015-06-15T19:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8607c4f127d0f2a6d2572960821443563f4eca51'/>
<id>8607c4f127d0f2a6d2572960821443563f4eca51</id>
<content type='text'>
This introduces the part start and part size sub-commands. The purpose of these
is to store the start block and size of a partition in a variable, given the
device and partition number.

This allows reading raw data that fits a single partition more easily.
For instance, this could be used to figure out the start block and size of a
kernel partition when a partition table is present, given the partition number.

Signed-off-by: Paul Kocialkowski &lt;contact@paulk.fr&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
[trini: Change "%lx" to LBAF]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This introduces the part start and part size sub-commands. The purpose of these
is to store the start block and size of a partition in a variable, given the
device and partition number.

This allows reading raw data that fits a single partition more easily.
For instance, this could be used to figure out the start block and size of a
kernel partition when a partition table is present, given the partition number.

Signed-off-by: Paul Kocialkowski &lt;contact@paulk.fr&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
[trini: Change "%lx" to LBAF]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: cmd_part: Proper alignment</title>
<updated>2015-06-19T20:46:47+00:00</updated>
<author>
<name>Paul Kocialkowski</name>
<email>contact@paulk.fr</email>
</author>
<published>2015-06-15T19:35:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a78f78ebeb51169ce0ae22f2cd6db93ca33b20e3'/>
<id>a78f78ebeb51169ce0ae22f2cd6db93ca33b20e3</id>
<content type='text'>
This fixes a misaligned declaration.

Signed-off-by: Paul Kocialkowski &lt;contact@paulk.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a misaligned declaration.

Signed-off-by: Paul Kocialkowski &lt;contact@paulk.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd_part: fix usage text</title>
<updated>2015-05-10T11:29:38+00:00</updated>
<author>
<name>maxin.john@enea.com</name>
<email>maxin.john@enea.com</email>
</author>
<published>2015-04-27T23:44:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8ca584ecfb5205bc294e39786175f513bfd293fa'/>
<id>8ca584ecfb5205bc294e39786175f513bfd293fa</id>
<content type='text'>
Fix the usage info from:
part part uuid &lt;interface&gt; &lt;dev&gt;:&lt;part&gt;
to
part uuid &lt;interface&gt; &lt;dev&gt;:&lt;part&gt;

Signed-off-by: Maxin B. John &lt;maxin.john@enea.com&gt;
Reviewed-By: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the usage info from:
part part uuid &lt;interface&gt; &lt;dev&gt;:&lt;part&gt;
to
part uuid &lt;interface&gt; &lt;dev&gt;:&lt;part&gt;

Signed-off-by: Maxin B. John &lt;maxin.john@enea.com&gt;
Reviewed-By: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk
</pre>
</div>
</content>
</entry>
<entry>
<title>part: Add support for list filtering on bootable partitions</title>
<updated>2015-03-25T16:15:15+00:00</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2015-02-25T22:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0798d6fd4191f5ea2e53496d57db482529364d2d'/>
<id>0798d6fd4191f5ea2e53496d57db482529364d2d</id>
<content type='text'>
Add an optional -bootable parameter to the part list commands to only
put the list of bootable partitions in the environment variable

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an optional -bootable parameter to the part list commands to only
put the list of bootable partitions in the environment variable

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>part: let list put the list in an environment variable</title>
<updated>2015-01-29T18:36:54+00:00</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2015-01-05T17:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e86df6ef4f392879c0654e91e6c94801911491a9'/>
<id>e86df6ef4f392879c0654e91e6c94801911491a9</id>
<content type='text'>
Add an optional third argument to the "part list" command which puts a
space seperated list of valid partitions into the given environment
variable. This is useful for allowing boot scripts to iterate of all
partitions of a device.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an optional third argument to the "part list" command which puts a
space seperated list of valid partitions into the given environment
variable. This is useful for allowing boot scripts to iterate of all
partitions of a device.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: commands: make commands static</title>
<updated>2014-07-18T21:53:23+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2014-06-22T22:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0e350f81e1ca7d103fd9685725f9c4b0d9e80632'/>
<id>0e350f81e1ca7d103fd9685725f9c4b0d9e80632</id>
<content type='text'>
Since most commands are not public, make them static. This
prevents warnings that no common prototype is available.

Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since most commands are not public, make them static. This
prevents warnings that no common prototype is available.

Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd_part: fix typo in part command help text</title>
<updated>2014-05-23T09:00:18+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-05-07T18:19:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8210a343cd1eb586b72ff396563db15bffed25c5'/>
<id>8210a343cd1eb586b72ff396563db15bffed25c5</id>
<content type='text'>
All the sub-commands start with the main command name, but it was
missing from one of the help texts.

&lt;panto&gt; typos fix.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All the sub-commands start with the main command name, but it was
missing from one of the help texts.

&lt;panto&gt; typos fix.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd_part: don't print cmd name twice in help</title>
<updated>2013-03-11T21:00:28+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2013-02-28T15:05:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=92668d68c1ccdbe41ace6cc3066e5d1e0113e719'/>
<id>92668d68c1ccdbe41ace6cc3066e5d1e0113e719</id>
<content type='text'>
The core implementation of "help" already prints the command name before
the help text of a specific command. Remove it from part's own help text
to avoid it being printed twice:

Tegra114 (Dalmore) # help part
part - disk partition related commands

Usage:
part part uuid &lt;interface&gt; &lt;dev&gt;:&lt;part&gt;
    - print partition UUID
...

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The core implementation of "help" already prints the command name before
the help text of a specific command. Remove it from part's own help text
to avoid it being printed twice:

Tegra114 (Dalmore) # help part
part - disk partition related commands

Usage:
part part uuid &lt;interface&gt; &lt;dev&gt;:&lt;part&gt;
    - print partition UUID
...

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<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>
