aboutsummaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* u-boot: fix custom patch handlingGravatar Thomas 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 handlingGravatar Ossy2010-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 supportGravatar Peter 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/LDFLAGSGravatar Peter Korsgaard2010-07-141-3/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Gravatar 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 releaseGravatar Peter 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 targetsGravatar Thiago 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 targetGravatar Peter 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 textGravatar Peter Korsgaard2010-06-141-0/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: don't depend on BR .configGravatar Peter Korsgaard2010-06-141-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for the Barebox bootloaderGravatar Thomas Petazzoni2010-06-123-0/+76
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: add two patchesGravatar Thomas 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 stepGravatar Thomas Petazzoni2010-06-121-1/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: various fixesGravatar Thomas 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 optionsGravatar Thomas Petazzoni2010-06-121-4/+6
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: fix AT91BOOTSTRAP_BINARYGravatar Thomas 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 procedureGravatar Thomas Petazzoni2010-06-121-5/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: don't use the ATMEL_MIRROR thingGravatar Thomas Petazzoni2010-06-121-2/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: bump version to 2.13Gravatar Thomas Petazzoni2010-06-121-4/+2
| | | | | | | At the same time, remove the unused AT91BOOTSTRAP_PATCH_LEVEL and AT91BOOTSTRAP_PATCHED_VERSION variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is setGravatar Thomas Petazzoni2010-06-121-0/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: remove unused/useless codeGravatar Thomas Petazzoni2010-06-121-12/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: fix incorrect config option commentGravatar Thomas Petazzoni2010-06-121-4/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: fix the boot source selectionGravatar Thomas Petazzoni2010-06-121-6/+0
| | | | | | | | The boot source configuration options were depending on U-Boot configuration options. Let's make it independent and just allow the user to select whichever boot source is appropriate. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: simplify configurationGravatar Thomas Petazzoni2010-06-121-8/+0
| | | | | | | | There no need to depends on BR2_TARGET_AT91BOOTSTRAP when the configuration options are already inside a if BR2_TARGET_AT91BOOTSTRAP. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap: do not default to $(BOARD_NAME)Gravatar Thomas Petazzoni2010-06-121-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: depends on host-nasmGravatar Thomas Petazzoni2010-06-121-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: remove the unnecessary SYSLINUX_SUPPORTED_ARCH checkGravatar Thomas Petazzoni2010-06-121-20/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: bump version and fix buildGravatar Thomas Petazzoni2010-06-123-24/+34
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: only available on x86 and PowerPC and mark as BROKENGravatar Thomas Petazzoni2010-06-121-0/+5
| | | | | | | | | | | | | The build process of grub2 breaks the compilation. It breaks with: ./configure: line 4766: syntax error near unexpected token `external' ./configure: line 4766: `AM_GNU_GETTEXT(external)' In addition to this, it later requires Ruby. Do we really want to make Buildroot depend on Ruby being installed on the host ? Do we really want to build our own Ruby ? Do we even care about Grub2 ? Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: remove non-existing optionsGravatar Thomas Petazzoni2010-06-122-36/+0
| | | | | | | | Much of the grub2.mk seems to have been copy/pasted from grub.mk. However, all the network/splashimage related ./configure options do not exist in grub2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: fix buildGravatar Thomas Petazzoni2010-06-122-45/+27
| | | | | | | | grub2 now builds fine, but some work remains to make it usable. What should be installed exactly in the TARGET_DIR ? What is the installation procedure and what should Buildroot do ? Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: bump versionGravatar Thomas Petazzoni2010-06-121-4/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub/grub2: update splash image locationGravatar Thomas Petazzoni2010-06-122-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub/grub2: drop unnecessary dependency on uclibcGravatar Thomas Petazzoni2010-06-122-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: remove GRUB2_ARCH_SUPPORTEDGravatar Thomas Petazzoni2010-06-121-19/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub: remove GRUB_SUPPORTED_ARCHGravatar Thomas Petazzoni2010-06-121-19/+0
| | | | | | | grub can already only be selected for x86 and x86_64. No need to check again for this in grub.mk. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: use BR2_TARGET_UBOOT_VERSION instead of BR2_UBOOT_VERSIONGravatar Thomas Petazzoni2010-06-122-2/+2
| | | | | | In order to be coherent with all other BR2_TARGET_UBOOT_* options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: beautify option promptsGravatar Thomas Petazzoni2010-06-121-5/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: re-add infrastructure to specify custom tarballGravatar Thomas Petazzoni2010-06-122-4/+23
| | | | | | | | | | | | | | | | | The bootloader being very specific to the hardware, being able to build U-Boot from an arbitrary tarball available on the web might be needed. Therefore, for U-Boot, we provide two methods : * Get a given stable version from U-Boot official FTP server * Get an arbitrary tarball This should hopefully satisfy most needs, without complicating too much the U-Boot build procedure on Buildroot side. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: add a few commentsGravatar Thomas Petazzoni2010-06-121-0/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove unused U_BOOT_TARGET_TOOLS variableGravatar Thomas Petazzoni2010-06-121-2/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: further simplify the configurationGravatar Thomas Petazzoni2010-06-122-352/+8
| | | | | | | | | | | Remove all the bootsource selection mechanism and the horribly complicated BR2_TARGET_UBOOT_DEFAULT_ENV thing, which wanted to be generic, but was in fact very AT91-specific. Just keep things simple: we build U-Boot with the board configuration file specified in BR2_TARGET_UBOOT_BOARDNAME. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: support building for mkimageGravatar Thomas Petazzoni2010-06-121-7/+21
| | | | | | | | | | | | | | | | | | | | | To build mkimage for the host (which is needed to build an uImage of the kernel), it is not necessary to configure U-Boot, and therefore to have a particular board selected. Therefore, this commit: * Adds a verification at U-Boot configure step that a U-Boot board name has been defined * Sets a default U-Boot version if none has been specified, so that even when U-Boot isn't selected but we want to build mkimage for the host, a particular U-Boot version is picked. * Make the host mkimage target depend only on U-Boot being downloaded/extracted/patched, and the target mkimage/fw_printenv targets depend on U-Boot being fully configured. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove useless symbolic linkGravatar Thomas Petazzoni2010-06-101-4/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove patch for obsolete versionGravatar Thomas Petazzoni2010-06-101-13/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: simplify custom patch handlingGravatar Thomas Petazzoni2010-06-102-11/+8
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove reference to old 1.2.0-atmel versionGravatar Thomas Petazzoni2010-06-101-4/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove u-boot-status make targetGravatar Thomas Petazzoni2010-06-101-15/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove arch specific patches infrastructureGravatar Thomas Petazzoni2010-06-101-2/+0
| | | | | | | | A very complicated infrastructure for just a special case, for an ancient version of U-Boot. Recent versions of U-Boot are reported to work just fine on Atmel ARM evaluation boards. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: remove option to configure download siteGravatar Thomas Petazzoni2010-06-102-5/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>