summaryrefslogtreecommitdiffstats
path: root/boot/uboot
Commit message (Collapse)AuthorAgeFilesLines
* u-boot: workaround for setlocalversion issuebnewbold2013-07-142-0/+12
| | | | | | | | | | | | | | | | The u-boot build process attempts to determine the version number using git commands, which assumes that the build is taking place in a git checkout with the .git directory intact. The buildroot build process does a git checkout, but then exports a .tar.gz as a cache and does the build from that tarball (with no .git file). In some instances, being unable to determine the current version causes the build process to generate a non-functional bootloader. This patch implements a work-around for this problem by allowing the user to configure a 'localverion' override which gets written to the ./localversion file in the u-boot build directory, which is later used by the ./tools/setlocalversion script.
* uboot: Add ELF targetSpenser 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 80Jerzy 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 relevantJerzy 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 styleAlexandre 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 optionFabio 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.09Peter Korsgaard2013-04-241-10/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: simplify patch wildcard for BR2_TARGET_UBOOT_CUSTOM_PATCH_DIRPeter 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 mkenvimageArnaud 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 versionPeter Korsgaard2013-02-031-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2013.01Gustavo 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_TARBALLArnout 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 mainlineAlexandre 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.03Peter Korsgaard2012-10-151-6/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: improve help text of BR2_TARGET_UBOOT_BOARDNAMEArnout 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.07Gustavo 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'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 formatVivien 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 informationSimon 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-packageArnout 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 processorsLuca 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.imgNicolas 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 SPLNicolas 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 releaseGustavo 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 releaseGustavo 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.12Peter Korsgaard2012-02-021-0/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* configs: at91sam926* use latest u-boot and mainline linuxAlexandre 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.06Peter Korsgaard2012-01-021-12/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add version 2011.12Gustavo 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.binGustavo 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.09Gustavo 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 documentationPeter 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 GENTARGETSThomas 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 defaultPeter 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 submenusPeter 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 itThomas 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>
* uboot: fix custom patch dir typoPeter Korsgaard2011-07-191-1/+1
| | | | | | Noticed by robinmholt on IRC. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-tools: add fw_printenv, rename to uboot-toolsPeter Korsgaard2011-07-182-24/+0
| | | | | | | Move fw_printenv / fw_setenv options from the uboot bootloader build to the uboot-mkimage package, and rename it to uboot-tools. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: unbreak kirkwood format handling after a4ca959321Peter Korsgaard2011-07-141-1/+1
| | | | | | | Commit a4ca959321 (u-boot: rename to uboot) forgot to change the kirkwood format handling to look for the new variable name, breaking support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot: Add 2011.06, remove 2010.03Thomas Petazzoni2011-07-113-15/+5
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: allow specification of custom Git repo as sourceThomas Petazzoni2011-07-112-0/+17
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Improve TARGETS handling for bootloaders and kernelThomas Petazzoni2011-07-111-8/+0
| | | | | | | | | | | | | | | | | | As the kernel and bootloaders do not use the normal BR2_PACKAGE_* Kconfig options, their target name was not automatically added to the global TARGETS variable. Each bootloader .mk and the linux.mk had to add their own target manually to TARGETS, and the package infrastructure was making tests on non-existing Kconfig variables. This commit improves the package infrastructure so that it looks at BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and at the special BR2_LINUX_KERNEL for the linux package. This allows to simplify a little bit the bootloaders and linux .mk files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: rename to ubootThomas Petazzoni2011-07-113-0/+265
This will allow to match the currently Config.in option BR2_TARGET_UBOOT, in order to make it easy to integrate U-Boot into the package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>