Marek Belisko
4a7f56056d
scripts: Adapt checkpatch.pl for barebox.
...
Add directories from root of barebox to top_of_kernel_tree()
function for usage of script without additional parameters.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-29 21:56:05 +01:00
Marek Belisko
8beaec022e
scripts: Add checkpatch.pl script.
...
Overtake script checkpatch.pl from kernel source.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-29 21:56:05 +01:00
Jean-Christophe PLAGNIOL-VILLARD
8842674637
x86: fix out of tree build support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-11-17 12:14:57 +08:00
Robert Schwebel
511c5d8d0c
doc: add macros to unify command help with doxygen
...
Currently we have duplicated all the information that appears online in
'help <command>' and in the doxygen documentation. This patch adds some
infrastructure to specify help texts only once and re-use them for the
integrated help as well as for the manual.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-01 16:23:08 +01:00
Sascha Hauer
a64c756ad9
image: remove confusing image_check_* functions
...
The function names do not make it clear what return value
is expected and do not save a single line of code. Put
the code inline and unbreak the wrong checks introduced
with a3c1e5d888
.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Eric Bénard <eric@eukrea.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-13 17:39:49 +02:00
Jean-Christophe PLAGNIOL-VILLARD
24b499f3fe
image: factorise image printing contents
...
Copied from U-Boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-08 00:06:23 +08:00
Jean-Christophe PLAGNIOL-VILLARD
a3c1e5d888
Replace direct header access with the API routines
...
Copied from U-Boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-08 00:04:28 +08:00
Jean-Christophe PLAGNIOL-VILLARD
2fbdb02b11
image: rename IH_CPU to IH_ARCH to be more concistant
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-08 00:03:56 +08:00
Jean-Christophe PLAGNIOL-VILLARD
ad4da3a4a1
image: factorise string helper
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-08 00:03:22 +08:00
Sascha Hauer
6d2812b93d
Revert "image: factorise string helper"
...
This reverts commit 7bd7d59e60
.
2010-10-07 14:13:21 +02:00
Sascha Hauer
6c4b1b6da0
Revert "image: rename IH_CPU to IH_ARCH to be more concistant"
...
This reverts commit aba80a2d2d
.
Conflicts:
include/image.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-07 14:13:10 +02:00
Sascha Hauer
f7403928a9
Revert "Replace direct header access with the API routines"
...
This reverts commit 0ceafe14be
.
Conflicts:
include/image.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-07 14:11:38 +02:00
Sascha Hauer
884f4d47c6
Revert "image: factorise image printing contents"
...
This reverts commit d424ce77f5
.
2010-10-07 14:09:21 +02:00
Jean-Christophe PLAGNIOL-VILLARD
3f03b507d1
host: introduce compiler.h to handle host include
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 09:50:32 +02:00
Jean-Christophe PLAGNIOL-VILLARD
d424ce77f5
image: factorise image printing contents
...
before we duplicate it between command/bootm.c and scripts/mkimage.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 08:46:40 +02:00
Jean-Christophe PLAGNIOL-VILLARD
0ceafe14be
Replace direct header access with the API routines
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 08:46:22 +02:00
Jean-Christophe PLAGNIOL-VILLARD
aba80a2d2d
image: rename IH_CPU to IH_ARCH to be more concistant
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-23 09:55:50 +02:00
Jean-Christophe PLAGNIOL-VILLARD
7bd7d59e60
image: factorise string helper
...
before we duplicate it between common/bootm.c and scripts/mkimage.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-23 09:55:50 +02: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
17d1a81f30
udpate fixdep.c to linux kernel v2.6.36-rc1-168-ge36c886
...
as autoconf.h is store in include/generated and not include/linux anymore
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
Jean-Christophe PLAGNIOL-VILLARD
d879de38e8
barebox_default_env: fix out of tree build
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-22 15:49:02 +02:00
Sascha Hauer
485890986b
add netconsole host script
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 17:37:00 +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
Juergen Beisert
5d591e14ef
Add a tool to activate barebox as a boot loader on x86 architectures
...
To use barebox as a BIOS based bootloader for x86 architectures, the binary
must be patched to get it bootstrapped at runtime. The 'setupmbr' tool installs
the barebox-binary to the given device node or image file and patch it in
accordance to the needed sector information at runtime.
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
Robert P. J. Day
65f2ebfb73
scripts: Delete non-barebox content from scripts/.
...
Remove scripts/ content having nothing to do with barebox:
- pnmtologo
- conmakehash
- unifdef
- genksyms
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-21 11:46:31 +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
Sascha Hauer
21d5fc40df
Build system: Use setlocalversion from kernel
...
Autogenerate a local version from git.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 15:48:06 +02:00
Sascha Hauer
2db67353f3
add compiler header files from kernel
...
Add include/linux/compiler*.h from Linux Kernel and remove old
include/compiler.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:17 +02:00
Nishanth Menon
cbe7b897b4
fix generated config files
...
Make defconfig generates .config with "Linux kernel" instead of
"U-Boot". This patch fixes the same.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-05-07 17:30:37 +02:00
Juergen Beisert
8413d78ab3
separating environment commands, part 2
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Robert Schwebel
07fef1cb68
Add scripts/mkmakefile from Linux. This is necessary if you want to
...
build out-of-tree.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-09 11:47:07 +01:00
Robert Schwebel
e3606619fb
Change help texts to refer to u-boot instead of linux.
...
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-09 08:28:40 +01:00
Sascha Hauer
092a4a3b4b
update some .gitignore files
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:22:09 +02:00
Sascha Hauer
ef01c76864
update to new kconfig version #2 (forgot to delete files)
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:11:31 +02:00
Sascha Hauer
9a14fb0f01
update to new kconfig version
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:09:55 +02:00
sascha
f002246610
do not include Kbuild in Makefile.clean. We neither have it nor need it.
2007-10-17 19:05:01 +02:00
Sascha Hauer
236d55a06a
__u_boot__symtab -> __usymtab
2007-10-07 14:32:08 +02:00
Sascha Hauer
e31b42385b
remove some (currently) unneeded functions
2007-10-04 13:02:28 +02:00
Sascha Hauer
f1400e3b06
add modpost
2007-10-04 12:54:56 +02:00
Sascha Hauer
cdfd8bdd92
update .gitignore files
2007-09-28 20:36:33 +02:00
Sascha Hauer
605fd8f2a5
add kallsyms.c from linux kernel
2007-09-28 19:59:50 +02:00
Sascha Hauer
7c17ff7c45
Reimplement environment. Now we only have one crc for the whole image.
2007-09-27 12:04:17 +02:00
Sascha Hauer
913691eccd
add directory handling for environment
2007-09-25 12:58:52 +02:00
Sascha Hauer
0636be73c2
add mkimage to .gitignore
2007-09-21 14:36:41 +02:00
Sascha Hauer
fd8e989e2e
move mkimage.c to scripts, make it compile
2007-09-21 13:55:04 +02:00
Sascha Hauer
4d872fb09a
add gen_netx_image to Makefile
2007-09-05 12:58:41 +02:00
Sascha Hauer
43811766ac
add netx image generation script
2007-09-05 12:51:19 +02:00
Sascha Hauer
e48e2cdf25
add .gitignore files
2007-07-12 10:21:16 +02:00
Sascha Hauer
631b71e69c
implement -p option to pad output to a given size
2007-07-05 21:36:32 +02:00