<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/examples, branch v2011.12</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/'/>
<entry>
<title>Standalone Apps: Standalone apps should need only exports.h.</title>
<updated>2011-12-06T19:52:35+00:00</updated>
<author>
<name>Mike Partington</name>
<email>mparting@lexmark.com</email>
</author>
<published>2010-10-27T10:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=0910d0bcb85acdf09b9dfd8ded452367b540a4ad'/>
<id>0910d0bcb85acdf09b9dfd8ded452367b540a4ad</id>
<content type='text'>
Modify exports.h to remove its dependencies on other files, thus
enabling standalone apps to require only exports.h from the U-Boot
source tree.  This appears to be the intent based on the following
note: http://lists.denx.de/pipermail/u-boot/2010-January/067174.html

Signed-off-by: Mike Partington &lt;mparting@lexmark.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modify exports.h to remove its dependencies on other files, thus
enabling standalone apps to require only exports.h from the U-Boot
source tree.  This appears to be the intent based on the following
note: http://lists.denx.de/pipermail/u-boot/2010-January/067174.html

Signed-off-by: Mike Partington &lt;mparting@lexmark.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: export LCD device to external apps</title>
<updated>2011-11-15T22:58:27+00:00</updated>
<author>
<name>Che-Liang Chiou</name>
<email>clchiou@chromium.org</email>
</author>
<published>2011-10-20T23:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=a2a5729fc1247bb45d794e9d731c0b03bf58096f'/>
<id>a2a5729fc1247bb45d794e9d731c0b03bf58096f</id>
<content type='text'>
This patch exports LCD info-query and bitmap-rendering functions to
external apps.

This patch is tested on a Seaboard.  Because the LCD driver is not yet
upstreamed, the test was done in a local downstream repo.

Signed-off-by: Che-Liang Chiou &lt;clchiou@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch exports LCD info-query and bitmap-rendering functions to
external apps.

This patch is tested on a Seaboard.  Because the LCD driver is not yet
upstreamed, the test was done in a local downstream repo.

Signed-off-by: Che-Liang Chiou &lt;clchiou@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce build times</title>
<updated>2011-11-03T19:44:58+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-11-01T20:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=cca4e4aec1fe52e5ecd15e3cebdbb36e2f254220'/>
<id>cca4e4aec1fe52e5ecd15e3cebdbb36e2f254220</id>
<content type='text'>
U-Boot Makefiles contain a number of tests for compiler features etc.
which so far are executed again and again.  On some architectures
(especially ARM) this results in a large number of calls to gcc.

This patch makes sure to run such tests only once, thus largely
reducing the number of "execve" system calls.

Example: number of "execve" system calls for building the "P2020DS"
(Power Architecture) and "qong" (ARM) boards, measured as:
	-&gt; strace -f -e trace=execve -o /tmp/foo ./MAKEALL &lt;board&gt;
	-&gt; grep execve /tmp/foo | wc -l

	Before: After:	Reduction:
==================================
P2020DS 20555	15205	-26%
qong	31692	14490	-54%

As a result, built times are significantly reduced, typically by
30...50%.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
Cc: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Cc: Albert Aribaud &lt;albert.aribaud@free.fr&gt;
cc: Graeme Russ &lt;graeme.russ@gmail.com&gt;
cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Tested-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
Tested-by: Matthias Weisser &lt;weisserm@arcor.de&gt;
Tested-by: Sanjeev Premi &lt;premi@ti.com&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Macpaul Lin &lt;macpaul@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
U-Boot Makefiles contain a number of tests for compiler features etc.
which so far are executed again and again.  On some architectures
(especially ARM) this results in a large number of calls to gcc.

This patch makes sure to run such tests only once, thus largely
reducing the number of "execve" system calls.

Example: number of "execve" system calls for building the "P2020DS"
(Power Architecture) and "qong" (ARM) boards, measured as:
	-&gt; strace -f -e trace=execve -o /tmp/foo ./MAKEALL &lt;board&gt;
	-&gt; grep execve /tmp/foo | wc -l

	Before: After:	Reduction:
==================================
P2020DS 20555	15205	-26%
qong	31692	14490	-54%

As a result, built times are significantly reduced, typically by
30...50%.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
Cc: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Cc: Albert Aribaud &lt;albert.aribaud@free.fr&gt;
cc: Graeme Russ &lt;graeme.russ@gmail.com&gt;
cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Tested-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
Tested-by: Matthias Weisser &lt;weisserm@arcor.de&gt;
Tested-by: Sanjeev Premi &lt;premi@ti.com&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Macpaul Lin &lt;macpaul@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nds32: standalone support</title>
<updated>2011-10-21T22:53:48+00:00</updated>
<author>
<name>Macpaul Lin</name>
<email>macpaul@andestech.com</email>
</author>
<published>2011-10-11T22:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=72c73ddec3d50776fda2fcd92854f0d9fc9d4a33'/>
<id>72c73ddec3d50776fda2fcd92854f0d9fc9d4a33</id>
<content type='text'>
Add standalone program related support for nds32 architecture.

Signed-off-by: Macpaul Lin &lt;macpaul@andestech.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add standalone program related support for nds32 architecture.

Signed-off-by: Macpaul Lin &lt;macpaul@andestech.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: api: allow build with private libgcc</title>
<updated>2011-10-21T22:40:06+00:00</updated>
<author>
<name>Che-liang Chiou</name>
<email>clchiou@chromium.org</email>
</author>
<published>2011-10-17T21:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=349e83f071e2bf7bd9fec50377bbdcfb1a143666'/>
<id>349e83f071e2bf7bd9fec50377bbdcfb1a143666</id>
<content type='text'>
The examples/api is not configured with USE_PRIVATE_LIBGCC.  This makes
building examples/api break on certain boards that do not/cannot use the
public libgcc.

Nevertheless, this patch has to also touch the top-level Makefile to fix
this problem because the current top-level Makefile does not specify
libgcc as a prerequisite of examples/api, and explicitly builds
examples/api _before_ libgcc.

For testing this patch, I added the following to configs/seaboard.h and
ran demo.bin on a Seaboard.

+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
+#define CONFIG_CMD_NET
+#define CONFIG_NET_MULTI

Signed-off-by: Che-Liang Chiou &lt;clchiou@chromium.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The examples/api is not configured with USE_PRIVATE_LIBGCC.  This makes
building examples/api break on certain boards that do not/cannot use the
public libgcc.

Nevertheless, this patch has to also touch the top-level Makefile to fix
this problem because the current top-level Makefile does not specify
libgcc as a prerequisite of examples/api, and explicitly builds
examples/api _before_ libgcc.

For testing this patch, I added the following to configs/seaboard.h and
ran demo.bin on a Seaboard.

+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
+#define CONFIG_CMD_NET
+#define CONFIG_NET_MULTI

Signed-off-by: Che-Liang Chiou &lt;clchiou@chromium.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace space and tab checks with isblank</title>
<updated>2011-10-17T20:25:34+00:00</updated>
<author>
<name>Jason Hobbs</name>
<email>jason.hobbs@calxeda.com</email>
</author>
<published>2011-08-23T11:06:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=4d91a6ecabd10652abba696e55e952676db0aae1'/>
<id>4d91a6ecabd10652abba696e55e952676db0aae1</id>
<content type='text'>
These are various places I found that checked for conditions equivalent
to isblank.

Signed-off-by: Jason Hobbs &lt;jason.hobbs@calxeda.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are various places I found that checked for conditions equivalent
to isblank.

Signed-off-by: Jason Hobbs &lt;jason.hobbs@calxeda.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a few gcc warnings.</title>
<updated>2011-05-12T21:17:52+00:00</updated>
<author>
<name>Joakim Tjernlund</name>
<email>joakim.tjernlund@transmode.se</email>
</author>
<published>2011-04-25T01:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=cd8c87756a46ae3544e563793ce8c18efd1091d1'/>
<id>cd8c87756a46ae3544e563793ce8c18efd1091d1</id>
<content type='text'>
Noticed while building all of mpc8xx. Also
constify usage string in timer.c
Warnings fixed are:
timer.c: In function 'timer':
timer.c:189: warning: format not a string literal and no format arguments
timer.c:258: warning: format not a string literal and no format arguments
atm.c: In function 'atmUnload':
atm.c:99: warning: array subscript is above array bounds
atm.c: In function 'atmLoad':
atm.c:65: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_pop_int':
codec.c:678: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_cop_short':
codec.c:585: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_sop_int':
codec.c:512: warning: array subscript is above array bounds

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Noticed while building all of mpc8xx. Also
constify usage string in timer.c
Warnings fixed are:
timer.c: In function 'timer':
timer.c:189: warning: format not a string literal and no format arguments
timer.c:258: warning: format not a string literal and no format arguments
atm.c: In function 'atmUnload':
atm.c:99: warning: array subscript is above array bounds
atm.c: In function 'atmLoad':
atm.c:65: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_pop_int':
codec.c:678: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_cop_short':
codec.c:585: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_sop_int':
codec.c:512: warning: array subscript is above array bounds

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix variable flavor in examples/standalone/Makefile</title>
<updated>2011-05-12T20:25:16+00:00</updated>
<author>
<name>Che-liang Chiou</name>
<email>clchiou@chromium.org</email>
</author>
<published>2011-02-21T21:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=0da43893dda8be14b18b2b12dcc48a5e356a742e'/>
<id>0da43893dda8be14b18b2b12dcc48a5e356a742e</id>
<content type='text'>
GNU Makefile have two flavors of variables, recursively expanded that is
defined by using '=', and simply expanded that is defined by using ':='.

The bug is caused by using recursively expanded flavor for BIN and SREC.
As you can see below, they are prepended by $(obj) twice.

We can reproduce this bug with a simplified version of this Makefile:
$ cat &gt;Makefile &lt;&lt;\EOF
obj := /path/to/obj/
ELF := hello_world

BIN_rec = $(addsuffix .bin,$(ELF))      # recursively expanded
BIN_sim := $(addsuffix .bin,$(ELF))     # simply expanded

ELF := $(addprefix $(obj),$(ELF))
BIN_rec := $(addprefix $(obj),$(BIN_rec))
BIN_sim := $(addprefix $(obj),$(BIN_sim))

show:
	@echo BIN_rec=$(BIN_rec)
	@echo BIN_sim=$(BIN_sim)

.PHONY: show
EOF
$ make show
BIN_rec=/path/to/obj//path/to/obj/hello_world.bin
BIN_sim=/path/to/obj/hello_world.bin

Signed-off-by: Che-Liang Chiou &lt;clchiou@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GNU Makefile have two flavors of variables, recursively expanded that is
defined by using '=', and simply expanded that is defined by using ':='.

The bug is caused by using recursively expanded flavor for BIN and SREC.
As you can see below, they are prepended by $(obj) twice.

We can reproduce this bug with a simplified version of this Makefile:
$ cat &gt;Makefile &lt;&lt;\EOF
obj := /path/to/obj/
ELF := hello_world

BIN_rec = $(addsuffix .bin,$(ELF))      # recursively expanded
BIN_sim := $(addsuffix .bin,$(ELF))     # simply expanded

ELF := $(addprefix $(obj),$(ELF))
BIN_rec := $(addprefix $(obj),$(BIN_rec))
BIN_sim := $(addprefix $(obj),$(BIN_sim))

show:
	@echo BIN_rec=$(BIN_rec)
	@echo BIN_sim=$(BIN_sim)

.PHONY: show
EOF
$ make show
BIN_rec=/path/to/obj//path/to/obj/hello_world.bin
BIN_sim=/path/to/obj/hello_world.bin

Signed-off-by: Che-Liang Chiou &lt;clchiou@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: Introduce --gc-sections for MIPS</title>
<updated>2011-05-09T15:08:10+00:00</updated>
<author>
<name>Daniel Schwierzeck</name>
<email>daniel.schwierzeck@googlemail.com</email>
</author>
<published>2011-04-15T15:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=660da0947abff3bc98bb0baa37a6db5050ff46d6'/>
<id>660da0947abff3bc98bb0baa37a6db5050ff46d6</id>
<content type='text'>
All architectures but MIPS are using --gc-sections on final linking.
This patch introduces that feature for MIPS to reduce the memory and
flash footprint.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@googlemail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Thomas Lange &lt;thomas@corelatus.se&gt;
Cc: Vlad Lungu &lt;vlad.lungu@windriver.com&gt;
Signed-off-by: Shinya Kuribayashi &lt;skuribay@pobox.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All architectures but MIPS are using --gc-sections on final linking.
This patch introduces that feature for MIPS to reduce the memory and
flash footprint.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@googlemail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Thomas Lange &lt;thomas@corelatus.se&gt;
Cc: Vlad Lungu &lt;vlad.lungu@windriver.com&gt;
Signed-off-by: Shinya Kuribayashi &lt;skuribay@pobox.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>x86: Rename i386 to x86</title>
<updated>2011-04-13T09:43:28+00:00</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2011-04-13T09:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=fea25720013f84427a0ba8833a38614fcaf488ba'/>
<id>fea25720013f84427a0ba8833a38614fcaf488ba</id>
<content type='text'>
Signed-off-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
