<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/env, branch v2016.03</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>tools: env: update usage strings</title>
<updated>2016-02-08T15:10:33+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b92ae3af6e4581e61cd8c43addb6a18ebbeb9eb6'/>
<id>b92ae3af6e4581e61cd8c43addb6a18ebbeb9eb6</id>
<content type='text'>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env: factor out parse_common_args</title>
<updated>2016-02-08T15:10:32+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=af93e3d8ababbca05f94ed3ad89e3e277b31ffd5'/>
<id>af93e3d8ababbca05f94ed3ad89e3e277b31ffd5</id>
<content type='text'>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env: shift optind arguments and fix argument indices</title>
<updated>2016-02-08T15:10:32+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1ce686978c03d4fd025c7e93b7a18d4a87f547ec'/>
<id>1ce686978c03d4fd025c7e93b7a18d4a87f547ec</id>
<content type='text'>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env: parse aes key / suppress flag into argument struct</title>
<updated>2016-02-08T15:10:31+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=371ee13760b9e70d1a931afc643de3f4057b4a28'/>
<id>371ee13760b9e70d1a931afc643de3f4057b4a28</id>
<content type='text'>
disabled original parsing, but not yet removed since the
argument indexing needs to be fixed

Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
disabled original parsing, but not yet removed since the
argument indexing needs to be fixed

Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env: introduce setenv/printenv argument structs</title>
<updated>2016-02-08T15:10:31+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=07ce9440213f17893ff2438491d8395c26eb0ccd'/>
<id>07ce9440213f17893ff2438491d8395c26eb0ccd</id>
<content type='text'>
goal is to use getopt for all argument parsing instead of adhoc
parsing in fw_getenv/fw_setenv functions

Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
goal is to use getopt for all argument parsing instead of adhoc
parsing in fw_getenv/fw_setenv functions

Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env: make parse_aes_key stateless</title>
<updated>2016-02-08T15:10:30+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8b27abd8ab1f9d04b8eb93a1759ff8dec7c9d576'/>
<id>8b27abd8ab1f9d04b8eb93a1759ff8dec7c9d576</id>
<content type='text'>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env validate: pass values as 0-based array</title>
<updated>2016-02-08T15:10:29+00:00</updated>
<author>
<name>Andreas Fenkart</name>
<email>andreas.fenkart@digitalstrom.com</email>
</author>
<published>2015-12-09T12:13:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=167f52587173ad87aac7780058d59aa96422eed0'/>
<id>167f52587173ad87aac7780058d59aa96422eed0</id>
<content type='text'>
passing argv/argc can produce off-by-one errors

Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
passing argv/argc can produce off-by-one errors

Signed-off-by: Andreas Fenkart &lt;andreas.fenkart@digitalstrom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: env: include compiler.h</title>
<updated>2015-12-14T01:22:00+00:00</updated>
<author>
<name>Peter Robinson</name>
<email>pbrobinson@gmail.com</email>
</author>
<published>2015-12-09T07:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=69bf2d2fafe64349be3c3ef1256e3c68f812bb25'/>
<id>69bf2d2fafe64349be3c3ef1256e3c68f812bb25</id>
<content type='text'>
With gcc 5.2 and later we get a bunch of "error: unknown type name" for
'uint8_t', 'uint32_t' and friends.

Signed-off-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With gcc 5.2 and later we get a bunch of "error: unknown type name" for
'uint8_t', 'uint32_t' and friends.

Signed-off-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow fw env tools to be available as library</title>
<updated>2015-11-18T13:47:03+00:00</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2015-10-30T13:57:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2cb11b35e8b2b21a00b5d1c1c76404cb65d1ceb9'/>
<id>2cb11b35e8b2b21a00b5d1c1c76404cb65d1ceb9</id>
<content type='text'>
Sometimes it can be useful to link the fw_ tools instead
of having the fw_setenv/fw_printenv installed.
Patch exports the tool as library and allowes to link it
with own programs.

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
CC: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes it can be useful to link the fw_ tools instead
of having the fw_setenv/fw_printenv installed.
Patch exports the tool as library and allowes to link it
with own programs.

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
CC: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools/env: allow config filename to be passed via command line argument</title>
<updated>2015-11-18T13:47:02+00:00</updated>
<author>
<name>Michael Heimpold</name>
<email>mhei@heimpold.de</email>
</author>
<published>2015-10-27T21:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9884f44cab5d1ce944b1dc087c9bb8db0efb5160'/>
<id>9884f44cab5d1ce944b1dc087c9bb8db0efb5160</id>
<content type='text'>
When for example generating/manipulating SD card/eMMC images which
contain U-Boot and its environment(s), it is handy to use a given
configuration file instead of the compiled-in default one.
And since the default configuration file is expected under /etc
it's hard for an usual linux user account without special permissions
to use fw_printenv/fw_setenv for this purpose.
So allow to pass an optional filename via a new '-c' command
line argument.

Example:

$ ln -s fw_printenv tools/env/fw_setenv
$ cat fw_env.config
test.img 0x20000 0x20000
test.img 0x40000 0x20000

$ tools/env/fw_printenv -c ./fw_env.config fdt_file
fdt_file=imx28-duckbill.dtb

$ tools/env/fw_setenv -c ./fw_env.config fdt_file imx28-duckbill-spi.dtb

$ tools/env/fw_printenv -c ./fw_env.config fdt_file
fdt_file=imx28-duckbill-spi.dtb

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When for example generating/manipulating SD card/eMMC images which
contain U-Boot and its environment(s), it is handy to use a given
configuration file instead of the compiled-in default one.
And since the default configuration file is expected under /etc
it's hard for an usual linux user account without special permissions
to use fw_printenv/fw_setenv for this purpose.
So allow to pass an optional filename via a new '-c' command
line argument.

Example:

$ ln -s fw_printenv tools/env/fw_setenv
$ cat fw_env.config
test.img 0x20000 0x20000
test.img 0x40000 0x20000

$ tools/env/fw_printenv -c ./fw_env.config fdt_file
fdt_file=imx28-duckbill.dtb

$ tools/env/fw_setenv -c ./fw_env.config fdt_file imx28-duckbill-spi.dtb

$ tools/env/fw_printenv -c ./fw_env.config fdt_file
fdt_file=imx28-duckbill-spi.dtb

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
