aboutsummaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* barebox: bump to version 2016.06.0Gravatar Fabio Porcedda2016-06-232-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mxs-bootlets: add hash fileGravatar Yann E. MORIN2016-06-191-0/+2
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/at91dataflashboot: add hash fileGravatar Yann E. MORIN2016-06-191-0/+2
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/at91bootstrap: add hash fileGravatar Yann E. MORIN2016-06-191-0/+2
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: really disable liblzmaGravatar Gilles Chanteperdrix2016-06-151-1/+1
| | | | | | | | | | | | There is no option --enable-liblzma=no in grub2's configure script, so the only way to disable liblzma support is to pass ac_cv_lib_lzma_lzma_code=no. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: expand commit log, as suggested by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: Use "mdbtrick" target when building elf for ARCGravatar Zakharov Vlad2016-06-121-0/+4
| | | | | | | | | | | | | | | | By default position independent executables (PIE) are generated when building U-Boot elf target. MetaWare debugger doesn't support PIE (position-independent executable). In order to allow MDB load and run U-Boot elf, we need to do a special trick, called "mdbtrick". This special build target is used to fake generated U-Boot elf by: 1. Reset PIE flag in ELF header 2. Strip all debug information from elf Signed-off-by: Zakharov Vlad <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/barebox: use the generic help rulesGravatar Yann E. MORIN2016-06-071-0/+5
| | | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: don't use the helper.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Gravatar Peter Korsgaard2016-06-019-13/+72
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * uboot: Support multiple environment source filesGravatar Cam Hutchison2016-05-312-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow multiple file names to be listed in BR2_TARGET_UBOOT_ENVIMAGE_SOURCE, concatenating them in the order listed. This allows the bulk of the environment to be shared across multiple boards using a common environment file with board-specific values supplied in a secondary environment source file. Signed-off-by: Cam Hutchison <camh@xdna.net> [Thomas: adjust indentation in the .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * boot: add s500-bootloader packageGravatar Peter Korsgaard2016-05-264-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first level bootloader for the Actions Semiconductor S500 SoC, which is used on boards like Roseapple Pi and LeMaker Guitar. The bootloader performs basic configuration and chain loads u-boot for futher setup. This bootloader is unfortunately only available as a binary blob. It gets configured for a specific board using a binary (32bit x86) tool based on a .ini file (somewhat similar to sunxi .fex). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * boot/uboot: bump to version 2016.05Gravatar Fabio Estevam2016-05-162-3/+3
| | | | | | | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * barebox: bump to version 2016.05.0Gravatar Fabio Estevam2016-05-112-5/+5
| | | | | | | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | boot/uboot: fix missing host-openssl for i.MX28 targetGravatar Julien Boibessot2016-05-251-4/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | Building an U-Boot image for the i.MX23 or i.MX28 target requires to run the bootloaders 'mxsimage' tool on the host. As mxsimage needs unconditionally OpenSSL, building U-Boot for those targets fails if it is not available on the host: tools/mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory #include <openssl/evp.h> Add the required dependency 'host-openssl' to all the different U-Boot image types used to build a bootloader image for an i.MX23/i.MX28 target. Also pass HOST_CFLAGS and HOST_LDFLAGS to the U-Boot build process so the right -I/-L options will be used to find OpenSSL. Ported from the Armadeus project: https://sourceforge.net/p/armadeus/mailman/message/33595402/ Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> [Jörg: port to recent Buildroot version] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: add an option to embed environment imageGravatar Yegor Yefremov2016-05-063-0/+43
| | | | | | | | | | | | | | | | | Barebox provides an option to embed a custom environment image into barebox binary. This image will be used, when the environment found in the environment sector is invalid. Both embedded and external images can be used together, so having both options at the same time is justified. This patch sets barebox Kconfig option CONFIG_DEFAULT_ENVIRONMENT_PATH to user specified path. This way one can use such BR's variables like BR2_EXTERNAL, TOPDIR etc. to provide paths to custom environment folders. Cc: Pieter Smith <pieter@boesman.nl> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: ensure u-boot-dtb.img gets built if enabledGravatar Peter Korsgaard2016-05-051-0/+1
| | | | | | | | | | | | | | u-boot-dtb.img only gets built by default (all target) if CONFIG_OF_SEPARATE _AND_ CONFIG_SPL_FRAMEWORK are enabled. Certain SoCs (E.G. Action Semi S500) use a proprietary first level bootloader instead of u-boot SPL, but still use u-boot-dtb.img as the first level bootloader parses the uImage header for size/loadaddr. Ensure u-boot-dtb.img gets built if enabled by explicitly listing it as a u-boot make target (next to all) to support such setups. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* syslinux: fix boot hang when host-gcc is 5.3Gravatar Frank Hunleth2016-05-011-0/+76
| | | | | | | | | | | | Syslinux uses the host version of gcc to build to bootloader. On systems with gcc 5.3, this results in a bootloader that hangs. This issue has been addressed in upstream syslinux, but an official release has not been made yet. This commit adds the upstream patch to fix the issue. Most likely fixes bug #8866. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: support auxiliary config buildGravatar Pieter Smith2016-05-015-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support to build barebox with an auxiliary config. This is useful for building an SPL (Secondary Program Loader) in addition to the traditional TPL (Tertiary Program Loader). The Beaglebone Black for example has two barebox configurations: - am335x_defconfig builds the full barebox bootloader with device tree - am335x_mlo_defconfig builds the smaller MLO bootloader that loads the full barebox bootloader from the eMMC or SD card. Tested with the following defconfig: # architecture BR2_arm=y BR2_cortex_a8=y BR2_ARM_EABIHF=y # system BR2_TARGET_GENERIC_HOSTNAME="beaglebone" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW=y # filesystem BR2_PACKAGE_AM33X_CM3=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y # bootloader BR2_TARGET_BAREBOX=y BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="am335x" BR2_TARGET_BAREBOX_IMAGE_FILE="images/barebox-am33xx-beaglebone.img" BR2_TARGET_BAREBOX_CUSTOM_ENV=y BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH="board/beaglebone/barebox/barebox.env" BR2_TARGET_BAREBOX_AUX=y BR2_TARGET_BAREBOX_AUX_BOARD_DEFCONFIG="am335x_mlo" BR2_TARGET_BAREBOX_AUX_IMAGE_FILE="images/barebox-am33xx-beaglebone-mlo.img" # kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" BR2_LINUX_KERNEL_ZIMAGE=y # use the barebox built-in dtb # BR2_LINUX_KERNEL_DTS_SUPPORT is not set Signed-off-by: Pieter Smith <pieter@boesman.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: prepare for auxiliarry buildGravatar Pieter Smith2016-05-015-68/+76
| | | | | | | | | | | | | | | No functional changes. In preparation for the auxiliary barebox build, boot/barebox is split into two parts: 1. boot/barebox: - The source and patch specification which are to be shared between the barebox and barebox-aux packages. - The barebox-package function and build logic. 2. boot/barebox/barebox: - The package configuration, fragments, barebox env, etc. - The actual barebox package make instantiation. Signed-off-by: Pieter Smith <pieter@boesman.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: extract package name argumentGravatar Pieter Smith2016-04-241-59/+62
| | | | | | | | | | | | | No functional changes: Extracts an argument to the inner-barebox-package function to automatically determine the uppercase package name. This is needed to support a 2nd config build. This results in the following renaming: 'BAREBOX' -> '$(1)' All barebox packages are meant to be built from the same sources, so related KConfig variables (origin, version and patch directory) are not extracted. Signed-off-by: Pieter Smith <pieter@boesman.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: introduce barebox-package functionGravatar Pieter Smith2016-04-241-53/+72
| | | | | | | | | | | No functional changes: Introduces a barebox-package function towards re-use by a 2nd config build. Because the function is meant to be called from within a $(eval), all instances of '$' has to be escaped. I.e. rename '$' -> '$$'. Signed-off-by: Pieter Smith <pieter@boesman.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: support multi-image-build image selectionGravatar Pieter Smith2016-04-242-1/+15
| | | | | | | | | | | | | | Support optional selection of the built image filename in a multi-image barebox build. This makes it possible to specify which image to pick in a multi-image barebox config such as the am335x_defconfig. Signed-off-by: Pieter Smith <pieter@boesman.nl> [Thomas: - remove default "", since this is the default for string options - rename the prompt from "Barebox image filename" to "Image filename" - slightly improve the Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: Allow to build multiple flavors simultaneouslyGravatar Benoît Allard2016-04-182-10/+11
| | | | | | | | | | | This becomes handy when building hybrid images that needs to be able to boot in MBR and GPT mode. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net> Tested-by: Matt Weber <matt@thewebers.ws> Reviewed-by: Matt Weber <matt@thewebers.ws> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* afboot-stm32: use the Buildroot toolchainGravatar Thomas Petazzoni2016-04-162-1/+62
| | | | | | | | | | | | | | | By default, the afboot-stm32 Makefile uses "CROSS_COMPILE = arm-none-eabi-". Since I had such a toolchain installed on my system when testing afboot-stm32, I didn't realize it wasn't using the Buildroot toolchain. However, using the Buildroot toolchain doesn't immediately works for FLAT toolchains, as gcc automatically wants to create a FLAT binary. So we need to adjust the afboot-stm32 Makefile to use directly 'ld' and not 'gcc' when linking. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2016.04.0Gravatar Fabio Porcedda2016-04-092-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/uboot: Add custom Subversion repository support for the packageGravatar Pauli Sundberg2016-04-052-3/+9
| | | | | Signed-off-by: Pauli Sundberg <susundberg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/grub2: enable squashfs support by defaultGravatar Gustavo Zacarias2016-03-291-2/+2
| | | | | | | | Size growth is minimal and generally a non-issue for x86-based platforms. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: compute CRC on SPLs for Altera SoC FPGAGravatar Jan Viktorin2016-03-222-0/+17
| | | | | | | | Signed-off-by: Jan Viktorin <viktorin@rehivetech.com> [Thomas: add Altera in the option name and description, drop reference to Go being needed and to Maxime Hadjinlian's version of mkpimage since a C version is now used.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2016.03.0Gravatar Fabio Porcedda2016-03-172-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: remove deprecated BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR optionGravatar Gustavo Zacarias2016-03-152-22/+0
| | | | | | | It's been deprecated for a year now so remove it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/uboot: bump to version 2016.03Gravatar Peter Korsgaard2016-03-142-3/+3
| | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/grub: add rootwait to default configGravatar Gustavo Zacarias2016-03-101-1/+1
| | | | | | | | It doesn't hurt, and is useful for removable boot media like a pendrive that may depend on usb enumeration and isn't available immediately. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/grub2: add rootwait to default configGravatar Gustavo Zacarias2016-03-101-1/+1
| | | | | | | | | It doesn't hurt, and is useful for removable boot media like a pendrive that may depend on usb enumeration and isn't available immediately. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: indentation cleanupGravatar Jerzy Grzegorek2016-03-091-5/+5
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* afboot-stm32: new packageGravatar Lee Jones2016-02-224-0/+28
| | | | | | | | | | | | | | | | This is a _very_ small bootloader for STM32 platforms. At submission afboot-stm32 supports the following boards: stm32429i-eval stm32746g-eval stm32f429i-disco stm32f469i-disco Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: fix commit title, add dependency on BR2_arm.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2016.02.0Gravatar Fabio Porcedda2016-02-152-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: remove unused helper function insert_defineGravatar Thomas De Schampheleire2016-01-181-12/+0
| | | | | | | | | Commit 16b8e813c810fde2fe3655c696edf1e76a7d27ba removed all remaining users of helper function insert_define. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/uboot: bump to version 2016.01Gravatar Jörg Krause2016-01-172-3/+3
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2016.01.0Gravatar Fabio Porcedda2016-01-152-4/+4
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: add COPY_OLD_LICENSE_FILE fix to rsync hookGravatar Erico Nunes2015-12-291-0/+1
| | | | | | | | | | | | | make legal-info breaks when using an older u-boot version in local.mk with OVERRIDE_SRCDIR, due to the reorganization of license files which happened in u-boot v2013.10. This issue had already been fixed in Buildroot for the regular use of old u-boot versions (non-local.mk). This patch adds the same fix to UBOOT_POST_RSYNC_HOOKS so that it also covers the local.mk case. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Fix fallout after generated defconfig supportGravatar Yann E. MORIN2015-12-232-2/+2
| | | | | | | | | | | Fix improper use of qstrip; use correct variables. Fixes #8546. Reported-by: craigswank@gmail.com Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: handle generated defconfigsGravatar Thomas Petazzoni2015-12-221-4/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/barebox: handle generated defconfigsGravatar Sam bobroff2015-12-221-6/+7
| | | | | | | Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/at91bootstrap3: handle generated defconfigsGravatar Sam bobroff2015-12-221-5/+7
| | | | | | | | | Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> [yann.morin.1998@free.fr: move the kconfig-package hunk to the corresponding patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2015.12.0Gravatar Fabio Porcedda2015-12-092-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap3: bump to v3.8Gravatar Alexandre Belloni2015-12-042-2/+4
| | | | | | | | In preparation for sama5d2 xplained support, bump at91bootstrap3 to 3.8 [Peter: add .hash file] Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Gravatar Peter Korsgaard2015-12-012-5/+5
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * barebox: bump to version 2015.11.0Gravatar Fabio Porcedda2015-11-122-5/+5
| | | | | | | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | uboot: fix ARCH for i386 and x86_64Gravatar Arnout Vandecappelle2015-11-161-1/+3
|/ | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: fix hash for 2015.10 versionGravatar Jörg Krause2015-10-281-1/+1
| | | | | | | | Commit bf2bd1132128175362cba26d80d8ef4216b2c32c bumped U-Boot to version 2015.10 but forgot to update the hash as well. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: bump version to 2015.10Gravatar Peter Korsgaard2015-10-251-2/+2
| | | | | | Keep the 2015.07 patch so things still work for people using 2015.07. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>