summaryrefslogtreecommitdiffstats
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* boot/syslinux: move comments out of define-blockYann E. MORIN2014-05-031-2/+2
| | | | | | | | | | The comments are not really part of the command we want to execute, so move them out of the define-block. This also cleans up the output, as they will no longer appear. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/syslinux: rewrite options promptsYann E. MORIN2014-05-031-3/+9
| | | | | | | | | | | | | Rewrite the options prompt in preparation to adding a new type of image to install. Add help entries to each option, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/syslinux: make the sub-options a choiceYann E. MORIN2014-05-031-2/+5
| | | | | | | | | | | | | | | | | | | Currently it is possible to choose either, both or none of the pxelinux or isolinux images. But it does not make sense to build none or both, as we need at least one to boot the target, and the target can not use more than one. So, we need one and only one image to be selected at once. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Lundquist <thomasez@redpill-linpro.com> Cc: Frank Hunleth <fhunleth@troodon-software.com> Cc: Arnout Vandecappelle <arnout@mind.be> Tested-by: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/syslinux: prepare to install non-core imagesYann E. MORIN2014-05-031-3/+3
| | | | | | | | | | | | | | | | | | Currently, we hard-code the path to the images we install, and expect them to be from the core/ sub-dir. Not all images we can install are located in core/. For example, the efi boot images (to come later) are not located in core/. Prepare the upcoming installation of extlinux by not expecting images be in core/. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Lundquist <lists@zelow.no> Cc: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/syslinux: needs an ia32-capable compilerYann E. MORIN2014-05-031-0/+1
| | | | | | | | | | | | The pxelinux and isolionux images are 32-bit binaries, so we need a compiler that can generate them (ie. a compiler that understands -m32). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Frank Hunleth <fhunleth@troodon-software.com> Cc: Arnout Vandecappelle <arnout@mind.be> Tested-by: Frank Hunleth <fhunleth@troodon-software.com> Tested-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: bump to version 2014.04Alexey Brodkin2014-04-261-2/+2
| | | | | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: add a configuration option to embed a config fileDima Zavin2014-04-202-0/+10
| | | | | | | Add an option for embedding a config file directly in grub. Signed-off-by: Dima Zavin <dmitriyz@google.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: remove host variantThomas Petazzoni2014-04-201-10/+0
| | | | | | | | | | | The host variant of syslinux wasn't exposed anywhere, so the only way to use it was to know that a "host-syslinux" target existed. Moreover, thanks to commit 8e0d4118982ae5a29e462f0a476d82772459cf5c ('syslinux: install helper programs to the host'), the host utilities of syslinux are automatically installed to $(HOST_DIR) when building the target syslinux. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: install helper programs to the hostFrank Hunleth2014-04-201-1/+6
| | | | | | | | | | Even though syslinux is built for the target, it does create helper programs intended to be run on the host such as syslinux and extlinux. This change installs these helper programs to the host so that they may be called by post image creation scripts. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2014.04.0Fabio Porcedda2014-04-111-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: fix coding styleFabio Porcedda2014-03-271-13/+19
| | | | | | | | | As stated in the buildroot user manual add just a single space before and after a '=' sign. Break long lines. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: unbreak legal info for legacy versionsPeter Korsgaard2014-03-251-0/+10
| | | | | | | | | | | | Fixes #6986 Prior to u-boot 2013.10, the GPL license text was stored in COPYING and not Licenses/gpl-2.0.txt, breaking legal-info. Work around it by simply copying the file from the old location to the new if present. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot-wrapper-aarch64: bump version and switch to autotools-packageThomas Petazzoni2014-03-211-10/+28
| | | | | | | | | This commit updates boot-wrapper-aarch64 to the latest version. As it now uses the autotools, we switch the package to the autotools-package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: mark custom network settings as deprecatedPeter Korsgaard2014-03-181-0/+1
| | | | | | As discussed on the the mailing list. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2014.03.0Fabio Porcedda2014-03-071-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gummiboot: new packageThomas Petazzoni2014-02-195-0/+77
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: add new packageThomas Petazzoni2014-02-195-0/+236
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2014.02.0Fabio Porcedda2014-02-101-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: bump to version 2014.01Gustavo Zacarias2014-01-212-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2014.01.0Fabio Porcedda2014-01-131-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: bump to 0.97-67Thomas Petazzoni2014-01-074-2887/+475
| | | | | | | | | | Bump to a more recent version of the Debian patches for grub legacy, that fix an incorrect build with gcc 4.6. Fixes #6092 and #2629. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the empty trailing line(s)Jerzy Grzegorek2014-01-042-4/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: add web reference that documents how to generate a splashimageThomas Petazzoni2013-12-311-2/+4
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* grub: align splashscreen handling with iso9660 codeThomas Petazzoni2013-12-312-5/+17
| | | | | | | | This commit aligns the Grub handling of the splash screen with what is done in the ISO9660 code. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* grub: really disable splash screen supportThomas Petazzoni2013-12-291-1/+2
| | | | | | | | | | | | | When BR2_TARGET_GRUB_SPLASH is enabled, we were passing --enable-graphics, but when it was disabled, we were not doing anything. However, in Grub, graphics support is enabled by default, and you have to pass --disable-graphics to disable it. Fix this by passing --enable-graphics or --disable-graphics as appropriate. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* grub: replace string option for filesystem selection by booleansThomas Petazzoni2013-12-292-19/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 1cece2813bf635ae29e9a8287322439b9c5992f7 (grub: add option to configure the list of supported filesystems), we introduced the BR2_TARGET_GRUB_FS_SUPPORT option which allows to provide a space-separated list of filesystems that Grub should support. However, it turns out that this not very practical, because the iso9660 filesystem logic in Buildroot should force the ISO9660 support to be enabled in Grub, which is not easy to do with a string option. Therefore, this patch changes this option from a string option to a list of boolean option, one per filesystem supported. A few useful details: - Since Grub legacy is dead, the list of filesystem, and therefore the number of options, will not grow. - We have only added options for filesystems that are likely to be used in an embedded Linux context. Filesystems such as VSTAfs, Minix, UFS2 or FFS2 are not supported. - There is no need to add some Config.in.legacy support for the previous option, since it was added after Buildroot 2013.11, and was therefore never part of an official Buildroot release. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* grub: enclose network driver options in a sub-menuThomas Petazzoni2013-12-291-0/+4
| | | | | | | | | In preparation to a change to the configuration options of the supported filesystem in Grub, enclose the network driver options in a sub-menu. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* Config.in files: use if/endif instead of 'depends on' for main symbolThomas De Schampheleire2013-12-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: unification of comments about dependency on Linux kernelThomas De Schampheleire2013-12-151-0/+4
| | | | | | | | | This patch lines up the comments of packages that need a Linux kernel to be built by buildroot, to the format: foo needs a Linux kernel to be built Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: support -r option for mkenvimageSimon Dawson2013-12-122-0/+15
| | | | | | | | | Some boards are configured in u-boot to store multiple redundant copies of the environment image in flash. For these boards, it is required to pass the -r flag, when generating a boot environment image using mkenvimage. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove package clean commandsThomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2013.12.0Fabio Porcedda2013-12-061-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: force -m32 so we build grub 32 bits on 64 bits architectureThomas Petazzoni2013-12-041-1/+1
| | | | | | | | | | | | | | As reported by Matthew Weber, Grub doesn't build on 64 bits build machines, because the host compiler produces 64 bits binaries by default, while Grub should be built 32 bits. Therefore, this commit passes -m32 to the Grub CFLAGS, so that 32 bits binaries are always produced. Reported-by: Matthew Weber <mlweber1@rockwellcollins.com> Cc: Matthew Weber <mlweber1@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Matthew Weber <mlweber1@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: improve help text with detailed instructions to install grubThomas Petazzoni2013-12-011-0/+30
| | | | | | | | | These instructions should probaby go in the Buildroot manual, but at this point, it's not clear in which section they should go. So in order to not loose those notes, add them to the Grub help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: add option to configure the list of supported filesystemsThomas Petazzoni2013-12-012-1/+24
| | | | | | | | | | | | | | | | | | | | | | Grub can be configured to enable or disable the filesystems supported in the stage 2. In addition, there are filesystem specific stage 1.5. In order to save space and build time, we provide a new option that allows to give a space-separated list of filesystems that Grub should support. We default to support FAT and ext2, since most of the other filesystems are fairly unlikely to be used. We use this option to: 1) Pass --enable-<fs> or --disable-<fs>, which enables/disables the support of <fs> in Grub stage 2. 2) Install only the stage 1.5 that correspond to the selected filesystems. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: adjust splashimage in menu.lst depending on configurationThomas Petazzoni2013-12-012-1/+2
| | | | | | | | Make the splashimage line in menu.lst only active when splashimage support has really been enabled in the Grub configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: install the sample menu.lst into $(TARGET_DIR)/boot/grubThomas Petazzoni2013-12-011-0/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: sample menu.lst file improvementsThomas Petazzoni2013-12-011-1/+1
| | | | | | | | | | | | | | Two improvements to the menu.lst file: * Do not enforce any video mode, let the kernel use whatever it wants as the default, or let the user customize it when needed. * Use /dev/sda1 instead of /dev/hda1. Nowadays, most hard disk controllers are handled using libata, and therefore the disks are visible as /dev/sd<X>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: replace splash screen with a nicer Buildroot splash screenThomas Petazzoni2013-12-011-0/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: support build on x86-64, and misc other improvementsThomas Petazzoni2013-12-012-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit brings a number of improvements to the grub packaging: * It builds grub with the host compiler, which is needed so that we can build a 32 bits grub even if the target architecture is x86-64. To make sure we have a host compiler capable of generating 32 bits code, grub now selects the BR2_HOSTARCH_NEEDS_IA32_COMPILER option. Building with the host compiler is done by cheating and passing $(HOST_CONFIGURE_OPTS) in GRUB_CONF_ENV. * Some additional CFLAGS are added to make sure grub builds properly with modern compilers (-O0, --build-id=none, -fno-stack-protector). * Removal of the GRUB_INSTALL_STAGING_CMDS which were not used, since GRUB_INSTALL_STAGING was not set to YES. * Installation of the "grub" binary in $(HOST_DIR) instead of $(TARGET_DIR) since it's actually used only on the host to install grub into an image or device. * Removal of the grub uninstall commands, since they are generally considered useless. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub: factorize BR2_TARGET_GRUB dependency in Config.inThomas Petazzoni2013-12-011-23/+4
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2013.11.0Fabio Porcedda2013-11-131-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: whitespace cleanupThomas De Schampheleire2013-11-113-13/+13
| | | | | | | | | | This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux/uboot: line-up repository-related configuration optionsThomas De Schampheleire2013-10-271-16/+16
| | | | | | | | | Although the configuration options for custom repository locations and versions are very similar between the linux and uboot packages, there are some minor differences. This patch lines up both packages. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: add support for custom Mercurial repositoryThomas De Schampheleire2013-10-272-8/+20
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Remove redundant dollar signs in Config.in filesThomas De Schampheleire2013-10-262-4/+4
| | | | | | | | | | | | | | | Some Config.in(.host) files have constructs like: config FOO_VERSION string default "1.0" if FOO_1_0 default "2.0" if FOO_2_0 default $FOO_CUSTOM_VERSION if FOO_CUSTOM The dollar sign here is not needed and confusing, so can be removed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: bump to version 2013.10Gustavo Zacarias2013-10-221-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2013.10.0Fabio Porcedda2013-10-071-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: add option for Freescale u-boot.imx formatPeter Korsgaard2013-09-262-0/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* syslinux: bump to version 4.07Romain Naour2013-09-111-1/+1
| | | | | Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud