<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/examples/standalone, 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>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>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>
<entry>
<title>Make STANDALONE_LOAD_ADDR configurable per board</title>
<updated>2011-04-12T20:58:32+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-02-04T13:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=8ae86b76c648d8bef97241c78e2fddb1c4f164d3'/>
<id>8ae86b76c648d8bef97241c78e2fddb1c4f164d3</id>
<content type='text'>
Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR
and allow that the architecture-specific default value gets
overwritten by defining the value in the board header file.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Shinya Kuribayashi &lt;skuribay@ruby.dti.ne.jp&gt;
Cc: Daniel Hellstrom &lt;daniel@gaisler.com&gt;
Cc: Tsi Chung Liew &lt;tsi-chung.liew@freescale.com&gt;
Cc: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR
and allow that the architecture-specific default value gets
overwritten by defining the value in the board header file.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Shinya Kuribayashi &lt;skuribay@ruby.dti.ne.jp&gt;
Cc: Daniel Hellstrom &lt;daniel@gaisler.com&gt;
Cc: Tsi Chung Liew &lt;tsi-chung.liew@freescale.com&gt;
Cc: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build problems caused by "_end" -&gt; "__bss_end__" rename</title>
<updated>2011-03-31T06:54:35+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-03-29T12:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=7ec830d5804337afe19413c3eaedd16583af9076'/>
<id>7ec830d5804337afe19413c3eaedd16583af9076</id>
<content type='text'>
Commit 44c6e65 "rename _end to __bss_end__ broke building of a large
number of systems (at least all PowerPC?):

libstubs.o: In function `app_startup':
examples/standalone/stubs.c:197: undefined reference to `__bss_end__'

The rename should not be done for the files in the
examples/standalone/ directory, as these are not using the code from
start.S, but do their own BSS clearing, and either use their own
linker scripts or the ones provided by the compilers.

Signed-off-by: Po-Yu Chuang &lt;ratbert@faraday-tech.com&gt;
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 44c6e65 "rename _end to __bss_end__ broke building of a large
number of systems (at least all PowerPC?):

libstubs.o: In function `app_startup':
examples/standalone/stubs.c:197: undefined reference to `__bss_end__'

The rename should not be done for the files in the
examples/standalone/ directory, as these are not using the code from
start.S, but do their own BSS clearing, and either use their own
linker scripts or the ones provided by the compilers.

Signed-off-by: Po-Yu Chuang &lt;ratbert@faraday-tech.com&gt;
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
