summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts/getenv: delete backup files from enviroment directoryHubert Feurstein2011-06-011-1/+2
| | | | | | | | Also add the '--no-run-if-empty' option to xargs to avoid an error message when no files/folders were found. Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix genenv when using svn based enviroment directoryTim Sander2011-05-231-0/+2
| | | | | | | | | | | | | | Hi When setting the default env of barebox to a svn directory the build stops with questions on removal and the barebox env is polluted with svn files. The patch below fixes that. Tested with 2011.03.1. Newer versions don't boot anymore on my pcm043 :-(. Signed-off-by: Tim Sander <tim.sander@hbm.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: Fix compilation warning.Marek Belisko2011-05-041-4/+2
| | | | | | | | | | | Fix following warning: scripts/kallsyms.c: In function ‘read_symbol’: scripts/kallsyms.c:81:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result Solution overtaken from kernel tree. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap: Add omap signGP tool and possibility to build ift imagesSascha Hauer2011-04-122-0/+314
| | | | | | | The tool is needed to build images suitable for omap processors to load from mmc or nand. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* script: update git ignore fileSascha Hauer2011-04-111-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* x86: Use the generic linker script initializingJuergen Beisert2011-03-101-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* kconfig: syn with linux kernel v2.6.38-rc3Jean-Christophe PLAGNIOL-VILLARD2011-02-0227-940/+1206
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix error handling with malloc, memalign etc. Introduce xmemalign().Krzysztof Halasa2011-01-072-3/+6
| | | | | | | | | | | | | | The idea is to panic() when there is no memory available for normal operation. Exception: code which can consume arbitrary amount of RAM (example: files allocated in ramfs) must report error instead of panic(). This patch also fixes code which didn't check for NULL from malloc() etc. Usage: malloc(), memalign() return NULL when out of RAM. xmalloc(), xmemalign() always return non-NULL or panic(). Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: Adapt checkpatch.pl for barebox.Marek Belisko2010-11-291-3/+3
| | | | | | | | 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>
* scripts: Add checkpatch.pl script.Marek Belisko2010-11-291-0/+2950
| | | | | | | 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>
* x86: fix out of tree build supportJean-Christophe PLAGNIOL-VILLARD2010-11-171-2/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* doc: add macros to unify command help with doxygenRobert Schwebel2010-11-011-0/+103
| | | | | | | | | 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>
* image: remove confusing image_check_* functionsSascha Hauer2010-10-131-1/+1
| | | | | | | | | | | 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 a3c1e5d888d0ee317ffc7635694684bb71213c9c. 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>
* image: factorise image printing contentsJean-Christophe PLAGNIOL-VILLARD2010-10-081-69/+4
| | | | | | Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-10-081-41/+43
| | | | | | Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* image: rename IH_CPU to IH_ARCH to be more concistantJean-Christophe PLAGNIOL-VILLARD2010-10-081-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* image: factorise string helperJean-Christophe PLAGNIOL-VILLARD2010-10-081-113/+8
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Revert "image: factorise string helper"Sascha Hauer2010-10-071-8/+113
| | | | This reverts commit 7bd7d59e60f3f23862ebc09c9f3527ee24b2960f.
* Revert "image: rename IH_CPU to IH_ARCH to be more concistant"Sascha Hauer2010-10-071-1/+1
| | | | | | | | | | This reverts commit aba80a2d2d0f1b25185246925577ce2108247dde. Conflicts: include/image.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "Replace direct header access with the API routines"Sascha Hauer2010-10-071-43/+41
| | | | | | | | | | This reverts commit 0ceafe14be072696eff3e549d8c7b7de8a3e416d. Conflicts: include/image.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "image: factorise image printing contents"Sascha Hauer2010-10-071-2/+69
| | | | This reverts commit d424ce77f5e9295584252452dbd78eea562c9af0.
* host: introduce compiler.h to handle host includeJean-Christophe PLAGNIOL-VILLARD2010-09-242-37/+108
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: factorise image printing contentsJean-Christophe PLAGNIOL-VILLARD2010-09-241-69/+2
| | | | | | | 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>
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-09-241-41/+43
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: rename IH_CPU to IH_ARCH to be more concistantJean-Christophe PLAGNIOL-VILLARD2010-09-231-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: factorise string helperJean-Christophe PLAGNIOL-VILLARD2010-09-231-113/+8
| | | | | | | 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>
* move utsrelease.h to include/generated/ instead of include/linuxJean-Christophe PLAGNIOL-VILLARD2010-09-171-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* udpate fixdep.c to linux kernel v2.6.36-rc1-168-ge36c886Jean-Christophe PLAGNIOL-VILLARD2010-08-271-25/+30
| | | | | | | 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>
* Kconfig: sync with linux kernel v2.6.36-rc1-168-ge36c886Jean-Christophe PLAGNIOL-VILLARD2010-08-2238-2006/+5801
| | | | | | this will add also the support of the new ncurse interface nconfig Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* barebox_default_env: fix out of tree buildJean-Christophe PLAGNIOL-VILLARD2010-07-221-3/+5
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add netconsole host scriptSascha Hauer2010-06-241-0/+59
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Allow to merge default environment from more than one directorySascha Hauer2010-06-221-0/+17
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add a tool to activate barebox as a boot loader on x86 architecturesJuergen Beisert2010-01-144-1/+767
| | | | | | | | | | | 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>
* scripts: Delete non-barebox content from scripts/.Robert P. J. Day2009-12-211-10/+0
| | | | | | | | | | | Remove scripts/ content having nothing to do with barebox: - pnmtologo - conmakehash - unifdef - genksyms Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-1514-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Build system: Use setlocalversion from kernelSascha Hauer2008-09-021-0/+65
| | | | | | Autogenerate a local version from git. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add compiler header files from kernelSascha Hauer2008-08-131-1/+1
| | | | | | | Add include/linux/compiler*.h from Linux Kernel and remove old include/compiler.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix generated config filesNishanth Menon2008-05-071-3/+3
| | | | | | | | Make defconfig generates .config with "Linux kernel" instead of "U-Boot". This patch fixes the same. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* separating environment commands, part 2Juergen Beisert2007-11-121-1/+2
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* Add scripts/mkmakefile from Linux. This is necessary if you want toRobert Schwebel2007-11-091-0/+36
| | | | | | build out-of-tree. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* Change help texts to refer to u-boot instead of linux.Robert Schwebel2007-11-091-4/+4
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* update some .gitignore filesSascha Hauer2007-10-241-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* update to new kconfig version #2 (forgot to delete files)Sascha Hauer2007-10-244-450/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* update to new kconfig versionSascha Hauer2007-10-2427-1226/+1403
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* do not include Kbuild in Makefile.clean. We neither have it nor need it.sascha2007-10-171-1/+1
|
* __u_boot__symtab -> __usymtabSascha Hauer2007-10-071-21/+34
|
* remove some (currently) unneeded functionsSascha Hauer2007-10-041-8/+10
|
* add modpostSascha Hauer2007-10-049-1/+3154
|
* update .gitignore filesSascha Hauer2007-09-281-0/+2
|
* add kallsyms.c from linux kernelSascha Hauer2007-09-281-0/+534
|