summaryrefslogtreecommitdiffstats
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-296-6/+6
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: patch-kernel.sh is no morePeter Korsgaard2011-09-191-1/+1
| | | | | | Thanks to Sven Neumann for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: clarify network settings submenu, disable override by defaultPeter Korsgaard2011-09-181-3/+2
| | | | | | | Make it clear that these options override the board defconfig, and don't enable it by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* boot: get rid of toplevel submenusPeter Korsgaard2011-09-185-5/+5
| | | | | | | Sub options are indented anyway, so no need for empty menus / force people to enter sub menus to see configuration options. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add support for custom version, tarball, git and patch dirJean-Christophe PLAGNIOL-VILLARD2011-09-182-1/+75
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support: move patch-kernel.sh and rename itThomas Petazzoni2011-09-171-1/+1
| | | | | | | | The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-09-131-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* grub: fix patch handling after AUTOTARGETS conversionPeter Korsgaard2011-08-263-14/+49480
| | | | | | | | | | | | Closes #4093 AUTOTARGETS doesn't handle compressed patches, so the '400' patch did not get applied. Fix it by extracting the patch. With this, the '500' patch is no longer needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add barebox-<n/x/menu>config and barebox-savedefconfig supportJean-Christophe PLAGNIOL-VILLARD2011-08-241-0/+10
| | | | | | [Peter: only activate if barebox is enabled, fix deps] Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionJean-Christophe PLAGNIOL-VILLARD2011-08-091-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: fix custom patch dir typoPeter Korsgaard2011-07-191-1/+1
| | | | | | Noticed by robinmholt on IRC. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-tools: add fw_printenv, rename to uboot-toolsPeter Korsgaard2011-07-182-24/+0
| | | | | | | Move fw_printenv / fw_setenv options from the uboot bootloader build to the uboot-mkimage package, and rename it to uboot-tools. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: unbreak kirkwood format handling after a4ca959321Peter Korsgaard2011-07-141-1/+1
| | | | | | | Commit a4ca959321 (u-boot: rename to uboot) forgot to change the kirkwood format handling to look for the new variable name, breaking support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-07-111-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: Add 2011.06, remove 2010.03Thomas Petazzoni2011-07-113-15/+5
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: use "config" instead of "menuconfig"Thomas Petazzoni2011-07-111-1/+1
| | | | | | | | | Since at91dataflashboot has no suboption, using "menuconfig" is useless and confusing, as it creates an empty submenu in the configuration interface. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionThomas Petazzoni2011-07-111-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add x-loader bootloaderPhilippe Reynes2011-07-113-0/+53
| | | | | | | | Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> merge xloader Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: allow specification of custom Git repo as sourceThomas Petazzoni2011-07-112-0/+17
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Improve TARGETS handling for bootloaders and kernelThomas Petazzoni2011-07-116-46/+0
| | | | | | | | | | | | | | | | | | As the kernel and bootloaders do not use the normal BR2_PACKAGE_* Kconfig options, their target name was not automatically added to the global TARGETS variable. Each bootloader .mk and the linux.mk had to add their own target manually to TARGETS, and the package infrastructure was making tests on non-existing Kconfig variables. This commit improves the package infrastructure so that it looks at BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and at the special BR2_LINUX_KERNEL for the linux package. This allows to simplify a little bit the bootloaders and linux .mk files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: rename to ubootThomas Petazzoni2011-07-114-40/+40
| | | | | | | | | This will allow to match the currently Config.in option BR2_TARGET_UBOOT, in order to make it easy to integrate U-Boot into the package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-mkimage: new packageThomas Petazzoni2011-07-101-27/+0
| | | | | | | | | | The mkimage for the host is now built by a package, so that boot/u-boot/u-boot.mk is no longer responsible for doing this. It makes things a lot easier to handle, as linux/linux.mk now simply depends on host-uboot-mkimage. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: convert to GENTARGETSThomas Petazzoni2011-07-102-149/+74
| | | | | | | | | | | | | The feature of building mkimage for the target is removed, it wasn't building with current U-Boot, and doesn't make a lot of sense (mkimage is needed only to prepare a kernel image, or an U-Boot script). The feature of building mkimage for the host is moved to a proper package. It duplicates a few things (U-Boot URL, etc.) but it makes things a lot cleaner than having it handled by boot/u-boot/u-boot.mk. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* grub2: remove packageThomas Petazzoni2011-07-103-103/+0
| | | | | | | | | | | | | | | | | | | | | Grub 2 has been marked BROKEN in June 2010, and nobody cared to fix it since then. At that time, it was marked broken because the build process needed a Ruby interpreter available on the host, and it's really a pain that building a bootloader needs such a thing. I've tried to upgrade the package to Grub2 1.99-rcX, and now it does not need a Ruby interpreter anymore, but instead requires a tool called "autogen", which itself needs the Guile Scheme interpreter. Since we haven't heard any complaints about Grub2 being marked broken, and since it's such a pain to package, let's get rid of it. Of course, anybody interested in Grub2 is invited to contribute a working package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* grub: convert to AUTOTARGETSThomas Petazzoni2011-07-102-63/+53
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* syslinux: convert to GENTARGETSThomas Petazzoni2011-07-102-38/+26
| | | | | | | | | | | Moreover, the installation of pxelinux and/or isolinux is now handled as suboptions, like we traditionally do for other packages. This allows to have a single option (BR2_TARGET_SYSLINUX) that enables the syslinux package. [Peter: drop basename in install step] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: convert to GENTARGETSThomas Petazzoni2011-07-102-52/+15
| | | | | | | | | | | | | | | | This commit converts the at91dataflashboot bootloader build process to GENTARGETS. It also does the following changes : * As the package directory name is at91dataflashboot, the configuration options and make variables are renamed to AT91DATAFLASHBOOT instead of DATAFLASHBOOT. * Since the board selection in Kconfig wasn't used anywhere, get rid of it. at91dataflashboot is only for AT91RM9200 apparently anyway. [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: convert to GENTARGETSThomas Petazzoni2011-07-101-37/+20
| | | | | | [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: convert to GENTARGETSThomas Petazzoni2011-07-101-36/+32
| | | | | | [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-05-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot 2011.03: fix mkimage build failure when u-boot isn't configuredGustavo Zacarias2011-04-261-0/+27
| | | | | | | | | When mkimage is built without the rest of u-boot (for kernel uImage support), u-boot doesn't get configured for a specific board, so config.h isn't created and the build breaks. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-04-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2011.03 releaseLuca Ceresoli2011-04-242-2/+6
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: fix target build of fw_printenvPeter Korsgaard2011-04-241-7/+3
| | | | | | | | | | | | Closes #3571 The current approach for building fw_printenv for the target fails on some configurations, so use the upstream make target (which works) instead. At the same time get rid of the unneeded stripping. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: remove extra CFLAGS / LDFLAGS handlingPeter Korsgaard2011-04-241-2/+0
| | | | | | | TARGET_CONFIGURE_FLAGS already contain CFLAGS/LDFLAGS, so no point in setting them explicitly. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* grub: fix download URLPeter Korsgaard2011-03-131-1/+1
| | | | | | | | The Debian package snapshot service moved to an official debian.org address last year (http://www.debian.org/News/2010/20100412) with a slightly different URL structure, so adjust the download URL to match. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: drop old 2009.xx versionsPeter Korsgaard2011-02-232-9/+1
| | | | | | | | | | | | | We use 'make tools' to build a mkimage for the host if needed by the kernel (uImage) without having u-boot configured, but that only works since the 2010.03 release: http://git.denx.de/?p=u-boot.git;a=commit;h=c7c0d542a1990 So drop the old 2009.xx versions rather than having the build break for people. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initial support for Blackfin processorsMike Frysinger2011-02-072-0/+6
| | | | | | | [Peter: don't allow MMU on bfin] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add option to build bareboxenv for targetPeter Korsgaard2011-02-062-1/+14
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: use ccache if enabledPeter Korsgaard2011-02-011-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Enable ccache for u-boot compileMartin Hicks2011-02-011-1/+1
| | | | | | | Just needed to pass in ccache as a prefix to the CROSS_TARGET variable. Signed-off-by: Martin Hicks <mort@bork.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-01-061-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: update default helper tools to 2010.12Mike Frysinger2010-12-271-1/+1
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add support for version 2010.12Thomas Petazzoni2010-12-251-1/+5
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add CROSS_COMPILE/ARCH when building host toolsThomas Petazzoni2010-12-161-1/+1
| | | | | | | | | | | | | | | | Even when building the host tools, for some reason U-Boot tries to execute the cross-compiler, so tell it which cross-compiler to use in order to avoid failure such as: /usr/bin/make -j12 -C /home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom tools make[1]: arm-linux-gcc: Command not found make[1]: Entering directory `/home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom' for dir in tools examples api_examples ; do /usr/bin/make -C $dir _depend ; done Generating include/autoconf.mk /bin/sh: line 3: arm-linux-gcc: command not found Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump Barebox to 2010.11Thomas Petazzoni2010-12-161-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add U-Boot 2010.09Thomas Petazzoni2010-12-161-1/+5
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: no board name check when 'make source' is usedThomas Petazzoni2010-12-161-1/+4
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: rename config options for consistencyThomas Petazzoni2010-12-161-5/+5
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: switch to the official versionThomas Petazzoni2010-12-163-106/+358
| | | | | | | | | | | | | | The Buildroot makefile was fetching and building the special AT91Bootstrap of Ulf, which is not the Atmel official version. While Ulf's variant has a better configuration/build system, the Atmel version, as officially supported, is probably a better choice for the future. The Atmel version only needed a small tweak to work with EABI toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>