<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools, branch v2012.04-rc2</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>mkenvimage: Fix compiler warning</title>
<updated>2012-04-10T21:44:30+00:00</updated>
<author>
<name>Dirk Behme</name>
<email>dirk.behme@googlemail.com</email>
</author>
<published>2012-04-05T23:15:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1ebff63fb9f4331459f2278c8f15963e312a1b1e'/>
<id>1ebff63fb9f4331459f2278c8f15963e312a1b1e</id>
<content type='text'>
Fix the compiler warning

mkenvimage.c: In function ‘main’:
mkenvimage.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’
mkenvimage.c:226: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’

introduced with the commit

mkenvimage: Use mmap() when reading from a regular file
6ee39f8055680654f9cc97b98dcce9588f1ab71e

Signed-off-by: Dirk Behme &lt;dirk.behme@googlemail.com&gt;
CC: David Wagner &lt;david.wagner@free-electrons.com&gt;
CC: Anatolij Gustschin &lt;agust@denx.de&gt;
CC: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: David Wagner &lt;deubeuliou@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the compiler warning

mkenvimage.c: In function ‘main’:
mkenvimage.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’
mkenvimage.c:226: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’

introduced with the commit

mkenvimage: Use mmap() when reading from a regular file
6ee39f8055680654f9cc97b98dcce9588f1ab71e

Signed-off-by: Dirk Behme &lt;dirk.behme@googlemail.com&gt;
CC: David Wagner &lt;david.wagner@free-electrons.com&gt;
CC: Anatolij Gustschin &lt;agust@denx.de&gt;
CC: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: David Wagner &lt;deubeuliou@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging</title>
<updated>2012-03-30T18:17:02+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2012-03-30T18:17:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a939ea3ab459d5fb3d1eaaec289c6ca85f2f74c1'/>
<id>a939ea3ab459d5fb3d1eaaec289c6ca85f2f74c1</id>
<content type='text'>
* 'agust@denx.de' of git://git.denx.de/u-boot-staging:
  lzma: fix printf warnings
  Remove CONFIG_SYS_EXTBDINFO from snapper9260.h
  cmd_pxe.c: fix strict-aliasing warnings
  net: smc91111: use mdelay()
  doc: Fix some typos in different files
  disk/part.c: Fix device enumeration through API
  mkenvimage: Really set the redundant byte when applicable
  mkenvimage: Don't try to detect comments in the input file
  mkenvimage: Use mmap() when reading from a regular file
  mkenvimage: Read/Write from/to stdin/out by default or if the filename is "-"
  mkenvimage: More error handling
  mkenvimage: Correct an include and add a missing one
  mkenvimage: correct and clarify comments and error messages
  MAKEALL: display SPL size if present
  ARMV7/Vexpress: add missing get_ticks() and get_tbclk()
  mkenvimage: fix usage message
  cmd_fat: add FAT write command
  fs/fat/fat_write.c: Fix GCC 4.6 warnings
  FAT write: Fix compile errors
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'agust@denx.de' of git://git.denx.de/u-boot-staging:
  lzma: fix printf warnings
  Remove CONFIG_SYS_EXTBDINFO from snapper9260.h
  cmd_pxe.c: fix strict-aliasing warnings
  net: smc91111: use mdelay()
  doc: Fix some typos in different files
  disk/part.c: Fix device enumeration through API
  mkenvimage: Really set the redundant byte when applicable
  mkenvimage: Don't try to detect comments in the input file
  mkenvimage: Use mmap() when reading from a regular file
  mkenvimage: Read/Write from/to stdin/out by default or if the filename is "-"
  mkenvimage: More error handling
  mkenvimage: Correct an include and add a missing one
  mkenvimage: correct and clarify comments and error messages
  MAKEALL: display SPL size if present
  ARMV7/Vexpress: add missing get_ticks() and get_tbclk()
  mkenvimage: fix usage message
  cmd_fat: add FAT write command
  fs/fat/fat_write.c: Fix GCC 4.6 warnings
  FAT write: Fix compile errors
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: Really set the redundant byte when applicable</title>
<updated>2012-03-27T08:19:00+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d8d265999b65afe289f7d8d8860ed492b1ff77d4'/>
<id>d8d265999b65afe289f7d8d8860ed492b1ff77d4</id>
<content type='text'>
Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: Don't try to detect comments in the input file</title>
<updated>2012-03-27T08:18:00+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc6449a9d8c27899b9bbdaaf49d1535f7a41fd8e'/>
<id>dc6449a9d8c27899b9bbdaaf49d1535f7a41fd8e</id>
<content type='text'>
Remove this feature since it seems impossible to reliably detect them.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove this feature since it seems impossible to reliably detect them.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: Use mmap() when reading from a regular file</title>
<updated>2012-03-27T08:09:52+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6ee39f8055680654f9cc97b98dcce9588f1ab71e'/>
<id>6ee39f8055680654f9cc97b98dcce9588f1ab71e</id>
<content type='text'>
Fall back to read() if it fails.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fall back to read() if it fails.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: Read/Write from/to stdin/out by default or if the filename is "-"</title>
<updated>2012-03-27T08:05:05+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=48995b5a96c99ba6243906ecab733e4269fbafe5'/>
<id>48995b5a96c99ba6243906ecab733e4269fbafe5</id>
<content type='text'>
Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: More error handling</title>
<updated>2012-03-27T07:56:25+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d0f9bd0349712223d5be40aa69f4ca1a1965a3e'/>
<id>3d0f9bd0349712223d5be40aa69f4ca1a1965a3e</id>
<content type='text'>
Verbosly fail if the target environment size or the padding byte are badly
formated.

Verbosly fail if something bad happens when reading from standard input.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Verbosly fail if the target environment size or the padding byte are badly
formated.

Verbosly fail if something bad happens when reading from standard input.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: Correct an include and add a missing one</title>
<updated>2012-03-27T07:55:51+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d1acdae98655af4a9ed1b138325ff172206d1c00'/>
<id>d1acdae98655af4a9ed1b138325ff172206d1c00</id>
<content type='text'>
compiler.h needs to be included from U-Boot's headers.
Also, group U-Boot-specific includes together

stdlib.h was missing.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compiler.h needs to be included from U-Boot's headers.
Also, group U-Boot-specific includes together

stdlib.h was missing.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mkenvimage: correct and clarify comments and error messages</title>
<updated>2012-03-27T07:55:19+00:00</updated>
<author>
<name>David Wagner</name>
<email>david.wagner@free-electrons.com</email>
</author>
<published>2012-01-13T13:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8a1b8fc786debc92e73db96800429ca6333fc69b'/>
<id>8a1b8fc786debc92e73db96800429ca6333fc69b</id>
<content type='text'>
Also, don't split error messages over several lines as per a coding style
exception making them easier to grep.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, don't split error messages over several lines as per a coding style
exception making them easier to grep.

Signed-off-by: David Wagner &lt;david.wagner@free-electrons.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>imximage: Remove overwriting of flash_offset</title>
<updated>2012-03-27T07:41:14+00:00</updated>
<author>
<name>Dirk Behme</name>
<email>dirk.behme@de.bosch.com</email>
</author>
<published>2012-02-22T22:50:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49d3e2721164eaef5df702a26cfca6efd430be30'/>
<id>49d3e2721164eaef5df702a26cfca6efd430be30</id>
<content type='text'>
The flash header supports different flash offsets for different
boot devices. E.g. parallel NOR or OneNAND use a different offset
than FLASH_OFFSET_STANDARD (== 0x400).

The flash offset is correctly read from the configuration in
parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2().

Fix this by removing this overwriting. Use the flash offset
correctly read from the configuration, instead.

If there is no flash_offset read from the configuration file, i.e.
the BOOT_FROM tag is missing, exit with an error message.

Signed-off-by: Dirk Behme &lt;dirk.behme@de.bosch.com&gt;
CC: Jason Liu &lt;liu.h.jason@gmail.com&gt;
CC: Stefano Babic &lt;sbabic@denx.de&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The flash header supports different flash offsets for different
boot devices. E.g. parallel NOR or OneNAND use a different offset
than FLASH_OFFSET_STANDARD (== 0x400).

The flash offset is correctly read from the configuration in
parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2().

Fix this by removing this overwriting. Use the flash offset
correctly read from the configuration, instead.

If there is no flash_offset read from the configuration file, i.e.
the BOOT_FROM tag is missing, exit with an error message.

Signed-off-by: Dirk Behme &lt;dirk.behme@de.bosch.com&gt;
CC: Jason Liu &lt;liu.h.jason@gmail.com&gt;
CC: Stefano Babic &lt;sbabic@denx.de&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
