summaryrefslogtreecommitdiffstats
path: root/rules/u-boot.make
Commit message (Collapse)AuthorAgeFilesLines
* hardening: add option for -fstack-clash-protectionMichael Olbrich2019-02-211-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add u-boot{-dtb, -with-spl-pbl}.bin image installation optionsAhmad Fatoum2019-02-071-0/+9
| | | | | | Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Run install(1)/rm(1) with -vAhmad Fatoum2019-02-071-10/+10
| | | | | | Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add option to use Kconfig based configurationAlexander Dahl2019-02-071-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of U-Boot (from 2014.10) use a Kconfig based configuration. To also support the old system and not break existing builds, this is introduced as optional, which also allows to build a defconfig without oldconfig/menuconfig and a .config file in the BSP. A new menu entry of type 'choice' was added to choose between the new Kconfig based and the legacy config system (boldly inspired by buildroot). Options for prepare and compile stage were revised and adapted to U-Boot build documentation (CROSS_COMPILE and HOSTCC in env instead of make options). That part is based on the first patch 'u-boot: add support for oldconfig/menuconfig' by Ahmad Fatoum from October 2018, but extended by the new menu options, which more or less follows a suggestion of Michael Olbrich to support both configuration systems and distinguish in the make rule. The option to avoid parallel building is only kept for the legacy build, modern U-Boot uses the kernel build system and should build fine in parallel. Also added is support for ptxdist option -v for a more verbose build. This is passed to make with V= option, which is based on a second patch 'u-boot: add V=$(PTXDIST_VERBOSE) to make options' by Ahmad Fatoum, but squashed into this, because all those variable stuff was rewritten anyway. Compile tested with: * recent DistroKit, ptxdist 2019.01.0, U-Boot 2019.01, and defconfig for Microchip SAMA5D27-SOM1-EK1 (platform-v7a), both build system approaches. * custom BSP, ptxdist 2018.05.0, U-Boot 2012.04.01, and config "at91sam9g20ek_nandflash" (arm-v5te), legacy build only. Co-authored-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add support for SPL for non-OMAP CPUsGuillermo Rodríguez2018-11-101-0/+4
| | | | | | | | | | Add support for installing the SPL binary for non-OMAP CPUs. Also properly remove any files installed in the platform image directory in the clean stage. Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add wrapper blacklistAlexander Dahl2018-02-011-0/+7
| | | | | | | | | u-boot had the same problem as the other bootloaders (barebox, at91bootstrap, …): much too big images were generated. Use the same wrapper blacklist approach to prevent this like in barebox package. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: hopefully fix download URLMarkus Niebel2015-10-191-5/+1
| | | | | | | | | | | Use the ftp server only via ftp protocol. Other URL and protocols gets redirected and cause download to fail. u-boot-tools uses already the correct URL. See also www.denx.de/wiki/U-Boot/SourceCode Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* u-boot: add more alternate URLsMarc Kleine-Budde2015-09-291-1/+5
| | | | | | | The https server uses a self signed certificate, which will probably fail, so add alternate URLs. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* u-boot: add config option for imx imagesMarkus Niebel2014-06-261-0/+4
| | | | | | | | | | | For i.MX SOC the U-Boot build system generates imx-images containing the DCD structure used by the ROM loader. This patch provides a config option and install rules for this type of images. Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: remove redundant get stageBjørn Bürger2012-06-141-8/+0
| | | | Signed-off-by: Bjørn Bürger <bbu@pengutronix.de>
* u-boot: Allow copying of u-boot SPL to imagesBernhard Walle2012-02-141-0/+6
| | | | | | | | | | | | | | | | This patch adds two options: 1) U_BOOT_INSTALL_MLO copies the "MLO" (u-boot SPL which replaces x-loader for OMAP CPUs) to the images directory. 2) U_BOOT_INSTALL_U_BOOT_IMG copies "u-boot.img" in addition to the u-boot binary because u-boot SPL expects the u-boot.img (which contains an additional u-boot header) on a SD card. Because of the file name conflict, U_BOOT_INSTALL_MLO is only selectable when x-loader is not built. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot.make: Use make, not C style ifdefsJuergen Beisert2011-09-081-4/+4
| | | | | | | Using "#ifdef/#endif" is C style and a comment in Makefiles. So the rule files does not work as expected, yet. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* [u-boot] add config variable for the source md5sumMichael Olbrich2011-05-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [rules] add md5sum for all packagesMichael Olbrich2011-05-041-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [u-boot] install srec and/or elf imagesStephan Linz2010-08-051-1/+7
| | | | | Signed-off-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [u-boot] add generation of tags fileRemy Bohmer2010-06-021-0/+1
| | | | | Signed-off-by: Remy Bohmer <linux@bohmer.net> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [u-boot] switch URL to httpMarc Kleine-Budde2010-04-271-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [u-boot] fix cross compilationMarc Kleine-Budde2010-02-181-4/+4
| | | | | | | | | Since u-boot revision "v2009.06-433-g1ea6bcd", u-boot's build system doesn't care about the environment variable CROSS_COMPILE any more. We have to define it as make's argument. Reported-by: Erwin Rol <erwin@erwinrol.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [rules] fix custom clean stagesMichael Olbrich2010-01-191-2/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [u-boot] modern clean targetMichael Olbrich2010-01-181-3/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [u-boot] make use of new bootloader special compiler handlingMarc Kleine-Budde2009-12-261-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [u-boot] just cleanupsMarc Kleine-Budde2009-12-261-21/+4
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [u-boot] just cleanupsMarc Kleine-Budde2009-03-101-37/+9
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10045 33e552b5-05e3-0310-8538-816dae2090ed
* * .make files: location of ipkg files has changedRobert Schwebel2008-06-031-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8285 33e552b5-05e3-0310-8538-816dae2090ed
* * u-boot.make:Marc Kleine-Budde2008-04-121-6/+6
| | | | | | | remove default_deps git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7975 33e552b5-05e3-0310-8538-816dae2090ed
* * rules/u-boot.make:Marc Kleine-Budde2008-04-121-1/+1
| | | | | | | install u-boot w/o executeable bit git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7973 33e552b5-05e3-0310-8538-816dae2090ed
* u-boot is completely self-contained, so do not fool it with $(CROSS_ENV)Ladislav Michl2007-07-041-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7224 33e552b5-05e3-0310-8538-816dae2090ed
* Pass UBOOT_ENV also to compilation stage.Ladislav Michl2007-07-031-3/+5
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7221 33e552b5-05e3-0310-8538-816dae2090ed
* * uboot: fails when build in parallelJuergen Beisert2007-06-181-5/+6
| | | | | | | - parallel build disabled for this packet git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7196 33e552b5-05e3-0310-8538-816dae2090ed
* add u-boot supportSascha Hauer2007-04-101-0/+119
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7084 33e552b5-05e3-0310-8538-816dae2090ed