summaryrefslogtreecommitdiffstats
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* arm-trusted-firmware: cleanup make target handlingLuca Ceresoli2017-06-151-3/+2
| | | | | | | | | | | | | ARM_TRUSTED_FIRMWARE_MAKE_TARGET is expanded, but it's never assigned so it is always empty. On the other hand the make targets are defined in ARM_TRUSTED_FIRMWARE_MAKE_OPTS, which should contain options, not targets. Clean it all up by moving the targets in the proper place, replacing the useless $(ARM_TRUSTED_FIRMWARE_MAKE_TARGET). Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: Add patch to build efi/wrapper with the host toolchainBenoît Allard2017-06-121-0/+32
| | | | | | | | The 'wrapper' tool built by syslinux is executed on the build machine, so it should be built with CC_FOR_BUILD. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: add patches to build with the latest gnu-efi releaseBenoît Allard2017-06-113-0/+104
| | | | | Signed-off-by: Benoît Allard <benoit.allard@greenbone.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: add missing dependency on host-util-linuxThomas Petazzoni2017-06-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | If util-linux is not installed system-wide on the host, the build fails with: /usr/bin/gcc -Wp,-MT,isohybrid.o,-MMD,./.isohybrid.o.d -O2 -I/home/thomas/projets/buildroot/output/host/usr/include -W -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/home/thomas/projets/buildroot/output/build/syslinux-6.03/utils -c -o isohybrid.o /home/thomas/projets/buildroot/output/build/syslinux-6.03/utils/isohybrid.c /home/thomas/projets/buildroot/output/build/syslinux-6.03/utils/isohybrid.c:40:23: fatal error: uuid/uuid.h: No such file or directory #include <uuid/uuid.h> ^ compilation terminated. Therefore, this commit adds a dependency on host-util-linux, which will ensure that libuuid is available. The resulting isohybrid tool is really installed, and linked with libuuid: $ readelf -d output/host/usr/bin/isohybrid Dynamic section at offset 0x3e00 contains 26 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libuuid.so.1] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [/home/thomas/projets/buildroot/output/host/usr/lib] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arm-trusted-firmware: exclude from hash when downloading from gitArnout Vandecappelle2017-06-111-0/+1
| | | | | | | | Since we will enable hash checks for git downloads soon, the hash check for the custom git download should be disabled. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mxs-bootlets: exclude from hash when downloading from gitArnout Vandecappelle2017-06-111-0/+1
| | | | | | | | Since we will enable hash checks for git downloads soon, the hash check for the custom git download should be disabled. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91bootstrap3: exclude from hash when downloading from gitArnout Vandecappelle2017-06-111-0/+1
| | | | | | | | Since we will enable hash checks for git downloads soon, the hash check for the custom git download should be disabled. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: exclude from hash check except for latest versionArnout Vandecappelle2017-06-111-4/+4
| | | | | | | | | | | | | | | | | Instead of excluding the hash specifically for the custom tarball and custom version cases, exclude it always except in the one case where we do have a hash: the latest version. This simplifies the code a little because soon we will add hash checks for git as well, so we also need an exclusion in that case. It is not needed to exclude it twice for barebox and barebox-aux, because they use the same source tarball and barebox-aux can only be enabled if barebox is enabled. So simplify even further by pulling the exclusion logic out of inner-barebox-package. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: exclude from hash check except for latest versionArnout Vandecappelle2017-06-111-3/+3
| | | | | | | | | | | | Instead of excluding the hash specifically for the custom tarball and custom version cases, exclude it always except in the one case where we do have a hash: the latest version. This simplifies the code a little because soon we will add hash checks for git as well, so we also need an exclusion in that case. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: bump to version 2017.05Fabio Estevam2017-05-232-3/+3
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: fix target uboot defconfig warningChristian Stewart2017-04-221-1/+1
| | | | | | | | | | | | | | | The warning currently reads: No board defconfig name specified, check your BR2_TARGET_UBOOT_DEFCONFIG setting. It should read: No board defconfig name specified, check your BR2_TARGET_UBOOT_BOARD_DEFCONFIG setting. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: build with the target toolchainBenoît Allard2017-04-086-8/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, the host toolchain was used to build syslinux, as it was not possible to build a 32-bit syslinux with a x86-64 toolchain. However, syslinux requires gnu-efi, and gnu-efi is built using the target toolchain. Mixing different toolchains doesn't work well, so this commit changes the syslinux package to use the target toolchain for syslinux as well. This is made possible by patches 0003-Fix-ldlinux.elf-Not-enough-room-for-program-headers-.patch and 0004-memdisk-Force-ld-output-format-to-32-bits.patch. Since syslinux also contains some utilities that have to run on the host, those have to continue being built with the host toolchain, which requires patch 0005-utils-Use-the-host-toolchain-to-build.patch. Patch 0006-lzo-Use-the-host-toolchain-for-prepcore.patch is about building prepcore, another utility with the host toolchain as it is required at build-time. This was tested using a Buildroot's built x86_64 toolchain, and checked that the output binaries are 32-bits. It was tested as well if they actually boot on hardware. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATHMichael Trimarchi2017-04-081-2/+4
| | | | | | | | | | We need to avoid failing of copy of custom dts using cp -f <> command. So, just qstrip the variable as is done for other configuration options. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Tested-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add out-of-source U-Boot device tree supportJames Balean2017-04-052-0/+17
| | | | | | | | | | Similaly to Linux, this patch adds the ability to copy in and build out-of-source device tree sources during a U-Boot build. Signed-off-by: James Balean <james@balean.com.au> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: use Git formatted patchesThomas Petazzoni2017-04-053-34/+48
| | | | | | | | In preparation for the addition of more patches to the syslinux package, reformat the two existing patches as proper Git formatted patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-2cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for GPLv3/GPLv3+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-016-6/+6
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: improve BR2_TARGET_UBOOT_SPL_NAME help textJagan Teki2017-03-141-2/+2
| | | | | | | | | | | SPL is the name used for spl on i.MX6, so update the same on BR2_TARGET_UBOOT_SPL_NAME help text. Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> [Thomas: rewrap Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: bump to version 2017.03Fabio Estevam2017-03-142-3/+3
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: add support for full image socfpga mkpimageLionel Flandrin2017-03-052-4/+28
| | | | | | | | | | | | | | | | | | | On older SoCFPGA SoCs, there was not enough SRAM to fit the entire U-Boot, so a SPL model was used. The SPL was therefore the binary that had to be "prepared" to be loaded by the ROM code using the mkpimage tool. With newer SoCFPGA SoCs, there is enough SRAM to fit the entire U-Boot, and therefore the ROM code directly loads U-Boot. In this case, it's the real U-Boot image (not the SPL) that needs to be prepared using mkpimage. This code adds support for the newer SoCFPGA SoCs, by adjusting the mkpimage related logic to apply on the SPL if an SPL is enabled, or on the full U-Boot image otherwise. Signed-off-by: Lionel Flandrin <lionel@svkt.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: add an option to generate u-boot-dtb.binLionel Flandrin2017-03-052-0/+8
| | | | | Signed-off-by: Lionel Flandrin <lionel@svkt.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2017.02.0Fabio Porcedda2017-02-142-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: fix reverse dependencies of util-linuxRahul Bedarkar2017-01-281-4/+0
| | | | | | | | | | | | | | | Commit 006a328ad6be ("util-linux: fix build with ncurses") removed dependency on BR2_USE_WCHAR, but failed to update the reverse dependencies of util-linux. This commit fixes all such reverse dependencies by removing dependency on BR2_USE_WCHAR as it is not required by package itself. Fixes: 006a328ad6be ("util-linux: fix build with ncurses") Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2017.01.0Fabio Porcedda2017-01-192-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: bump to version 2017.01Fabio Estevam2017-01-092-3/+3
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: fix custom patch dir legacy handlingDanomi Manchego2016-12-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 3e3fef39e71ed0426130b36aa00e4630ebb537ae added new and improved patch handling, with BR2_TARGET_UBOOT_PATCH. This was in addition to the existing BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR option, that only handled directories. Later, commit 21b25d28fc7af3bb1b2c55e4a46e0d067ebc0081 moved the old BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR to legacy options. But on the way, bad things happened: * The original option was a string, while the one added to Config.in.legacy is a bool. This results in a warning from defconfigs that actually define the old BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR (because a string is not a valid value for a bool), but it does not result in the legacy option being selected. Consequently, BR2_LEGACY is not selected either. * The advice at the top of Config.in.legacy to add a hidden WRAP option to select BR2_LEGACY was not heeded. * The advice at the top of Config.in.legacy to use the old string option as the default for the new string option was not heeded. In this case, the variable was not just renamed, as the old option supported directories only, while the new one supports files too. But since the old option is a subset of the new option, it can still be used to set a useful default. So, this mod turns the legacy option back to a string, adds a hidden bool WRAP option to set BR2_LEGACY when the string is non emoty, and uses the legacy option to set the default for the new option. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2016-12-012-3/+3
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * boot/uboot: bump to version 2016.11Fabio Estevam2016-11-142-3/+3
| | | | | | | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | uboot: support -b option for mkenvimagetiago.brusamarello2016-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | When generating the environment image the target endianess should be taken in account for CRC calculation purposes. For big endian targets the -b flag should be passed to the mkenvimage tool. Signed-off-by: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | boot-wrapper-aarch64: update upstream repositoryMasahiro Yamada2016-11-162-2/+2
|/ | | | | | | | | | cmarinas/boot-wrapper-aarch64.git does not exist any more. Switch over to mark/boot-wrapper-aarch64.git. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uboot: define help commands when using KconfigYann E. MORIN2016-11-011-0/+6
| | | | | | | | | Expose the Kconfig-related help commands when U-Boot uses the Kconfig configuration. Like others (like Linux, barebox, busybox), only expose menuconfig, not all the configurators. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot-wrapper-aarch64: Allow users to select the PSCI SMP boot methodHollis Blanchard2016-10-252-0/+12
| | | | | | | | Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com> [Thomas: - remove "default n" - pass explicit --disable-psci] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: add option to optionally depend on host-opensslThomas Petazzoni2016-10-202-0/+12
| | | | | | | | | | | | | | | | | Some U-Boot board configurations have CONFIG_FIT_SIGNATURE=y. In this case, when U-Boot builds its tools, it requires OpenSSL support on the host system. Since we clearly don't want to unconditionally depend on host-openssl, we introduce a new option to explicitly enable the dependency on host-openssl. This is exactly identical to the existing BR2_TARGET_UBOOT_NEEDS_DTC, for the dependency on host-dtc. It is therefore the responsibility of the user to enable this option if his board configuration uses CONFIG_FIT_SIGNATURE=y. Necessary to fix bug #9316. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* core: introduce per br2-external NAMEYann E. MORIN2016-10-162-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This unique NAME is used to construct a per br2-external tree variable, BR2_EXTERNAL_$(NAME)_PATH, which contains the path to the br2-external tree. This variable is available both from Kconfig (set in the Kconfig snippet) and from the .mk files. Also, display the NAME and its path as a comment in the menuconfig. This will ultimately allow us to support multiple br2-external trees at once, with that NAME (and thus BR2_EXTERNAL_$(NAME)) uniquely defining which br2-external tree is being used. The obvious outcome is that BR2_EXTERNAL should now no longer be used to refer to the files in the br2-external tree; that location is now known from the BR2_EXTERNAL_$(NAME)_PATH variable instead. This means we no longer need to expose, and must stop from from exposing BR2_EXTERNAL as a Kconfig variable. Finally, this also fixes a latent bug in the pkg-generic infra, where we would so far always refer to BR2_EXTERNAL (even if not set) to filter the names of packages (to decide whether they are a bootloader, a toolchain or a simple package). Note: since the variables in the Makefile and in Kconfig are named the same, the one we computed early on in the Makefile will be overridden by the one in .config when we have it. Thus, even though they are set to the same raw value, the one from .config is quoted and, being included later in the Makefile, will take precedence, so we just re-include the generated Makefile fragment a third time before includeing the br2-external's Makefiles. That's unfortunate, but there is no easy way around that as we do want the two variables to be named the same in Makefile and Kconfig (and we can't ask the user to un-quote that variable himself either), hence this little dirty triple-inclusion trick. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arm-trusted-firmware: new packageJoao Pinto2016-10-154-0/+138
| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joao Pinto <jpinto@synopsys.com> [Thomas: - Rename the package from atfirmware to arm-trusted-firmware, in order to match upstream. - Remove option to apply custom patches. We no longer add such options, and use the global patch directory instead. - Rename the repo URL/version options, in order to not be Git specific, in case support for fetching from other VCS is added later. This is consistent with how other bootloaders handle this. - Add license information. - Do not add a weird dependency on the vexpress-firmware package in Config.in. Instead, simply use it if it's available. Of course, some configurations (such as the juno configuration) will fail to build if vexpress-image is not enabled, but it's the responsibility of the user to create a config that builds. - Simplify misc aspects in the .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vexpress-firmware: new packageJoao Pinto2016-10-154-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new package for the SCP (System Control Processor) firmware for the ARM reference platforms. There will most likely be other SCP firmware provided by other vendors, but they might be provided in a different form, so we for now create a vendor-specific package named vexpress-firmware. Since this firmware is used for booting, we create the package in boot/ and not in package/. The package simply installs a single pre-built binary file into the images directory. Signed-off-by: Joao Pinto <jpinto@synopsys.com> [Thomas: - Rename the package from scpfirmware to vexpress-firmware. - Add a Config.in prompt for the package. - Remove the prompt-less Config.in options to select the Git repo and version. Since we only support the Vexpress firmware, there's no need for configurability here, so we just use the right Git repo/version in the .mk file. - Use $(INSTALL) -D to install the firmware file. - Add license information.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add hash file, as suggested by Yann.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: Call 'make all' unconditionallyFabio Estevam2016-10-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Since commit fad58cefa4a392b ("boot/uboot: allow to build multiple U-Boot images") the installation of SPL binary fails. For example, when building the mx6cubox_defconfig target we see: LD u-boot OBJCOPY u-boot-nodtb.bin COPY u-boot.bin MKIMAGE u-boot.img >>> uboot 2016.09.01 Installing to target >>> uboot 2016.09.01 Installing to images directory cp -dpf /home/fabio/buildroot/output/build/uboot-2016.09.01/u-boot.bin /home/fabio/buildroot/output/images/ cp -dpf /home/fabio/buildroot/output/build/uboot-2016.09.01/u-boot.img /home/fabio/buildroot/output/images/ cp -dpf /home/fabio/buildroot/output/build/uboot-2016.09.01/SPL /home/fabio/buildroot/output/images/ cp: cannot stat '/home/fabio/buildroot/output/build/uboot-2016.09.01/SPL': No such file or directory Instead of calling 'make all' only for the BR2_TARGET_UBOOT_FORMAT_DTB_IMG case, call 'make all' unconditionally so that the SPL target can also be installed. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: Fix building for ARC700Alexey Brodkin2016-09-252-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | With newer ARC toolchain obsolete -marcXXX were finally deperecated and so compiler throws errors now about unknown option. Solution is as simple as switching to more generic -mcu-XXX options. Which we do. Unfortunately that change in upstream U-Boot [1] happened right after v2016.09 was released an so we need to have that fix for v2016.07 which is mentioned in axs10x defconfigs and for the latest U-Boot release v2016.09 (which is selected by default if no defconfig is used). Once we deprecate either U-Boot version in U-Boot corresponding patch should be removed essentially. [1] http://git.denx.de/?p=u-boot.git;a=commit;h=7c8d81605302e7d7fdd3e7d8eb69302bddc64a2c Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: handle the U-Boot bump to 2016.09.01.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: bump to version 2016.09.01Fabio Estevam2016-09-252-3/+3
| | | | | | | 2016.09.01 is a bugfix release, so bump to this version. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/at91bootstrap3: bump to version 3.8.6Biagio Montaruli2016-09-232-3/+3
| | | | | Signed-off-by: Biagio Montaruli <biagio.hkr@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: allow to build multiple U-Boot imagesPetr Kulhavy2016-09-172-44/+77
| | | | | | | | | | | | | | | | | | Sometimes it is desired to build multiple U-boot images. E.g. one to save into flash memory and one for serial load. So far this was not possible. This change allows to select any combination of the target formats. They are all copied to the image folder. Signed-off-by: Petr Kulhavy <brain@jikos.cz> [Thomas: - Handle the BR2_TARGET_UBOOT_FORMAT_BIN, which wasn't handled, and therefore u-boot.bin was not copied when BR2_TARGET_UBOOT_FORMAT_BIN=y. - Rename UBOOT_BIN to UBOOT_BINS, since it can now contain multiple values.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot/uboot: bump to version 2016.09Fabio Estevam2016-09-122-3/+3
| | | | | Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* syslinux: add patch to disable pieRyan Coe2016-09-121-0/+22
| | | | | | | | | | | Ubuntu 16.10 has pie enable by default. This causes a build failure with syslinux. https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/1579023 Signed-off-by: Ryan Coe <bluemrp9@gmail.com> [Thomas: improve patch description.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2016-09-022-5/+5
|\ | | | | | | | | | | Quite some conflicts, so here goes .. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * barebox: bump version to 2016.08Raphaël Poggi2016-08-162-5/+5
| | | | | | | | | | Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | barebox: fix ARCH value for arm64Raphaël Poggi2016-08-161-0/+2
|/ | | | | | | | barebox 2016.08 added arm64 support using ARCH=arm. [Peter: extend commit message to clarify] Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: fix build with BR2_STRIP_noneCharles Hardin2016-07-311-1/+4
| | | | | | | | | | grub2 assumes the strip command will generate output and the output should always be stripped - so, just use the $(TARGET_CROSS)strip to make sure that the build succeeds regardless of the buildroot strip configuration. Signed-off-by: Charles Hardin <ckhardin@exablox.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud