summaryrefslogtreecommitdiffstats
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* boot/syslinux: allow build on x86_64Heiko Zuerker2010-11-291-1/+1
| | | | | | Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox/u-boot/linux: don't error out on missing config when make sourcePeter Korsgaard2010-09-282-2/+6
| | | | | | As it breaks 'make allyesconfig; make source', used for the source mirror. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: pass ARCH/CROSS_COMPILE when running make <board>_configPeter Korsgaard2010-09-271-1/+2
| | | | | | Gets rid of a bunch of (ignored) errors about missing cross compiler. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: fix custom patch handlingThomas Petazzoni2010-07-291-1/+1
| | | | | | | | | | | | | | | | When U-Boot is enabled and no custom patch directory has been set, then the current test: ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),"") works. However, when U-Boot is not enabled, but still gets compiled because mkimage is needed to build the kernel, BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR is completely empty. It does not even have quotes. So the test in fact needs to be: ifneq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: fix custom patch dir handlingOssy2010-07-261-2/+2
| | | | | Signed-off-by: Ossy <ossy1980@gmx.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add Marvell u-boot.kwb supportPeter Korsgaard2010-07-262-1/+19
| | | | | | | | Marvell boards like the sheevaplug needs a special .kwb image format, so add an option for it similar to how we handle zImage/uImage/.. for the kernel. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: fix version detection and get rid of unneeded double CFLAGS/LDFLAGSPeter Korsgaard2010-07-141-3/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Thomas Petazzoni2010-07-072-6/+6
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: add 2010.06 releasePeter Korsgaard2010-07-052-5/+12
| | | | | | | | | | A few minor modifications of u-boot.mk is needed to support 2010.06: - U-Boot now uses ARCH=powerpc like the kernel (instead of ARCH=ppc) - Library files have moved, so adjust the target mkimage/fw_printenv rules (still compatible with older versions) Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix u-boot 2010.03 build for AVR32 targetsThiago A. Correa2010-06-231-0/+5
| | | | | Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: fix patch targetPeter Korsgaard2010-06-141-1/+2
| | | | | | | Touch destination file so the patch target isn't rerun for every invocation. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: add help textPeter Korsgaard2010-06-141-0/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: don't depend on BR .configPeter Korsgaard2010-06-141-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for the Barebox bootloaderThomas Petazzoni2010-06-123-0/+76
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: add two patchesThomas Petazzoni2010-06-122-0/+65
| | | | | | | | The first patch allows to build with an EABI toolchain. The second patch disables the install step of at91dataflashboot Makefile since it tries to copy files to /tftpboot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: add a patch stepThomas Petazzoni2010-06-121-1/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: various fixesThomas Petazzoni2010-06-121-8/+6
| | | | | | | Fix the URL, fix the directory to which it gets unpacked, fix make target names to be lower-case only. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: fix configuration optionsThomas Petazzoni2010-06-121-4/+6
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: fix AT91BOOTSTRAP_BINARYThomas Petazzoni2010-06-121-5/+1
| | | | | | | Use AT91BOOTSTRAP_BOARD instead of BOARD_NAME. Remove AT91BOOTSTRAP_VERSION from the final binary image name. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: fix install procedureThomas Petazzoni2010-06-121-5/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>