summaryrefslogtreecommitdiffstats
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* linux: make it possible to install the kernel in /bootThomas Petazzoni2011-07-072-0/+11
| | | | | | [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>
* linux: bump 2.6.39.x stable versionPeter Korsgaard2011-06-241-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: default to 2.6.39.1Peter Korsgaard2011-06-091-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.38.x stable versionPeter Korsgaard2011-05-221-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.38 kernel to 2.6.38.6Gustavo Zacarias2011-05-121-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Create menu entry to select device creation methodYegor Yefremov2011-05-091-0/+7
| | | | | | | | | | | | | | | | | | Four methods for the creation of device files in /dev are now proposed: - static method uses device table as before - devtmpfs method enables this feature in kernel - mdev method adds mdev starting script to the file system and selects mdev itself for installation - udev method selects udev for installation All dynamic methods are based on devtmpfs, so one doesn't need to care about /dev folder. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump to version 2.6.38.5Gustavo Zacarias2011-05-031-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.38 kernel to 2.6.38.4Gustavo Zacarias2011-04-271-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump kernel to 2.6.38.3Gustavo Zacarias2011-04-211-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: Add support to specify special Kernel Image make targetMartin Hicks2011-04-012-0/+22
| | | | | | | | | | | 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>
* linux: use 2.6.38 by defaultPeter Korsgaard2011-03-151-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.37.x stable versionPeter Korsgaard2011-03-151-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.37.x stable versionPeter Korsgaard2011-02-251-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initial support for Blackfin processorsMike Frysinger2011-02-072-1/+6
| | | | | | | [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>
* Enable ccache for kernel compileMartin Hicks2011-02-011-1/+1
| | | | | | | 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>
* linux: add 2.6.37, remove 2.6.36Peter Korsgaard2011-01-061-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix linux- aliasesPeter Korsgaard2010-12-271-7/+5
| | | | | | | The generic linux-% alias conflicts with the linux-fusion package, so add explicit aliases instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: don't force IPv6 configuration in kernelThomas Petazzoni2010-12-221-5/+0
| | | | | | | | | | | | | | | | | | | As per the discussion at http://lists.busybox.net/pipermail/buildroot/2010-December/040030.html, remove the bits that forced the IPv6 configuration in the kernel depending on the toolchain ability to support (or not) IPv6. You may have a toolchain with IPv6 support but still don't want to have IPv6 in your kernel. The only parameters we adjust in the kernel configuration are: * ARM EABI, since we got a lot of bug reports regarding misconfigured kernel compared to the ABI used by userspace applications. * initramfs, since its contents are generated by Buildroot itself Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix linux-% shortcut targetsBjørn Forsman2010-12-191-1/+1
| | | | | | | | | | | linux-% shortcut targets (short for linux26-%) ignores the ouput dir $(O) so that 'make O=output.arm linux-menuconfig' is actually run in the default $(O) directory output/ and not in output.arm/. Fix by passing on $(O) if set. [Peter: Use EXTRAMAKEARGS] Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: support 'make linux26-nconfig'Bjørn Forsman2010-12-191-1/+1
| | | | | Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add KERNEL_ARCH_PATH to fix x86-specific issueThomas Petazzoni2010-12-171-4/+16
| | | | | | | | | | | | | Both i386 and x86_64 architectures are supported by the arch/x86 directory in the kernel. So, when we copy the kernel configuration file to arch/$(KERNEL_ARCH)/configs/, it does not work because arch/i386 and arch/x86_64 do not exist. So, we introduce KERNEL_ARCH_PATH, which is the path to the architecture specific directory in the kernel source tree. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add support for ELF vmlinux imageThomas Petazzoni2010-12-172-0/+10
| | | | | | | | | 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>
* linux: support a space-separated list of patchesThomas Petazzoni2010-12-162-16/+16
| | | | | | | | | | | | 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>
* linux: Import minimal defconfigs as defconfigsThomas Petazzoni2010-12-161-1/+3
| | | | | | | | | | | | | | Now that minimal kernel defconfigs are used in Buildroot, the problem is that copying those minimal configuration files to .config in the kernel source tree does not work, as kconfig will ask interactively what should be the value for all unspecified options. On suggestion on Sam Ravnborg, the easiest way to solve this is to import the minimal defconfig file as a defconfig inside the kernel tree (in arch/$(ARCH)/configs) and configure the kernel with it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: restore DEPMOD usageMike Frysinger2010-12-111-1/+1
| | | | | | | | | | | | | The linux.mk rewrite lost the DEPMOD setting while installing modules which means depending on host-module-init-tools has been useless. Instead, the build system has been executing /sbin/depmod. While we're here, drop the INSTALL_MOD_PATH since LINUX26_MAKE_FLAGS already contains it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add shorter shortcutsMike Frysinger2010-12-111-0/+3
| | | | | | | | | We only have one Linux kernel package, and "linux26-" is an anachronism in today's world. So add useful "linux-%" shortcuts to the "linux26-%". Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: set a few more initramfs opts for newer kernelsMike Frysinger2010-12-111-0/+3
| | | | | | | | | | | Building with linux-2.6.36 and initramfs support causes the build to pause while it prompts for newer options (uid/gid/compression). So have the build system inject the newer options into the linux config automatically. Older versions should just ignore these. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: bump 2.6.32.x / 2.6.36.x stable versionsPeter Korsgaard2010-12-101-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: drop LDFLAGS overrideMike Frysinger2010-12-071-1/+0
| | | | | | | | | | The current linux code overrides LDFLAGS that the kernel itself might be setting up. Looking at the history, there doesn't seem to be any reason for this override. It was added in ea8b1fa6a60705 without any logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux kernel: bump to version 2.6.36.1Gustavo Zacarias2010-11-291-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update paths to compiled cpio filesMike Frysinger2010-11-171-1/+1
| | | | | | | | | | Linux has been using "usr/initramfs_data.cpio" for a few releases as the generated cpio name, so the buildroot match of "...cpio.*" won't actually clean out the previous result. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: default to 2.6.36Peter Korsgaard2010-10-231-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sed: get rid of host-sed variantPeter Korsgaard2010-09-301-1/+1
| | | | | | | | And all the infrastructure surrounding it. A broken sed implementation is quite rare nowadays, as seen by the fact that the current host-sed support has been broken for a while, so just get rid of it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix uImage location on AVR32Thomas Petazzoni2010-09-291-0/+4
| | | | | | | | | | On most architectures, the kernel image can be found in arch/<ARCH>/boot, but on AVR32, it's in arch/<ARCH>/boot/images. Issue initially reported by Joachim Pihl <joachim.pihl@sensordevelopments.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux: restrict output image formats to the appropriate archesThomas Petazzoni2010-09-292-5/+7
| | | | | | | | | | 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>
* barebox/u-boot/linux: don't error out on missing config when make sourcePeter Korsgaard2010-09-281-1/+4
| | | | | | As it breaks 'make allyesconfig; make source', used for the source mirror. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux/kernel-headers: bump 2.6.32.x / 2.6.35.x stable versionsPeter Korsgaard2010-09-271-3/+3
| | | | | | And add missing 2.6.35 patch. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: really bump default version to 2.6.35.5Peter Korsgaard2010-09-211-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers/linux: bump 2.6.35.x stable versionPeter Korsgaard2010-09-211-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: don't force no initramfsThomas Petazzoni2010-09-151-3/+0
| | | | | | | | | | | | | | | | When initramfs was not selected as a root filesystem, we forcefully disabled the initramfs in the kernel configuration. However, it prevents an user from manually managing its initramfs, as we override the option he has set in his kernel configuration file. There's no real reason to do so: when initramfs is not selected as the root filesystem, just don't touch initramfs related options in the kernel configuration. Problem reported by Sergey Naumov <sknaumov@gmail.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: default to 2.6.35.4Peter Korsgaard2010-09-061-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'fixes-20100729' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-07-301-0/+13
|\
| * linux: more mistake detectionThomas Petazzoni2010-07-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just as we do for U-Boot, error out in the Linux kernel makefile when the defconfig name or the configuration file path are not correct. What prompted me to implement this was a report on IRC from an user using BR 2010.05 and not understand why the kernel build process was failing. It was because he just forgot to set the path of the configuration file. Of course, it doesn't catch all mistakes (like pointing to a non-existing defconfig or to a non-existing configuration file), but it at least catches basic mistakes. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | linux: bump 2.6.34.x versionPeter Korsgaard2010-07-291-1/+1
|/ | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: linux26-{menu,x,g}config needs host-sedPeter Korsgaard2010-07-201-1/+1
| | | | | | | Similar to how it's done for uclibc-menuconfig. Reported-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix BR2_LINUX_KERNEL_DEFCONFIG help textPeter Korsgaard2010-07-181-1/+1
| | | | | | Trailing _defconfig, not leading. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add support for initramfsThomas Petazzoni2010-06-221-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Buildroot, the kernel is built and installed *before* the root filesystems are built. This allows the root filesystem to correctly contain the kernel modules that have been installed. However, in the initramfs case, the root filesystem is part of the kernel. Therefore, the kernel should be built *after* the root filesystem (which, in the initramfs case simply builds a text file listing all files/directories/devices/symlinks that should be part of the initramfs). However, this isn't possible as the initramfs text file would lack all kernel modules. So, the solution choosen here is to keep the normal order: kernel is built before the root filesystem is generated, and to add a little quirk to retrigger a kernel compilation after the root filesystem generation. To do so, we add a ROOTFS_$(FSTYPE)_POST_TARGETS variable to the fs/common.mk infrastructure. This allows individual filesystems to set a target name that we should depend on *after* generating the root filesystem itself (contrary to normal ROOTFS_$(FSTYPE)_DEPENDENCIES, on which we depend *before* generating the root filesystem). The initramfs code in fs/initramfs/initramfs.mk uses this to add a dependency on 'linux26-rebuild-with-initramfs'. In linux/linux.mk, we do various things : * If BR2_TARGET_ROOTFS_INITRAMFS is enabled (i.e if initramfs is enabled as a root filesystem type), then we create an empty rootfs.initramfs file (remember that at this point, the root filesystem hasn't been generated) and we adjust the kernel configuration to include an initramfs. Of course, in the initial kernel build, this initramfs will be empty. * In the linux26-rebuild-with-initramfs target, we retrigger a compilation of the kernel image, after removing the initramfs in the kernel sources to make sure it gets properly rebuilt (we've experienced cases were modifying the rootfs.initramfs file wouldn't retrigger the generation of the initramfs at the kernel level). This is fairly quirky, but initramfs really is a special case, so in one way or another, we need a little quirk to solve its specialness. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux: add support for linux26-{menuconfig,xconfig,gconfig} targetsThomas Petazzoni2010-06-221-2/+6
| | | | | | | | | These targets allow the user to customize the configuration of the Linux kernel. After changing the kernel configuration, the next time the user runs "make", the kernel is rebuilt to take into account the new configuration (not rebuilt from scratch). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux: adjust kernel config according to the Buildroot configurationThomas Petazzoni2010-06-221-0/+10
| | | | | | | | | We only adjust the configuration or ARM EABI and IPv6. The (more complicated) initramfs case is handled in a separate commit. The user is expected to take care of all other configuration details (like having Netfilter enabled to make iptables work, etc.) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux: Add dependency on host-module-init-toolsThomas Petazzoni2010-06-221-1/+1
| | | | | | | | In order to not depend on module init tools being installed on the development environment of the Buildroot user, let's build module init tools for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>