summaryrefslogtreecommitdiff
path: root/boot
AgeCommit message (Collapse)Author
2015-06-14boot/at91bootstrap3: download via custom git urlAngelo Compagnucci
This patch adds the option to download at91bootstrap3 from a custom git URL. This is a requirement for all that boards that use a custom at91bootstrap3 version. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-14boot/at91bootstrap3: bump to version 3.7.2Angelo Compagnucci
This patch bumps at91bootstrap3 version to 3.7.2 Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-14boot/at91bootstrap3: add license informationAngelo Compagnucci
This patch adds licensing informations to at91bootstrap3 [Thomas: - change from "BSD-2c with endorsement clause" to "Atmel License", because the license of AT91Bootstrap is neither a BSD-2c nor a BSD-3c: it does not carry the second clause of the BSD-2c or BSD-3c licenses giving the condition of redistribution of the binary form.] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-14grub2: prepare and install El Torito imageThomas Petazzoni
In order to support ISO9660 bootable images that rely on Grub 2, this commit modifies thr Grub 2 makefile to generate and install an El Torito image. Such an image is simply produced by concatenating the cdboot.img provided by Grub 2, and the Grub 2 image generated by Buildroot using grub-mkimage. Since this action is so simple and cost-free, we don't bother adding a Grub 2 sub-option for that, and simply generate the El Torito image unconditionally. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-06-04barebox: bump to version 2015.05.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-06-02boot/uboot: remove deprecated network settings optionGustavo Zacarias
It's been deprecated since the 2014.05 release, so a year has passed. Add legacy info as well to raise a warning when it's used. [Peter: Remove entire config.h fixup handling] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-21barebox: add option to specify config fragmentsFloris Bos
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-04barebox: unbreak custom patch handling after 0eba4759 (packages: apply ↵Peter Korsgaard
custom patches using *.patch instead of <pkg>-*.patch) The commit accidently dropped the continuation character (\), breaking the logic. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-04barebox: bump to version 2015.04.0 and add hash fileFabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-02boot/mxs-bootlets: do not check hash of custom tarballYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-02boot/barebox: do not check hash for custom versionsYann E. MORIN
As we recently did for U-Boot, disable checking hashes for custom versions of barebox. Note that we currently have no hash file for barebox, but avoiding the check will already be in place when we do add it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-02boot/uboot: do not check hash for custom versionsYann E. MORIN
For custom tarballs, it's quite obvious we can not check hashes. For custom versions, that's not so obvious. One might think we could have hashes for all the official releases, but that's not possible: if the user uses a released version of Buildroot (say 2015.05) much later in the future, and wants to use the then-released 2038.02 U-Boot. It now seems pretty obvious that Buildroot 2015.02 can't know the hash for U-Boot 2038.02. So, disable checking the hash for custom tarballs and custom versions. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Vincent Stehle <vincent.stehle@laposte.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-01boot/gummiboot: switch to http for git cloneYann E. MORIN
The git:// protocol may not go through conservative corporate firewalls. Use http, that goes out through about anything. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-26packages: refactor checks using BR_BUILDINGThomas Petazzoni
Instead of manually testing MAKECMDGOALS, use the newly introduced BR_BUILDING variable to know if we're building or not. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-04-19uboot: deprecate BR2_TARGET_UBOOT_CUSTOM_PATCH_DIRFrank Hunleth
Users should use BR2_TARGET_UBOOT_PATCH instead. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-19uboot: add support for patch files and URLsFrank Hunleth
The existing u-boot patch option only allowed directories to be specified. This adds support for URLs using similar code as found in linux/linux.mk. Local files are also handled now. This change is useful for Intel Edison support, so that Intel's u-boot patch can be downloaded rather than stored in the Buildroot source tree. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-19boot/uboot: add hash fileJörg Krause
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-19boot/uboot: bump to version 2015.04Jörg Krause
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-08Fix typos in comment blocksMasahiro Yamada
[Thomas: fix issues noticed by Arnout: - Rewrap the linux/Config.in paragraph - Revert the "is a toolchain dependency" -> "has a toolchain dependency" change from pkg-generic.mk, as the original was correct.] Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-06at91bootstrap3: make sure AT91BOOTSTRAP3_KCONFIG_FILE is always definedThomas Petazzoni
For some (silly?) reason, the kconfig-package infra always wants <pkg>_KCONFIG_FILE to be defined. So let's do like barebox does: use a temporary AT91BOOTSTRAP3_SOURCE_CONFIG variable, and assign it to AT91BOOTSTRAP3_KCONFIG_FILE. This way, the latter is always defined, even if to the empty value. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-06boot/at91bootstrap3: migrate to pkg-kconfigMauro Condarelli
In at91bootstrap3, defconfig files are spread out in various sub-directories, so we can't easily construct the path to those defconfig files. As it turns out, there are no two defconfig files named the same; they all contain at least the board name, plus some extra info. And there is always only one directory depth below board/ where all defconfig files are to be found. Also, at91bootstrap3's own Makefile relies on this single-match as it runs a 'find' command to locate the defconfig file. So, even though we do not know the path to the defconfig file, we can construct a shell-glob quite easily (in the hope that there will never be more than one directory depth). Signed-off-by: Mauro Condarelli <mc5686@mclink.it> [yann.morin.1998@free.fr: - remove custom _CONFIGURE_CMDS, handled by pkg-kconfig (Thomas) - remove redundant intermediate variable - fix using internal defconfig files ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-06packages: apply custom patches using *.patch instead of <pkg>-*.patchThomas Petazzoni
Several packages have some logic to apply custom patches that existed before the BR2_GLOBAL_PATCH_DIR mechanism: at91bootstrap, at91bootstrap3, barebox, uboot and linux. Currently, the logic of those packages to apply custom patches is to match <package-name>-*.patch, which is not consistent with what we've done for patches stored in the package directory, and for patches stored in BR2_GLOBAL_PATCH_DIR: in such cases, we simply apply *.patch. Therefore, for consistency reasons, this commit changes these packages to also apply *.patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-04-03boot/uboot: add support for i.MX28 SD formatVincent Stehlé
Allow to generate u-boot.sd, Freescale i.MX28 SB format with a header for booting from an SD card. U-boot includes an mxsboot tool to generate this format, starting from v2011.12. See u-boot doc/README.mxs (or doc/README.mx28_common before 2013.07). [Arnout: - Wrap Config.in help text at 72 columns. - Remove v from U-Boot version specifier. - Refer to different README name before 2013.07. - Depend on host-elftosb - Add comment to clarify sb -> sd conversion.] Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com> Tested-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-01boot/gummiboot: drop largefile dependsGustavo Zacarias
Drop the buildroot toolchain non-largefile support option since it's being removed. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-31packages: indentation cleanupJerzy Grzegorek
This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-04boot/syslinux: bump version to 6.03Romain Naour
Since 6.03 syslinux release, the gnu-efi sources are bundled whith syslinux. We need to force the build system to use the Buildroot's gnu-efi package. Remove the patch for find-gnu-efi.sh script which was removed, as well as the SYSROOT variable from the BUILD_CMDS, which is no longer needed. There are still some parallel build issues, so MAKE1 can't be removed for now. Add a hash file. Fix indentation. [Thomas: fix minor typos in a new comment in the .mk file.] Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-04barebox: fix compilation on x86-64 architectureLahoudere Fabien
Barebox uses KERNEL_ARCH to derive BAREBOX_ARCH, but doesn't currently handle the case of the x86-64 architecture. In this case KERNEL_ARCH is x86_64, but BAREBOX_ARCH should be x86 nonetheless. Signed-off-by: Fabien Lahoudere <fabienlahoudere.pro@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-03grub2: add hashGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-03grub: add hashGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-03syslinux: add hashGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-14barebox: migrate to the kconfig infrastructureThomas De Schampheleire
[Thomas: - use $(BAREBOX_DIR) instead of $(@D) when defining BAREBOX_SOURCE_CONFIG, because $(@D) has no value at this point since we're outside of a make rule. This was causing Barebox to be constantly rebuilt, since the defconfig path was not a full path, it was looking like: '/arch/arm/configs/tegra_v7_defconfig'. The solution of using $(BAREBOX_DIR) has been used to mimic was is done in the linux package, which uses $(LINUX_DIR).] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: "Yann E. Morin" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-14barebox: qstrip the path to the custom configuration fileThomas De Schampheleire
Even though this is not strictly necessary with the current version of barebox.mk, it becomes necessary when migrating barebox.mk to the kconfig infrastructure. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: "Yann E. Morin" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03bootlader/grub2: disable x86-64-efi choice on !BR2_ARCH_IS_64Samuel Martin
When x86-64-efi platform is selected, grub2 automatically adds -m64 to the CFLAGS. This makes the configure script failed when the toolchain does not have multilib support (like the Buildroot ones). Reported-by: Noe Rubinstein <nrubinstein@aldebaran-robotics.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-02barebox: bump to version 2015.02.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-31boot/uboot: bump to version 2015.01Jörg Krause
Though U-Boot introduced a Kconfig and Kbuild build system with version 2014.10 the old build commands with <board>_config are still supported. Tested with BR2_TARGET_UBOOT_BOARDNAME="m28evk" Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-28barebox: bump to version 2015.01.0Fabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-10boot/uboot: Remove obsolete CONFIG_NOSOFTFLOAT flagJörg Krause
This flag seems to be obsolete. There is no piece of code in the U-Boot source tree referencing CONFIG_NOSOFTFLOAT. Unfortunatly the use of this flag is not documented here. Maybe it's about this old workaround: http://lists.denx.de/pipermail/u-boot/2007-March/020282.html However, this patch has been declined: http://www.denx.de/wiki/view/U-Boot/PatchStatus?rev=1.27 Since no other configure options are used, remove also UBOOT_CONFIGURE_OPTS. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>