summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
AgeCommit message (Collapse)AuthorFiles
2014-12-27kmod: upgrade to 19Chen Qi3
0001-Add-missing-O_CLOEXEC-in-kmod_module_get_size.patch is dropped as it's in the new version. Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch is modified to match the new version. License chesum is changed but it is confirmed that the license information is not chagned. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-22linux-yocto: Fixup linux-yocto for aarch64Mark Hatle3
linux-yocto is updated to pass the sysroot path to the compiler when necessary. linux-yocto_ver.bb are updated to reference the correct linux-yocto branchs and SRCREVs. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-22kexec-tools: add aarch64 supportKai Kang3
Add patch from https://fedorapeople.org/~hrw/aarch64/for-fedora/kexec-aarch64.patch to add aarch64 support for kexec-tools. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-22lttng: recognize aarch64Joe Slater2
Add aarch64 architecture to liburcu and lttng-ust. Internally it is treated the same as "arm". Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-22sysprof: disable build for aarch64Joe Slater1
Add COMPATIBLE_HOST to the recipe and prohibit building for aarch64 and aarch64_be. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21linux-yocto: depend on libgcc for aarch64Kai Kang1
Make aarch aarch64 kernel depend on libgcc. In arch/arm64/Makefile, it adds LIBGCC to libs-y: LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) libs-y += $(LIBGCC) In file Makefile in top directory, libs-y is assigned to to var KBUILD_VMLINUX_MAIN. It uses script link-vmlinux.sh to link vmlinux.o, and when execute function vmlinux_link() in link-vmlinux.sh, KBUILD_VMLINUX_MAIN is passed to ${LD}. If build without libgcc, the value of LIBGCC is just libgcc.a without parent directory. linux-yocto fails to build: | LD vmlinux.o | aarch64-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory Add libgcc to aarch64 kernel dependency. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21kernel-devsrc: Ensure we have a dependency on the actual sourceRichard Purdie1
Tthe kernel populate_sysroot can come from sstate, we need the full source here. We therefore depend on the configure task which isn't covered by sstate to ensure we get the right set of files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21kernel-devsrc: Ensure we don't race against do_make_scripts from ↵Richard Purdie1
module-base.bbclass do_install for kernel-devsrc can race against do_make_scripts from module-base.bbclass. Since there is a lock there to guard against concurrency already, we can just use it here to avoid a race. Ultimately, this can all likely be much more streamlined but this resolves the immediate build failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21kernel-devsrc: Handle ppc crtsaves.o explictly for nowRichard Purdie1
Resolve kernel module build failures for qemuppc by including crtsaves.o. I'm not particularly happy to be doing this, it should perhaps be contained in the kernel-dev package. Until the overlap between kernel-devsrc and kernel-dev is resolved, this at least removed the regressions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20kernel-devsrc: Inherit module-baseRichard Purdie1
As a "normal" recipe, mulitlib would try and extend it for multilibs. By inheriting module-base, we can avoid this since we now look more 'kernel' like. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20linux-libc-headers: Upgrade 3.17 -> 3.17.7Richard Purdie2
Whilst we don't usually take linux-libc-headers point release, 3.17.3 fixes a userspace header issue which caused gdb to fail to build on mips. We therefore may as well upgrade to the latest point release. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20linux-libc-headers: update to 3.17Bruce Ashfield2
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20linux-yocto/3.14: update to 3.14.26, integrate ltsi and -rt updatesBruce Ashfield3
Updating the 3.14 tree to the latest korg 3.14.26, as well as integrating 3.14 LTSI content, and refreshing preempt-rt. Minor conflict resolutions were performed between ltsi, stable and -rt Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.10: update to v3.10.62Bruce Ashfield3
Updating to the latest korg -stable update for the 3.10 series. Minor merge conflict resolution was done with the standard/ltsi and standard/preempt-rt branches. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.17: update to v3.17.6Bruce Ashfield2
Integrating the latest korg -stable update for v3.17 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20lttng-modules: fix mm_compaction_isolate_template buildBruce Ashfield2
linux-stable integrated the 3.16 commit f8c9301fa5a2a [mm/compaction: do not count migratepages when unnecessary] with the 3.14.25 update. So we have to update the lttng-module linux version codes to use the new definition in builds greater than 3.14.24 or 3.16. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.14: update to v3.14.24Bruce Ashfield3
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.10: update to v3.10.59Bruce Ashfield3
Updating to the latest 3.10 -korg stable update. We also bring in a meta change for the valley island IO configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.17: update to v3.17.2Bruce Ashfield2
Updating to the korg 3.17.2 -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.17: update to v3.17.1Bruce Ashfield2
Updating to the kver to the latest korg stable update. This fixes some important bugs (as well as the usual mix of more minor ones), in particular libata bugs and SSD corruption issues are fixed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20lttng/perf: depend on virtual/kernel:do_installBruce Ashfield2
To ensure that the minimal environment has been created for out of tree module builds, perf and lttng should depend on the do_install task of the kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20kerneldev: create kernel-devsrc packagingBruce Ashfield1
kernel-devsrc is responsible for creating and a packaging an environment appropriate for kernel development (on or off target). To create this support, we only need to copy/install the results of the virtual/kernel providers build in the staging dir ... with some minor manipulations to the source tree (.git removal and a clean up). This produces a source tree that is capable of rebuilding the kernel on the target. Installing the kernel-devsrc package on a target (along with a toolchain) is all that remains to be done. $ cd /usr/src/kernel $ make oldconfig $ make -j2 bzImage Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20kernel: Rearrange for 1.8Richard Purdie1
In 1.8 we want to streamline the kernel build process. Basically we currently have multiple copies of the kernel source floating around and the copying/compression/decompression is painful. Lets assume we have a kernel source per machine since in most cases this is true (and we have a sysroot per machine anyway). Basically, instead of extracting a source into WORKDIR, then copying to a sysroot, we now set S to point straight at STAGING_DIR_KERNEL. Anything using kernel source can then just point at it and use: do_configure[depends] += "virtual/kernel:do_patch" to depend on the kernel source being present. Note this is different behaviour to DEPENDS += "virtual/kernel" which equates to do_configure[depends] += "virtual/kernel:do_populate_sysroot". Once we do this, we no longer need the copy operation in do_populate_sysroot, in fact there is nothing to do there (yay). The remaining part of the challenge is to kill off the horrible do_install. This patch splits it off to a different class, the idea here is to have a separate recipe which depends on the virtual/kernel:do_patch and just installs and packages the source needed to build modules on target into a specific package. Right now this code is proof of concept. It builds kernels and kernel modules. perf blows up in do_package with issues on finding the kernel version which can probably be fixed by adding back the right bit of do_install, and adding a dependency of do_package[depends] += "virtual/kernel:do_install" to perf. The whole thing needs a good write up, the corner cases testing and probably a good dose of cleanup to the remaining code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19powertop: Fix build for !uclibcMartin Jansa1
* EXTRA_LDFLAGS isn't defined for !uclibc and configure fails when it reads it unexpanded, see config.log snippet: configure:4177: checking whether the C compiler works configure:4199: i586-oe-linux-gcc -m32 -march=i586 --sysroot=/OE/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed ${EXTRA_LDFLAGS} conftest.c >&5 i586-oe-linux-gcc: error: ${EXTRA_LDFLAGS}: No such file or directory configure:4203: $? = 1 configure:4241: result: no Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-19oprofile: add missing Upstream-StatusRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-11babeltrace: Update to 1.2.4Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-11dtc: don't use autotools as this doesn't use autotoolsRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05powertop: update version number from 2.6.1 to 2.7Ezra Savard1
The v2.7 release of powertop fixes devfreq support for ARM, along with other bug fixes. v2: deletes old file v3: fixed SRC_URI and checksums Signed-off-by: Ezra Savard <ezra.savard@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03babeltrace: Upgrade to 1.2.3Saul Wold3
Remove backported patches Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-11-21dtc: old SRC_URI died, changing to new working oneKrzysztof Sywula1
Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12linux-firmware: upgrade to git rev 0e5f637Cristian Iorga1
- Intel iwlwifi firmware copyright years changed. - Cleanup and updates for Intel wireless firmware. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09oprofile: 0.9.9 -> 1.0.0Richard Purdie10
opcontrol is now dropped and replaced with the operf interface. As such, we drop the opstart/opstop commands and any patches related to the old removed interfaces. Some patches were also mered upstream so those are also dropped. There is also a problem found on mips with the security flags enabled, the patch has more specific details. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09systemtap: Upgrade to 2.6 Git VersionSaul Wold2
Remove backported patch Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-08base: Improve makefile clean handling, introduce CLEANBROKEN variableRichard Purdie2
It turns out we have quite a number of Makefiles out there without a clean target. Rather than have all cases code an empty do_configure, add a CLEANBROKEN variable which when set to "1" will disable the attempt to "make clean". This patch also adjusts various recipes which either have this problem fixed, or have been reported to have make clean failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-06kexec-tools: 2.0.7 -> 2.0.8Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-04kmod: fix debuginfo is missing in shared libraryChong Lu2
INHIBIT_PACKAGE_STRIP variable will make debuginfo lose in shared library. The test cases of kmod contain kernel modules for many different architectures, strip and arch gets confused and throws errors. Pack kernel modules in test cases to avoid strip command failed. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-10-24linux-yocto/3.17: v3.17 release and configBruce Ashfield2
Updating the SRCREVs to incoroprate the full 3.17 release, and also updating the meta data to match the v3.17 content: 9ba007f8d0ab meta: bump kver to v3.17-final 5c6c5fe9b0bf config: remove CONFIG_HOTPLUG 0ceecad5f15a qemu: explicitly include usb configuration fragments f6c78ada8655 gfx: convert CONFIG_TABLET_USB_WACOM to CONFIG_HID_USB_WACOM cd1dbedfa3c9 x86: Support 32 bit binaries Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-10-24linux-yocto/3.10: 8250/8250_dw: fix compile failure due to stable/Yocto conflictBruce Ashfield3
Updating the SRCREVs for the following fix: 8250/8250_dw: fix compile failure due to stable/Yocto conflict As of merge 60a9d9fc565e4503dbb8705803e83d906afc4ad2, "Merge tag 'v3.10.48' into standard/base" the 8250_dw.c fails to compile due to an undeclared variable. This happens because stable brought in: ------------------------- commit 6d5e79331417886196cb3a733bdb6645ba85bc42 Author: Tim Kryger <tim.kryger@linaro.org> Date: Tue Oct 1 10:18:08 2013 -0700 serial: 8250_dw: Improve unwritable LCR workaround commit c49436b657d0a56a6ad90d14a7c3041add7cf64d upstream. [...] [wangnan: backport to 3.10.43: - adjust context - remove unneeded local var] Signed-off-by: Wang Nan <wangnan0@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ------------------------ ...which deletes the p->private_data declaration since it became unused at that point, however in Yocto, we also have this: ----------------------- commit 0e02b050c3cafbcbf9952125089a27e02d6ecea9 Author: David Daney <david.daney@cavium.com> Date: Wed Jun 19 20:37:27 2013 +0000 tty/8250_dw: Add support for OCTEON UARTS. [...] Signed-off-by: Ralf Baechle <ralf@linux-mips.org> (cherry picked from commit d5f1af7ece96cf52e0b110c72210ac15c2f65438) Signed-off-by: Darren Hart <dvhart@linux.intel.com> ----------------------- ...which _adds_ another user of the p->private_data. Here we restore the declaration in order that 8250_dw compiles. Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> [PG: add root cause info to commit log.] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-10-10latencytop: Creates x11 PACKAGECONFIG.Noor1
* Creates x11 packageconfig and update DEPENDS and EXTRA_OEMAKE_X for better handling. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
2014-10-01perf: fix undefined pr_* routinesBruce Ashfield1
When cross compiling libunwind support for ARM a missing debug include means that pr* macros are not expanded, and hence link failures on the undefined functions. Since we must be compatible with many versions of the kernel and perf, we sed the proper include into the files, while the permanent fix goes upstream to the mainline kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-01linux-yocto/3.17: update to v3.17-rc7Bruce Ashfield2
Updating the 3.17 tree to the rc7 release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-01linux-yocto/3.14/3.17: allmodconfig/allyesconfig build fixesBruce Ashfield5
It was found that some of the recent feature merges for 3.14/3.17 are not allmodconfig and allyesconfig safe. Since this is a basic test before kernel patches are submitted, we've fixed the features to meet this standard. Integrating the following fixes from Paul Gortmaker: b4213d81ea3f fat: don't use obsolete random32 call in namei_vfat 2cc7eba15c1f cryptodev: stomp dynamic version numbering for in tree builds 5d1dda7aae4b Target/dif: Introduce protection-passthough-only mode 3d9772d8facf vhost: fix compile fail due to reallocated acked_features field. efad59d3a174 virtio-scsi.h: Add virtio_scsi_cmd_req_pi + VIRTIO_SCSI_F_T10_PI bits 902f34d36102 aufs: apply aufs3-mmap.patch from 3.14 branch 30efc2e9484e aufs: import core files from aufs3.14 20140915 e42f87adef10 Revert "aufs: aufs3-mmap.patch" a818774bd338 Revert "aufs: core aufs filesystem" Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-01linux-yocto/3.14: revert BFP feature, and fix intel-common -rtBruce Ashfield3
The BPF feature is causing build failures, so we are reverting it for now. In this update we also have the following fix for -rt: fb6271a942b5 intel: Remove the standard ktype nesting Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-01linux-yocto/3.14/3.17: menuconfig and cryptodevBruce Ashfield5
Two issues were reported with the 3.14 kernel, cryptodev was not properly building and working on all devices, and menuconfig was not working on some hosts. To fix this, we pull in the latest cryptodev updates, and restore an old ncurses patch for menuconfig. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-01kern-tools: fix overly greedy path relocationsBruce Ashfield1
During patch processing a consolidated set of configs, patches and directives is created under the kernel source tree being modified. During that processing, absolutely paths are converted to relative. It has been found that if directories are sufficiently similar, like so: /path/to/my-linux /path/to/my-linux-3.16 The processing will chop to much of some paths, resulting in invalid relative directories (like -3.16 in the above example). Importing the following two kern tools fixes for the issue: 23345b8846fe kgit: retain trailing / in directory processing a8cf93a3bc94 kgit-s2q: move subject and diffstat mismatch to 'fuzzy' matching [YOCTO: #6753] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29oprofile: eliminate git recipeJoe Slater1
oprofile_git.bb does not unpack because it stills uses INC_PR, which is no longer expanded. If one fixes that, patching fails. Since there is another, later, version oprofile recipe, we might just as well get rid of this one. Signed-off-by: Joe Slater <jslater@windriver.com>
2014-09-29lttng-modules: fix build issues with the v3.17 kernelNitin A Kamble2
The lttng-modules recipe was failing for meta-intel BSPs with the v3.17 kernel. These BSP kernels were enabling some of the audio codec drivers, whose structures are changed recently, causing mismatch with lttng-modules code expectations. The qemu machines did not see this issue as they were not enabling these sound codec kernel configuration. Fix the build issue, by changing the lttng-modules code to match with the structures used by the v3.17 kernel. The code is conditional on the kernel version, that way it keeps working with the older kernel versions. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2014-09-29babeltrace: Add missing bison/flex depensencies.Noor1
* babeltrace do_configure failed due to missing flex/bison dependencies. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29perf: fix issue about package splittingChong Lu1
Currently, perf can't split to perf-archive, perf-tests, perf-python and perf-perl. All files are included in perf package. Change the perfexecdir variable to make split successfull. Add python to RDEPENDS_perf-tests. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-23systemtap: disable libvirtWenzong Fan3
libvirt is automatically linked to if present, this undetermined dependency may cause build errors like: ../lib/libvirt.so: undefined reference to `libssh2_channel_open_ex' ../lib/libvirt.so: undefined reference to `libssh2_session_hostkey' ... Both libvirt and libssh2 are not oe-core recipes for now, just disable libvirt to fix this issue. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>