Commit Graph

136 Commits

Author SHA1 Message Date
Thomas De Schampheleire
73d757b714 linux: make vmlinux target available to all architectures
The 'vmlinux' target in the linux build directory is a generic target. It may
not be directly bootable for all architectures, but for projects where a custom
bootloader is used, it can be of value.

Previously, this target was only available for mips architectures. This patch
removes this restriction.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-14 16:20:53 +01:00
Sven Neumann
0693e5c9c7 linux: update stable kernel version to 3.1.1
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-14 13:13:25 +01:00
Kelvin Cheung
c1485d51e8 Add vmlinuz support in Kernel binary format for MIPS.
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-28 10:52:31 +02:00
Gustavo Zacarias
c4b0af9885 linux: vmlinux target is valid for powerpc too
The vmlinux kernel target is valid for powerpc kernels too.
In fact this broke the qemu sample config.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-25 08:17:10 +02:00
Gustavo Zacarias
80d7b68167 linux: bump default kernel to version 3.1
Bump default kernel vesion to 3.1 to match headers.
Also implement downloads for 3.x series kernels.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-24 17:49:13 +02:00
Thomas De Schampheleire
3011d23518 linux: Add Linux Kernel extensions menu
Add a kernel sub-menu (called "Linux Kernel Extensions"), which makes
possible to patch it or tweak the kernel build step.

 * All linux/linux-ext-*.mk files will be read by the make process.
 * The menu can be customized in "linux/Config.ext.in".

[Peter: small fixes]
Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:59:20 +02:00
Peter Korsgaard
ce205b5c56 linux: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 09:00:44 +02:00
Thomas Petazzoni
205fb19cdb linux: allow specification of a custom Git repository as a source
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:40:49 +02:00
Peter Korsgaard
a315ee3c66 linux: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 20:39:44 +02:00
Thomas Petazzoni
eff25f4cca linux: make it possible to install the kernel in /boot
[Peter: always copy to output/images as requested by Luca]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07 23:16:05 +02:00
Peter Korsgaard
d7a4ffa77d linux: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-24 11:34:24 +02:00
Peter Korsgaard
7d4f51dd44 linux: default to 2.6.39.1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09 12:03:40 +02:00
Peter Korsgaard
596fe25ea7 linux: bump 2.6.38.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-22 17:04:06 +02:00
Gustavo Zacarias
8f9537ff5a linux: bump 2.6.38 kernel to 2.6.38.6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-12 17:44:16 +02:00
Gustavo Zacarias
928a901cb0 linux: bump to version 2.6.38.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 15:06:19 +02:00
Gustavo Zacarias
63690434d9 linux: bump 2.6.38 kernel to 2.6.38.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:53:58 +02:00
Gustavo Zacarias
95d8da2612 linux: bump kernel to 2.6.38.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-21 23:36:49 +02:00
Martin Hicks
e2ed6c8e77 linux: Add support to specify special Kernel Image make target
This is useful for ARCHes like PowerPC that have a whole lot of
special targets for each different board.  The kernel image target
tells make which OpenFirmware machine description file is combined into
the kernel binary.

[Peter: fix long lines]
Signed-Off-By:  Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 14:53:46 +02:00
Peter Korsgaard
ffec8419f7 linux: use 2.6.38 by default
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 09:11:23 +01:00
Peter Korsgaard
cfde89c097 linux: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 00:02:55 +01:00
Peter Korsgaard
ed9737388f linux: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 12:00:37 +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
dc15930223 linux: add 2.6.37, remove 2.6.36
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-06 08:44:11 +01:00
Thomas Petazzoni
71c05023d7 linux: add support for ELF vmlinux image
The ELF vmlinux image found at the root of the kernel source tree is
the format that Qemu needs when emulating mips(el) or ppc targets, so
add support for it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-17 16:53:18 +01:00
Thomas Petazzoni
55b0a375ea linux: support a space-separated list of patches
The kernel being a component that often needs a fairly important set
of changes to be adapted to a particular hardware platform, having
maximum flexibility on the patching process is a nice
thing. Therefore, as per the discussions from the Buildroot Developer
Day, we add a mechanism to apply a list of patches (that could come
either from URLs, local files or local directories).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16 22:30:18 +01:00
Peter Korsgaard
862c928ce5 toolchain: bump 2.6.32.x / 2.6.36.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-10 10:47:42 +01:00
Gustavo Zacarias
372d8f2ae4 linux kernel: bump to version 2.6.36.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-29 20:11:33 +01:00
Peter Korsgaard
f3da749856 linux: default to 2.6.36
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-23 14:53:08 +02:00
Thomas Petazzoni
b626dc0791 linux: restrict output image formats to the appropriate arches
Some Linux kernel output image formats are available on some archs,
some not. For example 'uImage' is not supported on MIPS, so let's
prevent the user from making this selection.

Issue initially reported by Choi, David <David.Choi@Micrel.Com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-29 00:14:21 +02:00
Peter Korsgaard
7e7fce1b02 linux/kernel-headers: bump 2.6.32.x / 2.6.35.x stable versions
And add missing 2.6.35 patch.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 09:20:27 +02:00
Peter Korsgaard
4a7e9e8f2e linux: really bump default version to 2.6.35.5
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-21 16:54:55 +02:00
Peter Korsgaard
386c55dbba kernel-headers/linux: bump 2.6.35.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-21 12:18:44 +02:00
Peter Korsgaard
113d5d1adb linux: default to 2.6.35.4
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-06 09:39:38 +02:00
Peter Korsgaard
9d42e19476 linux: bump 2.6.34.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29 23:50:27 +02:00
Peter Korsgaard
95a14f57bf linux: fix BR2_LINUX_KERNEL_DEFCONFIG help text
Trailing _defconfig, not leading.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 21:28:03 +02:00
Thomas Petazzoni
487e21cff6 New, simpler, infrastructure for building the Linux kernel
This patch introduces a single, simple, infrastructure to build the
Linux kernel. The configuration is limited to :

 * Kernel version: a fixed recent stable version, same as kernel
   headers version (for internal toolchains only), custom stable
   version, or custom tarball URL

 * Kernel patch: either a local file, directory or an URL

 * Kernel configuration: either the name of a defconfig or the
   location of a custom configuration file

 * Kernel image: either uImage, bzImage, zImage or vmlinux.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22 21:20:25 +02:00