summaryrefslogtreecommitdiff
path: root/boot
AgeCommit message (Collapse)Author
2014-12-21boot/uboot: bump to version 2014.10Jörg Krause
Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-21boot/uboot/uboot.mk: Strip quotes from BR2_TARGET_UBOOT_SPL_NAMEJörg Krause
Remove the quotes from the BR2_TARGET_UBOOT_SPL_NAME variable. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-21boot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL_NAMEJörg Krause
Point out that the SPL name is an image name. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-21boot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPLJörg Krause
Building an SPL image depends on the board configuration. This option does not enable the SPL build, but only copies the built SPL image to the binary images folder. The current help text is misleading. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-18package: cleanup whitespace of assignmentsJerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-10barebox: bump to version 2014.12.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-07boot/at91bootstrap3: bump to v3.7.1Angelo Compagnucci
Change to use the _defconfig targets of at91bootstrap3 build system when a defconfig is used. [Thomas: adjust to make a better use of at91bootstrap3 defconfig mechanism.] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-22boot/grub: use install instead of cpGuido Martínez
This way we don't depend on the permissions of files under boot/grub/, which aren't tracked. While we're at it, change all 'cp' usages into 'install' with the correct mode for each file. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-06barebox: bump to version 2014.11.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-02unzip: Use the "-q" option to silence unzipping of source filesFabio Porcedda
Add and use the "UNZIP" variable instead of calling directly unzip because the variable contains the "-q" option to silence "unzip" so it doesn't show the list of files extracted just like when tar files are being unpacked. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-26package: indentation cleanupJerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-25boot/grub: update patchlevel, update snapshot.debian.org dateKaroly Kasza
Signed-off-by: Karoly Kasza <kaszak@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-25apply-patches.sh: Use the "APPLY_PATCHES" variable to call the scriptFabio Porcedda
To easy up adding optional parameters when calling the "apply-patches.sh" add and use the "APPLY_PATCHES" variable to execute the script. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-11grub2: modify kernel location to /boot/zImageAlvaro G. M
This is the location where buildroot install the image if requested, so this should be the default search path for the bootloader. Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-07.mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire
The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-04packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_INSTALL_TARGET_OPT into FOO_INSTALL_TARGET_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire
While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-02barebox: bump to version 2014.10.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-05barebox: bump to version 2014.09.0Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-09barebox: bump to version 2014.08.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-31package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-23grub2: add a tip to create disk image w/o root permissionJérôme Pouiller
[Thomas: minor fixes/improvements.] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-16barebox: bump to version 2014.07.0Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-16uboot: bump to version 2014.07Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-15grub2: fix a few minor issues in help textThomas Petazzoni
The help text of grub2 explains the detailed steps to create a disk image with grub2 installed on it. However, the steps for the BIOS-based systems have a few minor issues fixed by this patch: - When calling partx to get the partitions detected, we should do it on the /dev/loop0 block device, and not on the underlying disk.img image file. - The grub-bios-setup utility must be called as root to work properly on /dev/loop0. - The steps to cleanup the partx and loop device were missing. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-02grub2: Specify boot partitionJérôme Pouiller
Since boot partition was not specified, grub tools try to detect it automatically. This patch add an option to force it. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-29at91bootstrap3: bump to v3.6.2Thomas Petazzoni
In preparation to add support for the SAMA5D3 Xplained board, this commit bumps the version of the at91bootstrap3 bootloader to v3.6.2. While doing this, it also: - Allows this bootloader on Cortex-A5 based platforms, since SAMA5D3 are based on Cortex-A5. - Removes a patch that no longer applies, and which has been taken into account in at91bootstrap3 upstream. - Switches to the upstream Github location as the source. - Updates the installation commands to match upstream changes in the installation process. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-29mxs-bootlets: add license informationGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-07barebox: bump to version 2014.06.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-29u-boot: use spl/u-boot-spl.bin as default spl filePeter Korsgaard
Ever since u-boot introduced the generic spl support in u-boot 2012.10, the default spl output file has been spl/u-boot-spl.bin and not u-boot-spl.bin, so use that as a more sane default value. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-20uboot: check various configuration parameters and bail out if emptyThomas Petazzoni
Following the issues reported by Jerry <g4@novadsp.com>, it appears that there are a number of U-Boot configuration variables we are not checking properly, leaving users with weird behavior at build time. This commit extends the existing U-Boot checks to verify that when a custom version, custom tarball, or custom Git or Mercurial repositories are selected, the appropriate fields are not empty in the configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-12barebox: bump to version 2014.05.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-03boot/syslinux: install in a sub-dir of $(BINARIES_DIR)Yann E. MORIN
Since syslinux can now install quite a number of files, install them in a sub-directory of $(BINARIES_DIR) for clarity. It also aligns it to rpi-firmware, grub2, gummiboot, that install all of their files in a sub-dir of $(BINARIES_DIR), too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-03boot/syslinux: add option to install c32 modulesYann E. MORIN
[Peter: reworded comment slightly] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-03boot/syslinux: add an option to install a MBR blobYann E. MORIN
This MBR blob will look for an active partition, and boot the bootcode present in that partition. This can be used to boot an extlinux-prepared partition. 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>
2014-05-03boot/syslinux: add option to install the EFI imageYann E. MORIN
syslinux can now also build an EFI application. If the target is 64-bit, we build the 64-bit EFI app, otherwise we build the 32-bit EFI app. 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>
2014-05-03boot/syslinux: bump versionYann E. MORIN
This new version has a very, very weird build system. There are different images that syslinux can now build: - the plain legacy-bios images we already supported previously - two new EFI32 and EFI64 applications To build one or the other, the Makefile accepts one or more of: make (bios|efi32|efi64) Specify all of them, and it builds all. Specify 'install', and it installs all of them, as one may expect. Still a regular behaviour, is to build only a subset (down to one): make bios <-- builds just the legacy-bios images make efi32 bios <-- builds just the legacy-bios and efi32 images Where it gets weird is the install procedure. Can you guess how it's done? Hint: the syslinux guys have invented the multiple-argument parsing in pure Makefiles. To build then install only the bios images, one would do: make bios make bios install Yep, that's it. make bios install. Two arguments, one action. That makes for some funky workarounds in our install procedure... 'bios' is the only image we support so far, with efi to come in a future patch. Using MAKE1, as there are issues with highly-parallel builds. 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>
2014-05-03boot/syslinux: move comments out of define-blockYann E. MORIN
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>
2014-05-03boot/syslinux: rewrite options promptsYann E. MORIN
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>
2014-05-03boot/syslinux: make the sub-options a choiceYann E. MORIN
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>
2014-05-03boot/syslinux: prepare to install non-core imagesYann E. MORIN
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>
2014-05-03boot/syslinux: needs an ia32-capable compilerYann E. MORIN
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>
2014-04-26uboot: bump to version 2014.04Alexey Brodkin
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>
2014-04-20grub2: add a configuration option to embed a config fileDima Zavin
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>
2014-04-20syslinux: remove host variantThomas Petazzoni
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>
2014-04-20syslinux: install helper programs to the hostFrank Hunleth
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>
2014-04-11barebox: bump to version 2014.04.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-27barebox: fix coding styleFabio Porcedda
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>
2014-03-25uboot: unbreak legal info for legacy versionsPeter Korsgaard
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>