summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
AgeCommit message (Collapse)AuthorFiles
2014-08-11trace-cmd: fix recompile errorRobert Yang1
Fixed: make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop. make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .parse-events.d isn't regenerated when recompile, the content of it are: [snip] parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .parse-events.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-11kernelshark: add dependency on libxml2Martin Jansa1
* fixes floating dependency: kernelshark-1.2+gitAUTOINC+7055ffd37b: kernelshark rdepends on libxml2, but it isn't a build dependency? [build-deps] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-11trace-cmd: Update to version 2.3.2Yasir-Khan6
Current trace-cmd version 1.2 throws "recorder error in splice input" error while recording a trace on kernel version 3.10. Update the trace-cmd version to latest 2.3.2 to resolve this error and drop the redundant patches. * patches dropped - not needed anymore - trace-cmd-Add-checks-for-invalid-pointers-to-fix-seg.patch - backport - trace-cmd-Do-not-call-stop_threads-if-doing-latency-.patch - backport - trace-cmd-Setting-plugin-to-nop-clears-data-before-i.patch - backport - trace-cmd-fix-syntax-error-of-shell.patch - backport Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-11kexec-tools: reinstate 'kexec-tools' packageKoen Kooi1
The vmcore commit emptied out ${PN} leading to things like: Collected errors: * opkg_install_cmd: Cannot install package kexec-tools. Let's do the right thing and make ${PN} an empty meta-package that drags in all tools like people expect it to do. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-11kernelshark: fix recompile errorRobert Yang1
Fixed: make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop. make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .parse-events.d isn't regenerated when recompile, the content of it are: [snip] parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .parse-events.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-11kexec-tools: fix recompile errorRobert Yang1
Fixed: NOTE: make -j 32 make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `kexec/kexec.o'. Stop. This happens when upgrade gcc from 4.9.0 to 4.9.1, and the kexec/kexec.d isn't regenerated when recompile, the content of it are: [snip] kexec/kexec.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the kexec/kexec.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove kexec/kexec.d and other similar files will fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-06perf: fix indentationMartin Jansa1
* multiline variables should use spaces not tabs for indentation * do_configure is also using wrong indentation, but I'm not fixing this one (still hoping that we'll eventually fix styleguide to use 4 spaces everywhere) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06perf: explicitly disable libunwindMartin Jansa1
* it's not included in DEPENDS and it's detected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06kexec-tools: Create separate package for vmcore-dmesgRicardo Neri1
The kexec-tools recipe already specifies separate packages for kexec and kdump. Thus, it follows that a separate package can also be used to install vmcore-dmesg granularly. Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-25kern-tools: adjust to full history meta-dataBruce Ashfield1
In order to generate and support kernel trees with full history, we need to modify the kernel tools e914d570232a kgit-checkpoint: ensure that full meta-data artifacts are maintained 192be836d318 kgit-scc: allow meta-data history to be maintained Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25linux-yocto/3.14: libata and generic CPU modalias handlingBruce Ashfield3
Updating the 3.14 yocto kernel to incorporate the following fix and feature of interest. 5724bf17acbf x86: align x86 arch with generic CPU modalias handling 6b9a52451a78 cpu: add generic support for CPU feature based module 38367de316bb libata: support the ata host which implements a queue depth less than 32 [YOCTO: #6489] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25linux-yocto-dev: bump to v3.16+Bruce Ashfield1
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25linux-yocto: x86_64: expand kernel stack to 16KBruce Ashfield3
Updating to backport the following mainline commit: [ x86_64: expand kernel stack to 16K commit 6538b8ea886e472f4431db8ca1d60478f838d14b upstream While I play inhouse patches with much memory pressure on qemu-kvm, 3.14 kernel was randomly crashed. The reason was kernel stack overflow. When I investigated the problem, the callstack was a little bit deeper by involve with reclaim functions but not direct reclaim path. .... ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25lttng-modules: re-enable ARM buildsBruce Ashfield1
With lttng 2.4.2 and gcc 4.9, we can now enable lttng-modules for ARM. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25lttng-modules: update to 2.5.0Bruce Ashfield4
During the uprev of the yocto kernel to 3.16, lttng-modules failed to build. To grab the latest stable content, we update to 2.5.0, and add two patches to also make it build against 3.16+. We also drop the older 2.3.3 lttng-modules, since it is no longer required to support ARM builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25linux-yocto/3.14: vexpress and MVM firmware supportBruce Ashfield3
Updating the 3.14 SRCREVs to integrate the following changes: meta: iwlwifi: Add MVM firmware support vexpress: Pass LOADADDR to Makefile Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-23perf: remove CFLAGS overrideTing Liu1
definition of __SANE_USERSPACE_TYPES__ was added in kernel source by commit e3541ec75219819d3235f80125a1a75d798ff6e1 perf tools, powerpc: Fix compile warnings in tests/attr.c Overriding the CFLAGS makes it impossible for kernel build system to append to it, thus making the build fail in various ways as: | CC /.../perf/1.0-r9/perf-1.0/perf.o | In file included from builtin.h:4:0, | from perf.c:9: | util/util.h:74:24: fatal error: lk/debugfs.h: No such file or directory | #include <lk/debugfs.h> | ^ | compilation terminated. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-19kernelshark: Remove trace-cmd from the kernelshark packageDarren Hart1
Fixes [YOCTO 6550] Images installing both trace-cmd and kernelshark would fail with: error: file /usr/bin/trace-cmd conflicts between attempted installs of kernelshark-1.2+git0+7055ffd37b-r3.core2_32 and trace-cmd-1.2+git0+7055ffd37b-r3.core2_32 This patch removes ${bindir}/trace-cmd from the install prior to packaging, as is already done with the ${datadir}. Reported-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> (cherry picked from commit eb08ae8f729ef77329892d19b23ddfdaa7953de0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-19oprofile: backport two patches to support e500mc/e6500Ting Liu3
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-17kmod: Upgrade to latest gitSaul Wold2
Update to version 18 with an additional patch from the git repo to address an issue. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-07-17powertop: Upgrade 2.5 -> 2.6.1Richard Purdie1
Needed to create the directory to avoid B != S build issues. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-16oprofile: use "foreign" automake strictnessRoss Burton2
oprofile doesn't want GNU-levels of automake strictness so tell it to be "foreign". Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-08kexec-tools: upgrade to 2.0.7Ricardo Neri1
Kexec-tools v2.0.7 is out, upgrade accordingly. Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> CC: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-18lttng-modules: update to 2.4.1-stable latestBruce Ashfield1
The 3.15, and 3.14.5+ kernels introduced a change to trace_block_rq_complete, which triggers the following build error: probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:151:6: error: conflicting types for 'trace_block_rq_complete' | void trace_##_name(_proto); | ^ | probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:117:2: note: in expansion of macro 'DEFINE_EVENT_MAP' | DEFINE_EVENT_MAP(template, name, name, PARAMS(proto), PARAMS(args)) | ^ | probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/block.h:235:1: note: in expansion of macro 'DEFINE_EVENT' | DEFINE_EVENT(block_rq_with_error, block_rq_complete, The lttng 2.4.x-stable branch contains the fix (and several other small fixes), so we bump the SRCREV to import the change. Build tested against 3.14 and 3.10. [YOCTO #6459] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17linux-yocto/3.10: update to v3.10.43Bruce Ashfield3
Importing the v3.10.42 and 43 korg -stable updates. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17linux-yocto/3.14: enable mpc8315e NAND and Yaffs2 gcc 4.9 fixBruce Ashfield3
Updating the meta branch with configuration changes to enable NAND booting on the mpc8315e reference board. We also update the BSP SRCREVs to fix a compilation issue with date/time on Yaffs2 and gcc 4.9. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17linux-yocto/3.4: update to v3.4.91Bruce Ashfield3
Updating to the latest korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17linux-yocto/3.14: update to v3.14.5Bruce Ashfield3
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17linux-yocto/3.10: update to v3.10.41Bruce Ashfield3
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17perf: add slang to the dependenciesHenning Heinold1
* TUI/GUI support was added in 2.6.35 based on libnewt * since 3.10 slang replaced libnewt completly * changing TUI_DEFINES is not necessary, because NO_NEWT is still respected with newer kernels * add comment about the gui history to the recipe The patch was sponsored by sysmocom Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17kexec-tools: fix warning about patch could not be foundChong Lu2
kexec-tools-klibc required kexec-tools.inc file. Put the patch of kexec-tools into bb file in order to fixing QA warning about files path. The patch only needed by kexec-tools. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-13kexec-tools: Refine kdump device_tree sortChong Lu2
The commit b02d735bf was to rearrange the device-tree entries, and assumed that these entries are sorted in the ascending order. but acctually when I was validating kexec and kdump, the order of serial node still is changed. So the patch is to sort these entries by the directory name in ascending order. Signed-off-by: Yang Wei <Wei.Yang@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-13oprofile: Determine the root home directory dynamicallyChong Lu3
This commit detects the root home directory dynamically with changes to the opcontrol script and the oprofile gui app source. The commit replaces an earlier fix that detected and adjusted a 'non-standard' root home directory at build time. The advantage of this patch is that the oprofile tools are adjusted to the current run-time path to ~root, not the build time path. Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-13perf: split packgingHenning Heinold1
* some fundamental perf commands can work without the dependency on perl, python or bash make them separate packages and RSUGGEST them * bump PR The patch was sponsored by sysmocom Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-13perf: fix broken shell comparsion in do_installHenning Heinold1
The patch was sponsored by sysmocom Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-10oprofile: Add PTEST regression testing to oprofileChong Lu3
The commit changes the oe-core oprofile recipe by adding the PTEST interface, implementing do_compile_ptest() and do_install_ptest(). The install routine adds several files that only the regression tests require. Also, a patch is necessary to inhibit executing the tests on the build host and to point to the correct target directory for the libutil++ test 'file-manip-tests'. That test requires the recipe to set SRCDIR in the build environment instead of determining the value from build-time host paths as for a self-hosted build. Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-06-03oprofileui-server/oprofileui/pcmanfm: Add missing intltool-native DEPENDSRichard Purdie2
These recipes all require intltool-native to build but were missing a dependency on it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03recipes: Add missing pkgconfig class inheritsRichard Purdie4
These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28linux-yocto-dev: Dynamic SRCREV updateDarren Hart1
The current implementation would result in the default SRCREVs being used by the fetcher, even though the anonymous python would update them to AUTOREV. This appears to be something to do with early parsing bitbake black magic. This patch ensures the default is never assigned if we are actually building the recipe by using a function to assign it in the first place. The USE_DEFAULT* variables are removed as they are not necessary to allow for overriding the SRCREVs. The anonymous python parse check is moved closer to the top of the recipe to be a bit more logically representative of its intended purpose. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28linux-yocto/3.10: bump kver to v3.10.40Bruce Ashfield3
Integrating the latest korg releases for the 3.10 kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28beaglebone: enable the nowayout option for the watchdogBruce Ashfield3
Bumping the meta SRCREV for the following fix: [ The default watchdog behaviour is to stop the timer if the process managing it closes the file /dev/watchdog. The system would not reboot if watchdog daemon crashes due to a bug in it or get killed by other malicious code. So we prefer to enable nowayout option for the watchdong. With this enabled, there is no way of disabling the watchdog once it has been started. This option is also enabled in the predecessor of this BSP (beagleboard) ] [YOCTO: 3937] Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28linux-yocto-rt/3.14: update to 3.14-rt5Bruce Ashfield1
Updating the the latest 3.14-rt release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28linux-yocto/3.14: update to v3.14.4Bruce Ashfield3
Bumping the 3.14 recipes to the latest korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-23babeltrace: fix alignment issueRoy Li2
Fix alignment issue in babeltrace Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-23lttng-tools: fix alignment issueRoy Li3
Fix alignment issue in lttng-tools Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-21lttng-modules: Fix build with older kernels for 2.3.3 as 2.4.0Martin Jansa3
Apply the change "lttng-modules: Fix 3.14 bio tracepoints" to 2.3.3 as well as 2.4.0. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-13trace-cmd: refactoring recipePetter Mabäcker4
Fixes [YOCTO #4497] Refactoring recipe to avoid duplicated entries in trace-cmd and kernelshark bb-files. Also remove usage of FILESPATH and split package unique patches into separate dirs. Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-13systemtap: remove usage of FILESPATHPetter Mabäcker2
Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-08kmod: update Upstream-Status for one patchCristiana Voicu1
I will mark Inappropriate because the patch replaces some functions unavailable in older versions of glibc. Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-08babeltrace: upgrade to 1.2.1Cristiana Voicu2
The release for 1.2.1 is on branch stable-1.2. Backported a patch to fix out of tree build. Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>