aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot
Commit message (Collapse)AuthorAgeFilesLines
* uboot: check various configuration parameters and bail out if emptyGravatar Thomas Petazzoni2014-05-201-2/+24
| | | | | | | | | | | | | | 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>
* uboot: bump to version 2014.04Gravatar Alexey Brodkin2014-04-261-2/+2
| | | | | | | | 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>
* uboot: unbreak legal info for legacy versionsGravatar Peter Korsgaard2014-03-251-0/+10
| | | | | | | | | | | | 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>
* uboot: mark custom network settings as deprecatedGravatar Peter Korsgaard2014-03-181-0/+1
| | | | | | As discussed on the the mailing list. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: bump to version 2014.01Gravatar Gustavo Zacarias2014-01-212-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot: support -r option for mkenvimageGravatar Simon Dawson2013-12-122-0/+15
| | | | | | | | | Some boards are configured in u-boot to store multiple redundant copies of the environment image in flash. For these boards, it is required to pass the -r flag, when generating a boot environment image using mkenvimage. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: whitespace cleanupGravatar Thomas De Schampheleire2013-11-111-1/+1
| | | | | | | | | | This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux/uboot: line-up repository-related configuration optionsGravatar Thomas De Schampheleire2013-10-271-16/+16
| | | | | | | | | Although the configuration options for custom repository locations and versions are very similar between the linux and uboot packages, there are some minor differences. This patch lines up both packages. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: add support for custom Mercurial repositoryGravatar Thomas De Schampheleire2013-10-272-8/+20
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Remove redundant dollar signs in Config.in filesGravatar Thomas De Schampheleire2013-10-261-2/+2
| | | | | | | | | | | | | | | Some Config.in(.host) files have constructs like: config FOO_VERSION string default "1.0" if FOO_1_0 default "2.0" if FOO_2_0 default $FOO_CUSTOM_VERSION if FOO_CUSTOM The dollar sign here is not needed and confusing, so can be removed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: bump to version 2013.10Gravatar Gustavo Zacarias2013-10-221-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* u-boot: add option for Freescale u-boot.imx formatGravatar Peter Korsgaard2013-09-262-0/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: remove stale patches and bump to 2013.07Gravatar Gustavo Zacarias2013-07-313-392/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: add support for Freescale .sb format to ubootGravatar Gary Coulbourne2013-07-292-0/+8
| | | | | | | | [Thomas: update to recent Buildroot, add missing dependency on host-elftosb.] Signed-off-by: Gary Coulbourne <bear@bears.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: support custom u-boot.bin nameGravatar Thomas De Schampheleire2013-07-262-0/+18
| | | | | | | | | | | | | | | On some platforms, the standard U-Boot binary is not called u-boot.bin, but u-boot<something>.bin. This is for example the case on the Cavium-provided u-boot, where the output file is called u-boot_<boardname>.bin. This patch adds a 'custom format' choice in the existing u-boot binary format selection, where this name can be put. In the Cavium example, this option could be set to: BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-$(BR2_TARGET_UBOOT_BOARDNAME).bin" Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot: Add ELF targetGravatar Spenser Gilliland2013-06-152-1/+6
| | | | | | | adds ELF image option to uboot Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Gravatar Jerzy Grzegorek2013-06-071-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert headers to lower case when relevantGravatar Jerzy Grzegorek2013-06-071-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleGravatar Alexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: add custom version optionGravatar Fabio Porcedda2013-05-071-24/+11
| | | | | | | | | | Add custom version option as used in the linux kernel and barebox. This way we can easily specify newer and older version. Remove the list of the older versions because is obsoleted by the new custom version option that is more flexible. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2013.04, deprecate 2011.12 / 2012.04, drop 2011.06 / 2011.09Gravatar Peter Korsgaard2013-04-241-10/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: simplify patch wildcard for BR2_TARGET_UBOOT_CUSTOM_PATCH_DIRGravatar Peter Korsgaard2013-04-112-2/+2
| | | | | | | | | To match the logic we have for BR2_LINUX_KERNEL_PATCH. The user has already specified a custom patch directory, so we don't need to be so specific about the what file names we accept, and it becomes quite cumbersome when a custom git version is used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: integrate mkenvimageGravatar Arnaud RĂ©billout2013-03-242-0/+39
| | | | | | | | | | | | | This commit provides configuration options to automatically generate a binary environment image for U-Boot. Two options are available (and mandatory): * the location of a text file describing U-Boot environment. * the size of the environment. [Peter: fix Config.in indentation + typo] Signed-off-by: Arnaud RĂ©billout <rebillout@syscom.ch> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: bump 2013.01.x versionGravatar Peter Korsgaard2013-02-031-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2013.01Gravatar Gustavo Zacarias2013-01-181-1/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux, uboot, mxs-bootlets, barebox: avoid double slash in CUSTOM_TARBALLGravatar Arnout Vandecappelle (Essensium/Mind)2013-01-131-1/+1
| | | | | | | | | | | | | | | Closes #5846 The $(dir ...) function leaves a slash at the end, so that the LINUX_SITE variable for a custom tarball ends in a slash. The DOWNLOAD macro adds another slash between SITE and SOURCE, which results in a double slash in the download URL. Fix this by stripping off the final slash from the _SITE in all packages that have a custom tarball. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: update at91 patches to match mainlineGravatar Alexandre Belloni2012-11-022-196/+224
| | | | | | | | The patch that was included in buildroot was not the same as the final one submitted in the mainline. Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2012.10, deprecate 2011.09, remove 2011.03Gravatar Peter Korsgaard2012-10-151-6/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: improve help text of BR2_TARGET_UBOOT_BOARDNAMEGravatar Arnout Vandecappelle2012-09-201-0/+2
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add version 2012.07Gravatar Gustavo Zacarias2012-09-201-1/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Gravatar Peter Korsgaard2012-09-032-0/+11
|\ | | | | | | | | | | | | | | | | | | Conflicts: package/e2fsprogs/e2fsprogs.mk package/libfuse/libfuse.mk package/multimedia/mpd/mpd.mk package/smartmontools/smartmontools.mk Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * u-boot: add AIS target formatGravatar Vivien Didelot2012-08-112-0/+11
| | | | | | | | | | Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | uboot: add license informationGravatar Simon Dawson2012-08-211-0/+3
|/ | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* u-boot: build signed image for OMAP processorsGravatar Luca Ceresoli2012-05-192-0/+57
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: add a new binary format for u-boot.imgGravatar Nicolas Dechesne2012-05-052-0/+5
| | | | | | | | | | | For some platforms like OMAP, a new binary format is now being used for u-boot: u-boot.img. It is basically u-boot.bin which has been processed with mkimage. Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: Add support for U-Boot SPLGravatar Nicolas Dechesne2012-05-052-0/+20
| | | | | | | | | | | | | | | | | SPL is a first stage bootloader. On pandaboard it supercedes x-loader, and should now be used. This patch ensures that either SPL or xloader can be selected. A config variable has been added for the name of the SPL binary generated during u-boot build. For most platform it is u-boot-spl.bin but not always. It is MLO on OMAP for example. Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Frank Hunleth <fhunleth@troodon-software.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: bump to 2012.04.01 releaseGravatar Gustavo Zacarias2012-04-292-2/+2
| | | | | | | | | Bump from 2012.04 to 2012.04.01 Fixes a nasty bug in the command line processing. [Peter: keep kconfig name] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2012.04 releaseGravatar Gustavo Zacarias2012-04-242-1/+186
| | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* u-boot: only apply 2011.12 at91 patch if building 2011.12Gravatar Peter Korsgaard2012-02-021-0/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* configs: at91sam926* use latest u-boot and mainline linuxGravatar Alexandre Belloni2012-02-011-0/+181
| | | | | | | | | | | While upgrading the configs, it proved necessary to make more space on the dataflash for u-boot since it grew because of relocation. dataflash is then repartitionned to make more room for u-boot and a redundant environment. Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: remove 2010.x versions, deprecate 2011.03 / 2011.06Gravatar Peter Korsgaard2012-01-021-12/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add version 2011.12Gravatar Gustavo Zacarias2012-01-021-1/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add support for u-boot-nand.binGravatar Gustavo Zacarias2011-12-012-0/+5
| | | | | | | Add support for the u-boot-nand.bin target file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add version 2011.09Gravatar Gustavo Zacarias2011-12-011-1/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: fix CUSTOM_PATCH_DIR documentationGravatar Peter Korsgaard2011-11-191-1/+1
| | | | | | | We're using uboot-<version>-*.patch, and not u-boot-<version>-*.patch Reported-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: clarify network settings submenu, disable override by defaultGravatar Peter Korsgaard2011-09-181-3/+2
| | | | | | | Make it clear that these options override the board defconfig, and don't enable it by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* boot: get rid of toplevel submenusGravatar Peter Korsgaard2011-09-181-1/+1
| | | | | | | Sub options are indented anyway, so no need for empty menus / force people to enter sub menus to see configuration options. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support: move patch-kernel.sh and rename itGravatar Thomas Petazzoni2011-09-171-1/+1
| | | | | | | | The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>