07 Feb, 2014
1 commit
-
Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher
10 Jan, 2014
1 commit
-
Bringing in the MMC tree means that CONFIG_BOUNCE_BUFFER needed to be
added to include/configs/exynos5-dt.h now.Conflicts:
include/configs/exynos5250-dt.hSigned-off-by: Tom Rini
09 Jan, 2014
1 commit
-
Relocation code based on a patch by Scott Wood, which is:
Signed-off-by: Scott WoodSigned-off-by: David Feng
16 Dec, 2013
3 commits
-
Signed-off-by: Masahiro Yamada
-
Commit fea25720 renamed arch/i386 to arch/x86.
But it missed to modify examples/standalone/Makefile.Since then, examples/standalone/82559_eeprom has
never compiled and nobody has noticed that.After some discussion on ML, we agreed to delete this example.
Signed-off-by: Masahiro Yamada
-
Convert like follows:
CPU mpc83xx -> CONFIG_MPC83xx
CPU mpc85xx -> CONFIG_MPC85xx
CPU mpc86xx -> CONFIG_MPC86xx
CPU mpc5xxx -> CONFIG_MPC5xxx
CPU mpc8xx -> CONFIG_8xx
CPU mpc8260 -> CONFIG_8260
CPU ppc4xx -> CONFIG_4xx
CPU x86 -> CONFIG_X86
ARCH x86 -> CONFIG_X86
ARCH powerpc -> CONFIG_PPCSigned-off-by: Masahiro Yamada
12 Dec, 2013
1 commit
-
The standalone programs do not use the api calls, but rely
directly on u-boot variable gd->jt for the jump table. Commit
fe1378a - "ARM: use r9 for gd" changed the register holding
the address of gd, but the assembly code in the standalone
examples was not updated accordingly. This broke the programs
on ARM relying on the jumptable in the v2013.10 release.
This patch unbricks them by using the correct register.Cc: Michal Simek
Cc: Albert ARIBAUD
Signed-off-by: Jeroen Hofstee
25 Nov, 2013
2 commits
-
All objects under api/ and examples/api/ directories are selected
by CONFIG_API.
So we can move CONFIG_API switch to the top Makefile.In order to use CONFIG_API, the definition of SUBDIR_EXAMPLES-y
must be moved after "sinlude $(obj)include/autoconf.mk".Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
16 Nov, 2013
1 commit
-
Commit 309a292e deleted OXC board, but
missed to remove the standalone example specific to OXC board.eepro100_eeprom.c has been an orphan file for a long term.
Signed-off-by: Masahiro Yamada
08 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
05 Nov, 2013
1 commit
-
This fixes building time.c when unreferenced functions are added.
Signed-off-by: Rob Herring
20 Sep, 2013
1 commit
-
Fix various misspellings of things like "environment", "kernel",
"default" and "volatile", and throw in a couple grammar fixes.Signed-off-by: Robert P. J. Day
12 Sep, 2013
1 commit
-
After further testing, this patch has two problems. First,
examples/standalone/Makefile was already inherting PLATFORM_LIBS from
the top-level Makefile so this lead to duplicating the private libgcc.
Second, currently the private libgcc has a reference to 'hang' that is
not being fulfilled.This reverts commit 4412db46468d5965da736d06f84d13e68a6e0b51.
Signed-off-by: Tom Rini
07 Sep, 2013
1 commit
-
Add support for defining the gcc lib in standalone examples as is
done in the main u-boot MakefileSigned-off-by: Jack Mitchell
24 Jul, 2013
2 commits
-
Signed-off-by: Wolfgang Denk
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
12 Jun, 2013
1 commit
-
C99's strict aliasing rules are insane to use in low-level code such as a
bootloader, but as Wolfgang has rejected -fno-strict-aliasing in the
past, add a union so that 16-bit accesses can be performed.Compile-tested only.
Signed-off-by: Scott Wood
Acked-by: Wolfgang Denk
16 Mar, 2013
1 commit
-
We can use the declarations of __bss_start and _end from this header
instead of declaring them locally.Signed-off-by: Simon Glass
04 Feb, 2013
1 commit
-
Move these fields into arch_global_data and tidy up.
Signed-off-by: Simon Glass
22 Oct, 2012
1 commit
-
Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger
16 Oct, 2012
1 commit
-
Both big-endian and little-endian are tested with below commands:
Rom version: (Default, Now we config it as rom version)
qemu-system-mips64el -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic
qemu-system-mips64 -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic
Ram version:
qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographicSigned-off-by: Zhizhou Zhang
Signed-off-by: Daniel Schwierzeck
27 Mar, 2012
1 commit
-
The LD command in examples/standalone/Makefile ignored platform specific
LDFLAGS setup. Pass these LDFLAGS to the command.Signed-off-by: Marek Vasut
Cc: Bryan Hundven
Cc: Michael Schwingen
14 Jan, 2012
1 commit
-
Signed-off-by: Stefan Kristiansson
07 Dec, 2011
1 commit
-
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.htmlSigned-off-by: Mike Partington
16 Nov, 2011
1 commit
-
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
04 Nov, 2011
1 commit
-
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:
-> strace -f -e trace=execve -o /tmp/foo ./MAKEALL
-> grep execve /tmp/foo | wc -lBefore: 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
Cc: Andy Fleming
Cc: Kumar Gala
Cc: Albert Aribaud
cc: Graeme Russ
cc: Mike Frysinger
Tested-by: Graeme Russ
Tested-by: Matthias Weisser
Tested-by: Sanjeev Premi
Tested-by: Simon Glass
Tested-by: Macpaul Lin
Acked-by: Mike Frysinger
22 Oct, 2011
2 commits
-
Add standalone program related support for nds32 architecture.
Signed-off-by: Macpaul Lin
-
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_MULTISigned-off-by: Che-Liang Chiou
Acked-by: Mike Frysinger
18 Oct, 2011
1 commit
-
These are various places I found that checked for conditions equivalent
to isblank.Signed-off-by: Jason Hobbs
13 May, 2011
2 commits
-
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 boundsSigned-off-by: Joakim Tjernlund
-
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 >Makefile <
09 May, 2011
1 commit
-
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
Cc: Wolfgang Denk
Cc: Stefan Roese
Cc: Thomas Lange
Cc: Vlad Lungu
Signed-off-by: Shinya Kuribayashi
13 Apr, 2011
2 commits
-
Signed-off-by: Graeme Russ
-
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
Cc: Mike Frysinger
Cc: Shinya Kuribayashi
Cc: Daniel Hellstrom
Cc: Tsi Chung Liew
Cc: Nobuhiro Iwamatsu
31 Mar, 2011
1 commit
-
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
Signed-off-by: Wolfgang Denk
28 Mar, 2011
1 commit
-
Currently, _end is used for end of BSS section. We want _end to mean
end of u-boot image, so we rename _end to __bss_end__ first.Signed-off-by: Po-Yu Chuang
10 Jan, 2011
1 commit
-
One more place that was missed during the do_reset() unification.
Signed-off-by: Mike Frysinger
18 Nov, 2010
1 commit
-
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils. As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.The name of each former library archive is preserved except for
extensions which change from ".a" to ".o". This commit updates
references accordingly where needed, in particular in some linker
scripts.This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols. Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier
13 Oct, 2010
1 commit
-
Using -fno-toplevel-reorder causes gcc to not reorder functions. This
ensures that an application's entry point will be the first function in
the application's source file.This change, along with commit 620bbba524fbaa26971a5004793010b169824f1b
should cause a standalone application's entry point to be at the base of
the compiled binary. Previously, the entry point could change depending
on gcc version and flags.Note -fno-toplevel-reorder is only available in gcc version 4.2 or
greater.Signed-off-by: Peter Tyser