summaryrefslogtreecommitdiffstats
path: root/boot/barebox
Commit message (Collapse)AuthorAgeFilesLines
* boot/barebox: change download site to httpsPeter Seiderer2019-01-121-1/+1
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* boot/barebox: bump version to 2018.12.0Peter Seiderer2019-01-122-5/+5
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* barebox: bump to version 2018.10.0Marcin Niestroj2018-10-202-5/+5
| | | | | Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* */Config.in*: remove consecutive empty linesRicardo Martincoski2018-04-011-1/+0
| | | | | Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* barebox: bump to version 2017.09.0Peter Seiderer2017-10-272-5/+5
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: support multiple image filesMarcin Niestroj2017-06-213-7/+7
| | | | | | | | | | | | Add support for specifying multiple image files in BR2_TARGET_BAREBOX_IMAGE_FILE config option. This is useful for boards with several RAM size variants. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> [Thomas: rename internal variable from $(1)_IMAGE_FILE to $(1)_IMAGE_FILES.] 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>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* barebox: bump to version 2016.06.0Fabio Porcedda2016-06-232-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/barebox: use the generic help rulesYann 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>
* barebox: bump to version 2016.05.0Fabio Estevam2016-05-112-5/+5
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: add an option to embed environment imageYegor 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>
* barebox: support auxiliary config buildPieter 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 buildPieter 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 argumentPieter 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 functionPieter 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 selectionPieter 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>
* barebox: bump to version 2016.04.0Fabio Porcedda2016-04-092-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2016.03.0Fabio Porcedda2016-03-172-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2016.02.0Fabio Porcedda2016-02-152-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2016.01.0Fabio Porcedda2016-01-152-4/+4
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Fix fallout after generated defconfig supportYann E. MORIN2015-12-231-1/+1
| | | | | | | | | | | 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/barebox: handle generated defconfigsSam 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>
* barebox: bump to version 2015.12.0Fabio Porcedda2015-12-092-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2015.11.0Fabio Porcedda2015-11-122-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2015.10.0Fabio Porcedda2015-10-202-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: remove now-redundant ccache handlingArnout Vandecappelle2015-10-041-2/+1
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2015.09.0Fabio Porcedda2015-09-142-5/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/barebox: check for config file before calling kconfig-packageYann E. MORIN2015-07-141-2/+4
| | | | | | | | | | | | If we check that the user provides a config file after we call to the kconfig-package infra, the error message we get is the one for the kconfig-package infra, not the custom error message we want to show to the user. So, only call kconfig-package after we do the check. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2015.07.0Fabio Porcedda2015-07-052-6/+5
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: bump to version 2015.05.0Fabio Porcedda2015-06-042-5/+6
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: add option to specify config fragmentsFloris Bos2015-05-212-0/+7
| | | | | | 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>
* barebox: unbreak custom patch handling after 0eba4759 (packages: apply ↵Peter Korsgaard2015-05-041-1/+1
| | | | | | | | 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>
* barebox: bump to version 2015.04.0 and add hash fileFabio Porcedda2015-05-042-2/+7
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot/barebox: do not check hash for custom versionsYann E. MORIN2015-05-021-0/+4
| | | | | | | | | | | | | 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>
* packages: refactor checks using BR_BUILDINGThomas Petazzoni2015-04-261-4/+1
| | | | | | | | | 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>
* packages: apply custom patches using *.patch instead of <pkg>-*.patchThomas Petazzoni2015-04-061-3/+2
| | | | | | | | | | | | | | | | 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>
* barebox: fix compilation on x86-64 architectureLahoudere Fabien2015-03-041-0/+2
| | | | | | | | | | 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>
* barebox: migrate to the kconfig infrastructureThomas De Schampheleire2015-02-141-29/+6
| | | | | | | | | | | | | | | [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>
* barebox: qstrip the path to the custom configuration fileThomas De Schampheleire2015-02-141-1/+1
| | | | | | | | | | 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>
* barebox: bump to version 2015.02.0Fabio Porcedda2015-02-021-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2015.01.0Fabio Porcedda2015-01-281-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: bump to version 2014.12.0Fabio Porcedda2014-12-101-2/+2
| | | | | | | 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>
* barebox: bump to version 2014.11.0Fabio Porcedda2014-11-061-2/+2
| | | | | | | 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>
OpenPOWER on IntegriCloud