Commit Graph

289 Commits

Author SHA1 Message Date
Fabio Porcedda
05d7edbedc barebox: add custom version option
Add custom version option as used in the linux kernel.
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>
2013-05-06 16:27:04 +02:00
Peter Korsgaard
3510d8b4af u-boot: add 2013.04, deprecate 2011.12 / 2012.04, drop 2011.06 / 2011.09
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-24 09:14:53 +02:00
Fabio Porcedda
099b41b91d barebox: add 2013.04.0, remove 2012.12.1
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 15:52:16 +02:00
Peter Korsgaard
964f36fe06 uboot: simplify patch wildcard for BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
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>
2013-04-11 07:47:54 +02:00
Arnaud Rébillout
7b25291940 uboot: integrate mkenvimage
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>
2013-03-24 20:49:15 +01:00
Daniel Price
c12b067226 syslinux: bump to version 4.06
Signed-off-by: Daniel Price <daniel.price@gmail.com>
Tested-by: Will Moore <will.moore@beraninstruments.com>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-24 11:51:48 +01:00
Fabio Porcedda
a7fbcd013b barebox: add 2013.03.0, remove 2012.11
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-12 22:32:31 +01:00
Peter Korsgaard
49610bbc21 at91bootstrap: fix upstream URL
AT91Bootstrap 1.x seems to have disappeared from atmel.com (but return
HTML instead of a 404), so use the at91.com FTP server instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-12 10:52:26 +01:00
Fabio Porcedda
0eb3eef966 barebox: add 2013.02.0, remove 2012.10
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-07 14:36:26 +01:00
Peter Korsgaard
ea6f3bd9f2 u-boot: bump 2013.01.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-03 15:29:14 +01:00
Maxime Ripard
18b04970a2 barebox: Allow to build an environment image
[Peter: Tweaked help text]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-28 23:15:53 +01:00
Gustavo Zacarias
4cd111e0df u-boot: add 2013.01
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-18 12:44:05 +01:00
Fabio Porcedda
cbd675224d barebox: add 2013.01.0, remove 2012.09
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-13 21:12:25 +01:00
Fabio Porcedda
3fd048a99a barebox: needs host-lzop
Add host-lzop dependency.
Use $(TARGET_MAKE_ENV) when calling $(MAKE)
to able to use binaries built for host.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-13 21:12:21 +01:00
Arnout Vandecappelle (Essensium/Mind)
579fea2273 linux, uboot, mxs-bootlets, barebox: avoid double slash in CUSTOM_TARBALL
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>
2013-01-13 20:39:47 +01:00
Fabio Porcedda
e043dd6c99 barebox: bump to version 2012.12.1
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-13 09:37:10 +01:00
Fabio Porcedda
04c8ff92c3 barebox: add 2012.12, remove 2012.08
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-10 22:27:35 +01:00
Gregory Hermant
62b13aea1d barebox: use the symlink to copy the barebox binary to the images directory
Barebox creates a symlink to the binary. This symlink points to
the barebox.bin or to the compressed zbarebox.bin binary.

Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-10 21:56:54 +01:00
Gustavo Zacarias
422700feba at91bootstrap: upstream moved to another URL
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-10 15:07:42 +01:00
Maxime Ripard
8f717d54ba Remove unused barebox 2012.07 string
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-21 11:17:12 +01:00
Gregory Hermant
4c60854f00 barebox: Add BR2_TARGET_BAREBOX_2012_11
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-21 11:04:22 +01:00
Maxime Ripard
f72b561789 mxs-bootloader: Barebox entry point symbol changed in 2012.08
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-17 09:33:01 +01:00
Maxime Ripard
0003b0d1f7 barebox: Add 2012.11, remove 2012.07
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-17 09:01:41 +01:00
Gregory Hermant
3d3047f28d at91bootstrap: fix overlap linker issue
The linker script of the at91bootstrap package has to be modified when
built from gcc-4.6.x version. Indeed a section named text.startup is
created and has to be added into the text section.

Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-08 17:28:25 +01:00
Maxime Ripard
1e9b963255 barebox: Allow to pass a custom configuration file
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-03 17:20:15 +01:00
Alexandre Belloni
a1504a791c u-boot: update at91 patches to match mainline
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>
2012-11-02 21:27:18 +01:00
Alexandre Belloni
654f869cab at91bootstrap: update patch for latest u-boot
The u-boot patch got mainlined but not exactly as it was submitted to
buildroot. Update the at91bootstrap to match what is in the mainline.

Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-02 21:26:53 +01:00
Thomas Petazzoni
7689b72e00 boot-wrapper-aarch64: new package
The boot wrapper contains both a minimal bootloader and a tool to
generate an image suitable for execution by the AArch64 software
simulator. The image generated embeds the minimal bootloader, the
kernel image, the Device Tree Blob and the kernel command line.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-02 21:10:18 +01:00
Peter Korsgaard
501ba89958 u-boot: add 2012.10, deprecate 2011.09, remove 2011.03
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-15 23:04:06 +02:00
Peter Korsgaard
1e6fb81dd6 barebox: add 2012.10, remove 2012.06
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-09 11:44:43 +02:00
Simon Dawson
805ba041c0 barebox: fix license information
The barebox license should be "GPLv2 with exceptions", and not GPLv2.

Signed-off-by: Simon Dawson <simond@trainfx.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-09 11:38:55 +02:00
Peter Korsgaard
7626c20f92 barebox: add 2012.08 / .09, drop .04 / .05
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-28 22:08:35 +02:00
Arnout Vandecappelle
b189c516d4 uboot: improve help text of BR2_TARGET_UBOOT_BOARDNAME
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-20 22:27:14 +02:00
Gustavo Zacarias
47a7a2771a u-boot: add version 2012.07
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-20 22:26:46 +02:00
Peter Korsgaard
32a0454d3c Merge branch 'next'
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>
2012-09-03 21:59:03 +02:00
Simon Dawson
73b18d9970 barebox: fix license information
The barebox license is GPLv2, and not GPLv2+.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-22 19:47:18 +02:00
Simon Dawson
2bec669184 xloader: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-21 12:09:28 +02:00
Simon Dawson
69d9ff2fb6 uboot: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-21 12:09:25 +02:00
Simon Dawson
f13cb75fb7 syslinux: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-21 12:09:23 +02:00
Simon Dawson
6643351d0b grub: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-21 12:09:20 +02:00
Simon Dawson
de2ac17e46 barebox: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-21 12:09:16 +02:00
Simon Dawson
ca0d69c61c at91bootstrap3: new package
Note that this new package, at91bootstrap3, is being added alongside the
existing at91bootstrap. This was suggested by Thomas Petazzoni, whose
comments on the mailing list are quoted below.

  For this package, I am not sure we can do a simple version bump. Since
  there is (was?) no upstream for AT91Bootstrap 1.x, many
  vendors/companies had to maintain their patches on top of AT91Bootstrap
  1.x. See for example
  board/calao/usb-a9263/at91bootstrap-1.16-usb-a9263.patch. Therefore,
  removing AT91Bootstrap 1.x from the tree will prevent those platforms
  to work. I know people should upgrade, but AT91Bootstrap 3.x is quite
  significantly different, so the porting effort is not that simple.

  Therefore, I'm wondering whether we should kee at91bootstrap as it is,
  and create a separate package at91bootstrap3 for the 3.x generation.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-17 17:58:16 +02:00
Vivien Didelot
80b43964d0 u-boot: add AIS target format
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-11 20:23:36 +02:00
Maxime Ripard
2a636d1521 Add MXS bootlets package
MXS platforms (imx23 and imx28) are relying on bootlets as their first
stage bootloaders, that can then either start a regular second stage
bootloader or directly a Linux kernel. However, the Makefile allows
only to build u-boot and linux images at the same time, which is
not very convenient as we will more likely use only one of them,
so we need to duplicate a bit what is already done so that we are able
to choose what we want to generate.

thomas.petazzoni@free-electrons.com:

 * Remove incorrect dependency on BR2_PACKAGE_ELFTOSB

 * Each board configuration option is for one board, not multiple
   boards, so use singular.

 * The i.MX28 support is for i.MX28 EVK only, reflect that in the
   option prompt and the option name.

 * Use 'generic-package' instead of GENTARGETS

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-21 00:34:57 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
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>
2012-07-17 20:23:05 +02:00
Arnout Vandecappelle (Essensium/Mind)
69e64c42b7 all packages: use new host-xxx-package macros
This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:18:03 +02:00
Aras Vaichas
d2ff1ac2b3 syslinux: bump to 4.05
* bump syslinux from 4.04 to 4.05
* add patch to fix build problem with 4.05, see
http://old.nabble.com/syslinux-fails-to-build-td34112447.html
* add util-linux dependency and make sure the build finds it

Signed-off-by: Aras Vaichas <aras.vaichas@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 19:45:06 +02:00
Marek Belisko
a1b7bec176 barebox: remove old version and add last 4 versions.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-04 00:01:14 +02:00
Marek Belisko
5e8d35e8e1 barebox: bump to 2012.07
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-04 00:00:24 +02:00
Luca Ceresoli
7212479492 u-boot: build signed image for OMAP processors
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-19 22:33:48 +02:00
Nicolas Dechesne
81302ba685 uboot: add a new binary format for u-boot.img
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>
2012-05-05 23:50:24 +02:00
Nicolas Dechesne
7c79537cff uboot: Add support for U-Boot SPL
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>
2012-05-05 23:48:01 +02:00
Gustavo Zacarias
d8ff5d2990 u-boot: bump to 2012.04.01 release
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>
2012-04-29 11:02:50 +02:00
Gustavo Zacarias
b3610f87a6 u-boot: add 2012.04 release
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2012-04-24 15:28:40 +02:00
Peter Korsgaard
40bbf5334a barebox: add 2012.04, remove 2011.12
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-19 09:21:30 +02:00
Peter Korsgaard
13ee02d063 syslinux: add upstream URL
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-29 22:21:43 +02:00
Peter Korsgaard
b50f7a832d barebox: fix 2012.03 typo
Thanks to Eric Bénard for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-07 16:26:50 +01:00
Peter Korsgaard
dc0589b7d6 barebox: add 2012.03 release
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-06 22:55:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD
defa3768ea barebox: add 2012.02, remove 2011.11
And mark 2011.12 as deprecated.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-06 23:25:10 +01:00
Thomas Petazzoni
502465e435 at91bootstrap: allow specification of a custom patch directory
Fixes bug #4664.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02 23:42:34 +01:00
Peter Korsgaard
88404d6b80 u-boot: only apply 2011.12 at91 patch if building 2011.12
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02 16:07:02 +01:00
Peter Korsgaard
84babf1c1a lpc32xxcdl: fix patch step
The lpc32xxcdl files have dos newlines, which our patch infrastructure
doesn't handle. Work around it by converting the affected files to unix
newlines before patching.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02 16:02:48 +01:00
Peter Korsgaard
a18e5eb09b boot: only show vendor-specific bootloaders for applicable arm variant
Atmel at91sam9 and NXP lpc32xx are both all arm926t, so only show
then if that arm variant is selected.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 23:46:48 +01:00
Alexandre Belloni
a82b3262b2 configs: at91sam926* use latest u-boot and mainline linux
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>
2012-02-01 23:46:48 +01:00
Alexandre Belloni
20695936ad lpc32xx: Add CDL to the available bootloaders
This will build kickstart and s1l for the selected board and install
them alongside u-boot.

Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 23:30:44 +01:00
Alexandre Belloni
14b600203b boot: Reorder entries alphabetically
Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 23:30:22 +01:00
Arnout Vandecappelle (Essensium/Mind)
9baaa5b4a3 syslinux: add support for host-install
This makes it possible to build the syslinux/extlinux installer, so a
bootable USB drive, CompactFlash or SD card can be created by a user
script.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-24 12:59:47 +01:00
Arnout Vandecappelle (Essensium/Mind)
48558c83cb syslinux: bump to version 4.04
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-22 22:56:47 +01:00
Peter Korsgaard
747946b596 barebox: add 2012.01, remove 2011.10
And mark 2011.11 as deprecated.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-09 09:47:28 +01:00
Peter Korsgaard
0c5f68a4d3 u-boot: remove 2010.x versions, deprecate 2011.03 / 2011.06
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02 17:00:34 +01:00
Gustavo Zacarias
7f63d39eeb u-boot: add version 2011.12
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02 15:56:37 +01:00
Peter Korsgaard
1010c311c4 barebox: add 2011.12 release, remove 2011.09
And mark 2011.10 as deprecated.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-11 22:36:01 +01:00
Gustavo Zacarias
a03182ad02 u-boot: add support for u-boot-nand.bin
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>
2011-12-01 16:50:05 +01:00
Gustavo Zacarias
0239612fb2 u-boot: add version 2011.09
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-01 16:50:03 +01:00
Peter Korsgaard
c3b72c6cd7 Merge branch 'next'
And kickoff 2012.02 cycle.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-01 09:56:54 +01:00
Danomi Mocelopolis
ec02a34b0a Prevent patch commands from accessing source control
Closes #4357

Add -g0 option to patch to ensure it doesn't try to access source control.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-26 21:56:25 +01:00
Peter Korsgaard
376a535fb3 u-boot: fix CUSTOM_PATCH_DIR documentation
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>
2011-11-19 19:56:50 +01:00
Peter Korsgaard
b5a574afcc barebox: add 2011.11.0, remove 2011.08.0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-19 17:01:18 +01:00
Peter Korsgaard
ce1940ddea barebox: add 2011.10, mark 2011.08 as deprecated
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-10 07:20:29 +02:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS 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>
2011-09-29 23:12:27 +02:00
Thomas Petazzoni
0849e8193e package: remove useless arguments from GENTARGETS
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>
2011-09-29 23:09:58 +02:00
Peter Korsgaard
dcb43a0eb0 barebox: patch-kernel.sh is no more
Thanks to Sven Neumann for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-19 10:13:37 +02:00
Peter Korsgaard
ad1fd97785 u-boot: clarify network settings submenu, disable override by default
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>
2011-09-18 22:12:34 +02:00
Peter Korsgaard
ec9ec06b56 boot: get rid of toplevel submenus
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>
2011-09-18 22:09:42 +02:00
Jean-Christophe PLAGNIOL-VILLARD
661c18bffd barebox: add support for custom version, tarball, git and patch dir
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:06:51 +02:00
Thomas Petazzoni
59a326b934 support: move patch-kernel.sh and rename it
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>
2011-09-17 08:15:32 +02:00
Peter Korsgaard
3e4d029219 barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 08:54:39 +02:00
Peter Korsgaard
cb6c2c4278 grub: fix patch handling after AUTOTARGETS conversion
Closes #4093

AUTOTARGETS doesn't handle compressed patches, so the '400' patch did
not get applied.

Fix it by extracting the patch. With this, the '500' patch is no longer
needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-26 07:16:23 +02:00
Jean-Christophe PLAGNIOL-VILLARD
83f1bf9e45 barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support
[Peter: only activate if barebox is enabled, fix deps]
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-24 14:43:56 +02:00
Jean-Christophe PLAGNIOL-VILLARD
ac7d781f7c barebox: bump version
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-09 20:11:11 +02:00
Peter Korsgaard
e5decb1905 uboot: fix custom patch dir typo
Noticed by robinmholt on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-19 14:00:19 +02:00
Peter Korsgaard
7a2fa1f8db uboot-tools: add fw_printenv, rename to uboot-tools
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>
2011-07-18 15:27:52 +02:00
Peter Korsgaard
908c5610cc uboot: unbreak kirkwood format handling after a4ca959321
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>
2011-07-14 13:41:29 +02:00
Peter Korsgaard
33c4e77c2a barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:46:22 +02:00
Thomas Petazzoni
e488c285b1 uboot: Add 2011.06, remove 2010.03
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:44:14 +02:00
Thomas Petazzoni
4a665aa945 at91dataflashboot: use "config" instead of "menuconfig"
Since at91dataflashboot has no suboption, using "menuconfig" is
useless and confusing, as it creates an empty submenu in the
configuration interface.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:41:59 +02:00
Thomas Petazzoni
6fa85c6c03 barebox: bump version
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:41:44 +02:00
Philippe Reynes
2269dfa356 Add x-loader bootloader
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

merge xloader
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:41:29 +02:00
Thomas Petazzoni
29679495b8 u-boot: allow specification of custom Git repo as source
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:41:00 +02:00
Thomas Petazzoni
b0d446dee4 Improve TARGETS handling for bootloaders and kernel
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>
2011-07-11 23:40:23 +02:00
Thomas Petazzoni
a4ca959321 u-boot: rename to uboot
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>
2011-07-11 23:39:52 +02:00
Thomas Petazzoni
5e0d46138f uboot-mkimage: new package
The mkimage for the host is now built by a package, so that
boot/u-boot/u-boot.mk is no longer responsible for doing this. It
makes things a lot easier to handle, as linux/linux.mk now simply
depends on host-uboot-mkimage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 21:30:03 +02:00
Thomas Petazzoni
e82604ccdd u-boot: convert to GENTARGETS
The feature of building mkimage for the target is removed, it wasn't
building with current U-Boot, and doesn't make a lot of sense (mkimage
is needed only to prepare a kernel image, or an U-Boot script).

The feature of building mkimage for the host is moved to a proper
package. It duplicates a few things (U-Boot URL, etc.) but it makes
things a lot cleaner than having it handled by boot/u-boot/u-boot.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 21:28:34 +02:00
Thomas Petazzoni
a5dc0cdced grub2: remove package
Grub 2 has been marked BROKEN in June 2010, and nobody cared to fix it
since then.

At that time, it was marked broken because the build process needed a
Ruby interpreter available on the host, and it's really a pain that
building a bootloader needs such a thing.

I've tried to upgrade the package to Grub2 1.99-rcX, and now it does
not need a Ruby interpreter anymore, but instead requires a tool
called "autogen", which itself needs the Guile Scheme interpreter.

Since we haven't heard any complaints about Grub2 being marked broken,
and since it's such a pain to package, let's get rid of it. Of course,
anybody interested in Grub2 is invited to contribute a working
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 15:31:16 +02:00
Thomas Petazzoni
a4f58506ac grub: convert to AUTOTARGETS
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 15:28:23 +02:00
Thomas Petazzoni
5391de7771 syslinux: convert to GENTARGETS
Moreover, the installation of pxelinux and/or isolinux is now handled
as suboptions, like we traditionally do for other packages. This allows
to have a single option (BR2_TARGET_SYSLINUX) that enables the
syslinux package.

[Peter: drop basename in install step]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 15:27:20 +02:00
Thomas Petazzoni
4346902ca9 at91dataflashboot: convert to GENTARGETS
This commit converts the at91dataflashboot bootloader build process to
GENTARGETS. It also does the following changes :

 * As the package directory name is at91dataflashboot, the
   configuration options and make variables are renamed to
   AT91DATAFLASHBOOT instead of DATAFLASHBOOT.

 * Since the board selection in Kconfig wasn't used anywhere, get rid
   of it. at91dataflashboot is only for AT91RM9200 apparently anyway.

[Peter: add ':=' -> '=' change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 15:16:11 +02:00
Thomas Petazzoni
df9624b73f at91bootstrap: convert to GENTARGETS
[Peter: add ':=' -> '=' change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 15:06:47 +02:00
Thomas Petazzoni
1ff88054a8 barebox: convert to GENTARGETS
[Peter: add ':=' -> '=' change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 13:57:48 +02:00
Peter Korsgaard
80eff66660 barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-15 00:07:28 +02:00
Gustavo Zacarias
4732f7aa82 u-boot 2011.03: fix mkimage build failure when u-boot isn't configured
When mkimage is built without the rest of u-boot (for kernel uImage
support), u-boot doesn't get configured for a specific board, so config.h
isn't created and the build breaks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 21:30:15 +02:00
Peter Korsgaard
5dd48b983d barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 13:23:02 +02:00
Luca Ceresoli
31fb724fd2 u-boot: add 2011.03 release
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24 23:37:43 +02:00
Peter Korsgaard
cdd4a7a061 u-boot: fix target build of fw_printenv
Closes #3571

The current approach for building fw_printenv for the target fails on
some configurations, so use the upstream make target (which works)
instead.

At the same time get rid of the unneeded stripping.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24 23:32:46 +02:00
Peter Korsgaard
f3de6d578b u-boot: remove extra CFLAGS / LDFLAGS handling
TARGET_CONFIGURE_FLAGS already contain CFLAGS/LDFLAGS, so no point in
setting them explicitly.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24 23:26:00 +02:00
Peter Korsgaard
950ee4585b grub: fix download URL
The Debian package snapshot service moved to an official debian.org
address last year (http://www.debian.org/News/2010/20100412) with a
slightly different URL structure, so adjust the download URL to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-13 21:42:06 +01:00
Peter Korsgaard
a157909eef u-boot: drop old 2009.xx versions
We use 'make tools' to build a mkimage for the host if needed by the
kernel (uImage) without having u-boot configured, but that only works
since the 2010.03 release:

http://git.denx.de/?p=u-boot.git;a=commit;h=c7c0d542a1990

So drop the old 2009.xx versions rather than having the build break
for people.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-23 16:46:07 +01:00
Mike Frysinger
871db074b1 initial support for Blackfin processors
[Peter: don't allow MMU on bfin]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 14:29:19 +01:00
Peter Korsgaard
4fb67dbb95 barebox: add option to build bareboxenv for target
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-06 21:40:19 +01:00
Peter Korsgaard
a7306b8aa5 barebox: use ccache if enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 20:53:05 +01:00
Martin Hicks
e3fb2ce122 Enable ccache for u-boot compile
Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.

Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 20:51:55 +01:00
Peter Korsgaard
01e46f8379 barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-06 12:25:33 +01:00
Mike Frysinger
1b4e24e80d u-boot: update default helper tools to 2010.12
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27 23:29:54 +01:00
Thomas Petazzoni
969de4de7e u-boot: add support for version 2010.12
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-25 23:21:43 +01:00
Thomas Petazzoni
cddfe67dd2 u-boot: add CROSS_COMPILE/ARCH when building host tools
Even when building the host tools, for some reason U-Boot tries to
execute the cross-compiler, so tell it which cross-compiler to use in
order to avoid failure such as:

/usr/bin/make -j12 -C /home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom tools
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom'
for dir in tools examples api_examples ; do /usr/bin/make -C $dir _depend ; done
Generating include/autoconf.mk
/bin/sh: line 3: arm-linux-gcc: command not found

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 15:06:45 +01:00
Thomas Petazzoni
913b7d3d6f barebox: bump Barebox to 2010.11
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 14:52:30 +01:00
Thomas Petazzoni
eb95b01fff u-boot: add U-Boot 2010.09
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 14:52:08 +01:00
Thomas Petazzoni
2ff655c2e1 at91bootstrap: no board name check when 'make source' is used
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 14:42:36 +01:00
Thomas Petazzoni
5b2d56068d at91bootstrap: rename config options for consistency
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 14:41:16 +01:00
Thomas Petazzoni
c1c881c08a at91bootstrap: switch to the official version
The Buildroot makefile was fetching and building the special
AT91Bootstrap of Ulf, which is not the Atmel official version. While
Ulf's variant has a better configuration/build system, the Atmel
version, as officially supported, is probably a better choice for the
future.

The Atmel version only needed a small tweak to work with EABI
toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 14:37:35 +01:00
Heiko Zuerker
87683d7e9c boot/syslinux: allow build on x86_64
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-29 21:47:48 +01:00
Peter Korsgaard
3e5e39a8a2 barebox/u-boot/linux: don't error out on missing config when make source
As it breaks 'make allyesconfig; make source', used for the source mirror.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28 14:43:25 +02:00
Peter Korsgaard
a0b6710b88 u-boot: pass ARCH/CROSS_COMPILE when running make <board>_config
Gets rid of a bunch of (ignored) errors about missing cross compiler.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 12:37:45 +02:00
Thomas Petazzoni
af0a3d1cde u-boot: fix custom patch handling
When U-Boot is enabled and no custom patch directory has been set,
then the current test:

  ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),"")

works. However, when U-Boot is not enabled, but still gets compiled
because mkimage is needed to build the kernel,
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR is completely empty. It does not
even have quotes. So the test in fact needs to be:

 ifneq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29 22:18:56 +02:00
Ossy
98d5a8bcd0 u-boot: fix custom patch dir handling
Signed-off-by: Ossy <ossy1980@gmx.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:45:48 +02:00
Peter Korsgaard
3cd5174ed7 u-boot: add Marvell u-boot.kwb support
Marvell boards like the sheevaplug needs a special .kwb image format,
so add an option for it similar to how we handle zImage/uImage/..
for the kernel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 16:14:41 +02:00
Peter Korsgaard
1acd72a1ab u-boot: fix version detection and get rid of unneeded double CFLAGS/LDFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-14 21:08:26 +02:00
Thomas Petazzoni
a1c8fa41f6 Update all packages to quote $(TARGET_CC)
Now that TARGET_CC contains several space-separated words, it must be
used quoted everywhere.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07 08:20:21 +02:00
Peter Korsgaard
b9997ca731 u-boot: add 2010.06 release
A few minor modifications of u-boot.mk is needed to support 2010.06:

- U-Boot now uses ARCH=powerpc like the kernel (instead of ARCH=ppc)
- Library files have moved, so adjust the target mkimage/fw_printenv rules
  (still compatible with older versions)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-05 16:54:45 +02:00
Thiago A. Correa
b1f184a0d8 Fix u-boot 2010.03 build for AVR32 targets
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23 23:00:42 +02:00
Peter Korsgaard
d2f6fcd1b4 at91dataflashboot: fix patch target
Touch destination file so the patch target isn't rerun for every
invocation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 23:06:37 +02:00
Peter Korsgaard
1e17790cf2 at91bootstrap: add help text
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 22:33:08 +02:00
Peter Korsgaard
db55d4b80a at91bootstrap: don't depend on BR .config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 22:21:11 +02:00
Thomas Petazzoni
6cc9d936a9 Add support for the Barebox bootloader
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 16:03:24 +02:00
Thomas Petazzoni
ef81363d69 at91dataflashboot: add two patches
The first patch allows to build with an EABI toolchain. The second
patch disables the install step of at91dataflashboot Makefile since it
tries to copy files to /tftpboot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:38:49 +02:00
Thomas Petazzoni
470888bede at91dataflashboot: add a patch step
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:38:48 +02:00
Thomas Petazzoni
a4c1f06350 at91dataflashboot: various fixes
Fix the URL, fix the directory to which it gets unpacked, fix make
target names to be lower-case only.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:38:48 +02:00
Thomas Petazzoni
21aa87d6c6 at91dataflashboot: fix configuration options
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:38:48 +02:00
Thomas Petazzoni
793f5faa33 at91bootstrap: fix AT91BOOTSTRAP_BINARY
Use AT91BOOTSTRAP_BOARD instead of BOARD_NAME. Remove
AT91BOOTSTRAP_VERSION from the final binary image name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:38:48 +02:00
Thomas Petazzoni
f195596132 at91bootstrap: fix install procedure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:38:47 +02:00