Commit graph

594 commits

Author SHA1 Message Date
Jan Luebbe
93ca711e64 scripts: add tool to create image for SPI boot on AM35xx
Booting from SPI on an AM35xx (and possibly other TI SOCs) requires
a special format:

- 32 bit image size in big-endian
- 32 bit load address in big-endian
- binary image converted from little- to big-endian

The mk-am35xx-spi-image tool converts barebox.bin to
this format.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-02 08:22:30 +02:00
Jan Luebbe
46bf132f15 Makefile: add target to produce a SPL compatible uImage
This is mostly useful during the initial port of barebox to a new
board which is supported by u-boot. It also allows starting barebox
from a SRAM-based u-boot SPL.

A different load address can be set like this:
make barebox.uimage UIMAGE_BASE=0x80000000

Also add barebox.ubl to CLEAN_FILES.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-29 13:08:01 +02:00
Sascha Hauer
c8c49c14ae environment generation: Fix dependencies
The dependencies for generating the environment do not work properly:

- If files are removed from the defaultenv, a subsequent make will not
  update the default environment.
- If CONFIG_DEFAULT_ENVIRONMENT_PATH changes, the default environment
  also will not be regenerated.

This patch fixes this by introducing a cmd_env which has the content of
$(ENV_FILES) in the command so that the if_changed mechanism recognizes
a change when $(ENV_FILE) changes. This also results in a nice "  ENV "
string in the build process.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-28 16:21:44 +02:00
Jan Luebbe
606feec236 kbuild: keep the barebox binary accessible
When building a special image  from the original (compressed or
not) binary, to not overwrite KBUILD_BINARY.

This allows producing multiple images (such as MLO, UBL, ...)
from the (z)barebox.bin. In the case where no special image is
used, KBUILD_IMAGE is set to KBUILD_BINARY.

This patch was developed together with Sascha Hauer. Thanks!

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-06 19:31:49 +02:00
Sascha Hauer
bed1a6ffab Merge branch 'for-next/pbl' 2012-09-05 12:59:29 +02:00
Sascha Hauer
1b47aa82b1 Release v2012.09.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-05 12:57:01 +02:00
Sascha Hauer
b615445564 Makefile: generate a barebox-flash-image link
Depending on the SoC a barebox.bin, barebox.netx, barebox.s5p, MLO image
is generated. With pbl support there now is an additional
arch/arm/pbl/zbarebox.bin image.

To help the user to determine which image should be flashed to his device,
generate a barebox-flash-image link.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-08-12 16:16:44 +02:00
Sascha Hauer
8e724b3d3e Makefile.lib: add disasm and ln commands
disasm: For generating an disasssembly of an ELF file
ln: For creating a softlink

Use the disasm command for generating barebox.S

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-08-12 14:34:28 +02:00
Jean-Christophe PLAGNIOL-VILLARD
78867e2bbd Add pre-bootloader (pbl) image support
This allows for creating a pre-bootloader binary for
 - nand boot
 - mmc boot
 - compressed image

The pbl will be incharge of the lowlevel init if needed.
The barebox will skip it.

Import string functions from linux 3.4 (arch/arm/boot/compressed/string.c) and
implement a dummy panic.

For now on introduce dummy zbarebox* targets and c code that will contain later
the decompressor. This only implemeted on ARM.

This patch is based on Sascha Hauer <s.hauer@pengutronix.de>
Add compressed image support patch

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-08-03 18:09:13 +08:00
Jean-Christophe PLAGNIOL-VILLARD
d4c42fb33d kbuild: add pre-bootloader (pbl) target
This will allow to link compiled object to the built-in-pbl.o across the source
tree that will be finally link to the pbl.

Now we compile the source %.c in pbl-%.o and provide -D__PBL__
so we can known in the source when it's compile for barebox or the pbl.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-08-03 17:17:05 +08:00
Sascha Hauer
80fb825db2 Release v2012.08.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-08-01 08:59:32 +02:00
Svetlana Khafizova
4d1fe257a3 Makefile: update barebox version if CONFIG_KALLSYMS is not set
If CONFIG_KALLSYMS is not set then barebox version is always "#0".
By-default on mips boards CONFIG_KALLSYMS don't set, so barebox
version does not increase after every build.
This patch fixes the problem.

Signed-off-by: Svetlana Khafizova <sv.khafizova@gmail.com>
Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru>
Acked-by:: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-23 22:09:19 +02:00
Sascha Hauer
6e4b15537b Merge branch 'for-next/misc' 2012-07-02 10:59:30 +02:00
Sascha Hauer
9d0b51ea7e Release v2012.07.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-02 10:31:52 +02:00
Sascha Hauer
5ecbd4a40f Makefile: echo size check error to stderr
To be able to see it when in my build tests stdout goes to /dev/null

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-30 12:47:04 +02:00
Roberto Nibali
ba673498c9 Deal properly with scripts/bareboxenv-target
The bareboxenv-target binary is automatically created but never
deleted nor is it excluded from git tracking. This patch remedies
the situation by adding scripts/bareboxenv-target to .gitignnore
and adjusting the list of to be deleted files of the 'clean' target
in the core Makefile.

Signed-off-by: Roberto Nibali <rnibali@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-30 12:47:04 +02:00
Sascha Hauer
497d1c49f4 Merge branch 'next' 2012-06-06 14:11:57 +02:00
Sascha Hauer
94418c2d0d Release v2012.06.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-06 14:10:34 +02:00
Alexey Galakhov
d1e782ed95 S5P boot header and image generator
Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-21 21:58:26 +02:00
Sascha Hauer
ce38019845 Merge branch 'next'
Conflicts:
	common/hush.c

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-03 20:10:13 +02:00
Sascha Hauer
71fadbafe2 Release v2012.05.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-03 09:39:33 +02:00
Antony Pavlov
6b489256ee Makefile: add barebox.srec to 'clean'
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-04-30 14:01:34 +02:00
Sascha Hauer
55c81081e5 Makefile: fix build timestamps
This patch adds the scripts/mkcompile_h from the Kernel. This gives
us additional information about the build like who built this binary
and with which compiler. Currently the only information used is the
build timestamp and the generation number.
This also fixes the build timestamp in the banner which is now correct
even with consecutive builds without making clean in between.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-04-15 15:18:17 +02:00
Sascha Hauer
2a6460cbb6 Merge branch 'next' 2012-04-05 11:09:58 +02:00
Sascha Hauer
4eb3478212 Release v2012.04.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-04-05 11:03:03 +02:00
Alexander Shiyan
20da230046 Add barebox.map and compressed default_env to distclean
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-04-02 10:07:48 +02:00
Sascha Hauer
8bf6924188 Release v2012.03.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-03-06 10:08:09 +01:00
Sascha Hauer
037cf6e80b Merge branch 'next' 2012-02-07 13:54:14 +01:00
Sascha Hauer
1943a1c101 Release v2012.02.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-02-06 12:55:01 +01:00
Jean-Christophe PLAGNIOL-VILLARD
064beaa73b add config to check if the size of barebox exceed the target size
CONFIG_BAREBOX_MAX_IMAGE_SIZE will allow to detected silent oversize result

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-17 18:48:54 +01:00
Jean-Christophe PLAGNIOL-VILLARD
18e18dd13b kconfig: sync to linux 3.2-rc4
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-01-11 21:22:34 +08:00
Sascha Hauer
0d22025084 Merge branch 'next' 2012-01-05 10:25:17 +01:00
Sascha Hauer
ea2211218c Release v2012.01.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-04 16:04:40 +01:00
Sascha Hauer
316371d050 Makefile: disable warning: generating trampoline in object
Our stack is executable, so disable this warning

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 14:53:17 +01:00
Sascha Hauer
2ef61fa2c0 Makefile: disable unused-but-set-variable warning
This produces too many false positives.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 14:53:17 +01:00
Sascha Hauer
61b62f6d33 Release v2011.12.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 12:00:42 +01:00
Sascha Hauer
d79d5ae88b Merge branch 'next' 2011-11-09 13:09:23 +01:00
Sascha Hauer
78202b7722 Release v2011.11.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-11-09 12:56:10 +01:00
Sascha Hauer
6b8503baab Merge branch 'master' into next 2011-10-23 13:38:39 +02:00
Loïc Minier
4e26fba680 Only pass -P to cpp when generating ld scripts
When building sandbox with ccache, one would hit warnings such as:
    warning: 'struct mmsghdr' declared inside parameter list
on random files; a way to reproduce this issue is to build a simple
file doing just:
    #include <sys/socket.h>

    int main(void) {
        return 0;
    }

    gcc -Wall -P -c -o foo foo.c

But actually the -P flag is only useful when generating non-C files,
such as linker scripts in the case of barebox.  Removing the -P flag
from all the gcc invocations, except when generating .lds files makes
the warning go away.  It turns out that this is what
linux/scripts/Makefile.build also does nowadays.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-10-18 09:18:41 +02:00
Sascha Hauer
7d5aee0467 Merge branch 'master' into next 2011-10-14 09:36:17 +02:00
Jean-Christophe PLAGNIOL-VILLARD
4ac3a1f9e0 move digest to crypto/
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-10-12 08:52:48 +02:00
Sascha Hauer
597da1b76e Merge branch 'next' 2011-10-09 03:58:49 +02:00
Sascha Hauer
0e7c77a3fd Release v2011.10.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-10-08 11:26:13 +02:00
Antony Pavlov
bd348f953a generate barebox.srec
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-09-13 09:29:23 +02:00
Sascha Hauer
22d49d5d2b Release v2011.09.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-08-26 16:23:46 +02:00
Sascha Hauer
8949efd0e1 Release v2011.08.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-08-04 14:42:13 +02:00
Sascha Hauer
e6c03f01bf Merge branch 'next' 2011-07-06 10:25:04 +02:00
Sascha Hauer
6d00046884 Release v2011.07.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-07-06 09:31:17 +02:00
Marc Kleine-Budde
6d78fe87dc Makefile: remove -Map option from global LDFLAGS
... and re-add it to LDFLAGS_barebox.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-06-21 13:54:59 +02:00
Sascha Hauer
b65e45eccd Release v2011.06.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-06-06 11:27:50 +02:00
Sascha Hauer
3e19d85876 Release v2011.05.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-05-06 09:30:20 +02:00
Sascha Hauer
691dd27f7a Merge branch 'next' 2011-04-04 14:53:08 +02:00
Sascha Hauer
6603a7defe Release v2011.04.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-04 14:51:51 +02:00
Sascha Hauer
f4491d7b04 kallsyms/printk: enable symbol printing support (%pS)
With this kallsyms finally start working at least on ARM. This
enables us resolving addresses into symbols which is particularly
useful in combination with stack unwinding support. As kallsyms
now compile and work we can remove the depends on BROKEN.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-03-10 14:50:16 +01:00
Sascha Hauer
81eafd2141 Release v2011.03.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-03-03 15:59:35 +01:00
Sascha Hauer
75c38628f7 Release v2011.02.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-02-03 10:00:14 +01:00
Sascha Hauer
f39d4d225e Merge branch 'next' 2011-01-06 11:26:18 +01:00
Sascha Hauer
d836124f8b Release v2011.01.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-06 11:25:35 +01:00
Krzysztof Halasa
b754bc4cf0 Fix top-level Makefile to work with GNU make 3.82.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-21 09:02:40 +01:00
Sascha Hauer
e987040bc9 Merge branch 'next' 2010-12-03 16:25:32 +01:00
Sascha Hauer
ff3bea7fed Release v2010.12.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-03 16:20:39 +01:00
Robert Schwebel
4ce5028ecd doc: put barebox version into documentation
Currently the documentation does always claim to be version 1. We add
the revision plus the git version to the manual.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-15 09:57:26 +01:00
Sascha Hauer
d1209136e3 Release v2010.11.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 17:55:58 +01:00
Sascha Hauer
43c1881110 Merge branch 'next' 2010-10-04 08:32:52 +02:00
Sascha Hauer
849e910d07 Release v2010.10.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-02 13:00:45 +02:00
Jean-Christophe PLAGNIOL-VILLARD
935cdf5a1e move barebox_default_env.h to include/generated/
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-17 10:56:24 +08:00
Jean-Christophe PLAGNIOL-VILLARD
93bd1526aa move utsrelease.h to include/generated/ instead of include/linux
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-17 10:56:24 +08:00
Jean-Christophe PLAGNIOL-VILLARD
657c134694 move version.h to include/generated/ instead of include/linux
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-17 10:56:24 +08:00
Sascha Hauer
80f9963207 Merge branch 'next' 2010-08-30 21:06:33 +02:00
Sascha Hauer
3d5d2279c0 Release v2010.09.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-30 20:47:59 +02:00
Jean-Christophe PLAGNIOL-VILLARD
76cb133be3 Makefile: fix autoconf.h location
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-27 14:24:06 +02:00
Jean-Christophe PLAGNIOL-VILLARD
7167eb8c0b Kconfig: sync with linux kernel v2.6.36-rc1-168-ge36c886
this will add also the support of the new ncurse interface nconfig

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-08-22 13:12:27 +08:00
Sascha Hauer
139ec08127 Merge branch 'next' 2010-08-03 09:31:38 +02:00
Sascha Hauer
68d0d31d41 Release v2010.08.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 09:30:32 +02:00
Jean-Christophe PLAGNIOL-VILLARD
d8c86961b3 move boards to arch/<architecure>/boards
this will allow each arch to handle the boards more simply and depending on
there need

the env var BOARD will refer to the current board dirent

for sandbox as we have only one board the board dirent is arch/sandbox/board

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-23 08:35:25 +02:00
Sascha Hauer
6d1d9e8d8b Merge branch 'next' 2010-07-03 10:26:21 +02:00
Sascha Hauer
0db4be97f2 v2010.07.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-03 10:13:42 +02:00
Sascha Hauer
600c0e987e Allow to merge default environment from more than one directory
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:40 +02:00
Sascha Hauer
7f37262ee5 v2010-06.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-02 10:36:28 +02:00
Uwe Kleine-König
33241e6f97 give nice output when generating barebox.bin and barebox.S
As a side effect don't build barebox.S when barebox.bin is updated.  I
didn't manage to keep the old behaviour and I consider it cleaner this
way.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:01:28 +02:00
Sascha Hauer
1d6d5108e5 barebox 2010.05.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 14:32:02 +02:00
Sascha Hauer
9c3df274ac Release v2010.04.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-04-06 08:35:32 +02:00
Sascha Hauer
af0ee369c1 barebox-2010.03.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-03 08:49:01 +01:00
Sascha Hauer
7ca411ecd2 Merge branch 'next' 2010-02-01 16:16:12 +01:00
Sascha Hauer
dc6550ed3b v2010.02.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 16:09:07 +01:00
Juergen Beisert
ae2afbb2db Consider real and protected mode in the dump file
On x86 'objdump' does not know which parts of the image are 16 bit code and
32 bit. As the default is 32 bit, it will output garbage from the 16 bit parts
(due to 16/32 bit ops are sharing the same opcodes).

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-14 10:06:15 +01:00
Sascha Hauer
c68c06cb0e barebox-2009.12.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-23 18:25:21 +01:00
Sascha Hauer
0823592de3 barebox-2009.12.01
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-23 11:05:12 +01:00
Sascha Hauer
1e8d57a1ab Fix barebox Version number
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:04 +01:00
Sascha Hauer
345480e167 Makefile: clean barebox.ldr
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:04 +01:00
Sascha Hauer
a3ffa97f40 rename U-Boot-v2 project to barebox
This has been done with the following script:

find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
	-e 's/u2boot/barebox/g' \
	-e 's/U2Boot/barebox/g' \
	-e 's/U-boot V2/barebox/g' \
	-e 's/u-boot v2/barebox/g' \
	-e 's/U-Boot V2/barebox/g' \
	-e 's/U-Boot-v2/barebox/g' \
	-e 's/U_BOOT/BAREBOX/g' \
	-e 's/UBOOT/BAREBOX/g' \
	-e 's/uboot/barebox/g' \
	-e 's/u-boot/barebox/g' \
	-e 's/u_boot/barebox/g' \
	-e 's/U-Boot/barebox/g' \
	-e 's/U-boot/barebox/g' \
	-e 's/U-BOOT/barebox/g'

find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
	xargs -0 -r rename 's/u[-_]?boot/barebox/'

It needs some manual fixup following in the next patch

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:18:30 +01:00
Juergen Beisert
118386d83f let linker create a link map
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-10 12:15:01 +01:00
Jean-Christophe PLAGNIOL-VILLARD
71306852fd arm: generate mach-types.h instead of static version
mach-types against v2.6.32-rc5

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-03 13:01:46 +01:00
Jean-Christophe PLAGNIOL-VILLARD
dac4338cdc kbuild: add arch/$ARCH/include to search path
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:46 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e3eb1662f8 kbuild: asm symlink support for arch/$ARCH/include
Adjust the asm symlink support so we do not create the
symlink unless really needed.
We check the precense of include/asm-$ARCH by checking
for the system.h file. We may end up with a stale directory
so it is not enough to check if the directory is present.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:36 +02:00
Jean-Christophe PLAGNIOL-VILLARD
cb43896573 kbuild: support arch/$ARCH/include for tags, cscope
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-21 14:54:15 +02:00
Sascha Hauer
f24f72ded4 v2.0.0-rc10
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:57:33 +02:00
Sascha Hauer
e083b81eb7 v2.0.0-rc9
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-28 15:50:48 +02:00
Sascha Hauer
102ed065ed 2.0.0-rc8
Oh, dear dad, can you see me now
I am myself, like you somehow
Ill ride the wave where it takes me
Ill hold the pain...
Release me...
Ohh...ohh...ohh...ohh...

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-23 15:08:06 +01:00
Sascha Hauer
b644a99ff2 recreate symlink to board config if necessary
When changing the board it is necessary to change the symlink
from include/config.h to the new board

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:58 +01:00
Sascha Hauer
81b2430127 v2.0.0-rc7
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 22:08:10 +01:00
Sascha Hauer
4b0108553f ridiculous counter 6
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-14 15:09:08 +01:00
Sascha Hauer
2c02a3914f back to git
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-04 17:07:22 +02:00
Sascha Hauer
16d689df8c Version bump to v2.0.0-rc5
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-04 17:06:20 +02:00
Juergen Beisert
5aee43aae9 Sync action and log when creating the config.h link 2008-07-11 10:22:44 +02:00
Marc Kleine-Budde
b2e60b9eab [kbuild] fix out of tree build problem with environment handling
This patch fixes the out of tree build, which was broken in
7b498d9838.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-07-03 11:26:25 +02:00
Nishanth Menon
1ecafc5f8d 004-arm-makefile
[Patch 04/17] U-Boot-V2:ARM: Remove unwanted flags from Makefile

CFLAGS: "-D __ARM__" should have been "-D__ARM__". this breaks sparse check.
Further -nostdinc in Makefile is redfined by
commit ID:847934bc960ba1588c87e283118318dfdd78d4c0
This is unecessary as NOSTDINC_FLAGS defines it

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:14 +02:00
Sascha Hauer
36ffd6f18a [kbuild] move -pipe from architecture Makefiles to toplevel
Makefile
2008-06-03 12:54:37 +02:00
Sascha Hauer
847934bc96 [kbuild] move -nostdinc from architecture Makefiles to toplevel
Makefile
2008-06-03 12:39:45 +02:00
Sascha Hauer
b8725ffe1d [kbuild] move -ffreestanding from architecture Makefiles to toplevel
Makefile
2008-06-03 12:37:52 +02:00
Sascha Hauer
bca64df501 [kbuild] move -fno-builtin from architecture Makefiles to toplevel
Makefile
2008-06-03 12:36:35 +02:00
Sascha Hauer
7681d868ba [kbuild] move -Os flag from architecture Makefiles to toplevel
Makefile
2008-06-03 12:29:57 +02:00
Sascha Hauer
27a1e814c7 [general] remove trailing whitespaces in Makefile 2008-04-07 12:20:26 +02:00
Sascha Hauer
9c7d282579 [general] Move include/configs/* to board/*/config.h 2008-04-07 12:18:05 +02:00
Carsten Schlote
630dcb6fd5 [general] Added docs and htmldocs target to master makefile
Added two targets to the toplevel Makefile : docs and htmdocs.

Further output formats might be added later (PDF, TeX, ...) and
wrapped by the docs target.

Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-20 17:36:41 +01:00
Wolfram Sang
0bf51469d7 back to -git
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-02-20 17:02:27 +01:00
Wolfram Sang
89f94eb41f Version bump up rc4
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-02-20 16:58:38 +01:00
Marc Kleine-Budde
2e8e082fd3 version to rc4-git
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-30 10:03:03 +01:00
Marc Kleine-Budde
1c6d34ac68 version bump to -rc3
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 13:56:46 +01:00
Marc Kleine-Budde
7b498d9838 [makesystem] reworked default environment handling
This patch improves the default environment handling, now the makesystem
bails out if the default environment path is empty or points to an
invalid directory (with activated default environment). It also fixes
this error:

find: invalid predicate `'

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-19 10:41:00 +01:00
Juergen Beisert
28709f371d back to trunk
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-16 10:57:16 +01:00
Marc Kleine-Budde
8e7e44e32c version bump to -rc2
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 17:05:34 +01:00
Marc Kleine-Budde
eea76e4cf1 removed security/selinux from find
fixes:

[mkl@octopus:~/pengutronix/pii-bf/u-boot-v2]$ make TAGS
  MAKE   TAGS
  find: security/selinux: No such file or directory
  find: security/selinux: No such file or directory
  find: security/selinux: No such file or directory

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 11:55:52 +01:00
Sascha Hauer
a3defd2f57 Toplevel Makefile: add uboot_default_env to clean files
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:13:50 +02:00
sascha
f8ccf74934 Toplevel Makefile: fix link for include/config.h for external builds 2007-10-17 19:02:56 +02:00
sascha
d59ca7feb3 Linking: Remove linker scripts from (arm based-) boards and add
a generic linker script to arch/arm/lib/u-boot.lds.S.
	 If a board wants to overwrite a linker script it can do
	 so using CONFIG_BOARD_LINKER_SCRIPT.
	 There is no generic linker script for ppc and blackfin
	 yet, so still use the board specific one.
2007-10-17 12:21:53 +02:00
Sascha Hauer
b02e096641 add additional linking stage for modules 2007-10-04 12:54:05 +02:00
Sascha Hauer
3847938e51 add .tmp_kallsyms* to CLEAN_FILES 2007-10-01 10:25:40 +02:00
Sascha Hauer
7a49f672c5 add kallsyms from linux kernel 2007-09-28 20:29:52 +02:00
Robert Schwebel (Laptop)
a241d078c6 Subject: default ARCH and CROSS_COMPILE
Set a sane default if ARCH and CROSS_COMPILE are not set.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:02:21 +02:00
Sascha Hauer
e4b41eb624 remove readlink handling for cross_arch and cross_compile 2007-09-21 14:35:16 +02:00
Sascha Hauer
47d938f7ab - some more cleanup in Makefiles
- move netx image generation to arch/arm/Makefile
2007-09-13 15:33:09 +02:00
Sascha Hauer
75ded1c394 Clean up toplevel Makefile a bit:
- remove everything about modules
- remove incorrect targets in make help
- remove KALLSYMS
2007-09-13 09:20:26 +02:00
Sascha Hauer
6422fe2cd5 generate netx images in toplevel Makefile. This does not look very good
but I do not have another idea now.
2007-09-05 12:58:00 +02:00
Sascha Hauer
dd13f2cdda -trunk -> -git 2007-07-16 10:31:46 +02:00
Sascha Hauer
b2c5310d4d svn_rev_653
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
4b07af6730 svn_rev_643
structure cleanup
2007-07-05 18:02:13 +02:00
Sascha Hauer
d19f331876 svn_rev_640
lib_generic -> lib
2007-07-05 18:02:12 +02:00
Sascha Hauer
361acf4413 svn_rev_551
linux->uboot
2007-07-05 18:02:04 +02:00
Sascha Hauer
a8b814d529 svn_rev_428
add -D __U_BOOT__
2007-07-05 18:01:53 +02:00
Sascha Hauer
a4c41d4109 svn_rev_241
add fs/
2007-07-05 18:01:36 +02:00
Sascha Hauer
20a5d4c3bc svn_rev_075 2007-07-05 18:01:19 +02:00
Sascha Hauer
d2bf9bf488 svn_rev_025
remove get_tbclk from architectures other than powerpc
2007-07-05 18:01:15 +02:00
Sascha Hauer
3e83b8358a svn_rev_021
first compile success
2007-07-05 18:01:14 +02:00
Sascha Hauer
56e32343eb svn_rev_009
add autogenerated links
2007-07-05 18:01:13 +02:00
Sascha Hauer
c56078afcc svn_rev_008
add missing Kconfig
2007-07-05 18:01:13 +02:00
Sascha Hauer
13a0908f07 svn_rev_002
Consider all boards containing it's own flash.c as unmaintained
and remove them.
2007-07-05 18:01:12 +02:00
Wolfgang Denk
f4eb54529b Prepare for release 1.2.0 2007-01-07 00:13:11 +01:00
Wolfgang Denk
bc5556d62b Merge with /home/hs/TQ/u-boot-dev 2006-12-24 01:30:04 +01:00