summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
AgeCommit message (Collapse)AuthorFiles
2012-08-19kern-tools: fixes (branching,buildall) + cleanups (checkpoint,cleaner)Bruce Ashfield1
Updating the kern-tools SRCREV to pickup a collection of bug fixes and cleanups: 75e71c3 kgit-config-cleaner: add -k <keep option> 02be3b5 buildall: switch back to scc driven processing c7101db kern-tools: support flexible branching e2d06bd kern-tools: Remove superfluous references to "defconfig" from the "createme" script. e693754 kgit-checkpoint: fix verify_branch variable name typo ee67a7b kgit-config-cleaner: fix redefintion processing Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto: explicitly export KMETA to scriptsBruce Ashfield1
The kern-tools scripts can support a meta branch and directory of a name that isn't "meta", but they need the name passed through the environment variable KMETA. ensuring that KMETA is exported in the shell environment sets the stage to support flexible meta branch name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto/3.4: remove explicit KBRANCH designationsBruce Ashfield1
A BSP specific KBRANCH assignment is no longer a required element to locate and build a yocto kernel. As such we can set the default kbranch, and remove all other explicit assignments. KBRANCH is still used, and if it is changed from the default, that branch will be built. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto: make KBRANCH the exception and not the ruleBruce Ashfield1
The kernel branch is no longer required by the yocto-kern-tools to locate BSP feature descriptions (it is the MACHINE:KTYPE descriptor), so we no longer require that the BSP branch be explicitly set. If a kernel branch is explicitly set, it is now used to trigger a checks to ensure that the branch really is being built. Otherwise the branch that the machine description creates will be built (just as it always was). This further simplies the use and configuration of a linux-yocto based kernel recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto/3.4: BSP, uprobes, config and cleanupsBruce Ashfield2
Updating the linux-yocto 3.4 recipe with consolidated fixes, BSPs and cleanups. From the kernel meta branch: 28bcd46 meta: move emgd features to staging 6c01949 meta: Crystal Forest Machine Created. 3c19c4d meta/qemuppc: remove redundant profiling options a5da4d5 meta: kgdb: update configuration for out of box functionality 1d13e00 meta: update status/series and patches for v3.4 b96c408 fsl-mpc8315e-rdb: replace leading dot with hash in cfg file 7c9a3b0 usb: fix scc and cfg filename collision with ktypes/base/ aa0e1f6 kconfig: make CONFIG_BLOCK=y part of base config 3d1a2f2 kconfig: add tty/serial file to hardware listing 60b600f routerstationpro: specify chosen filesystems in audit input. 8b5c8c7 routerstationpro: add config data for audit purposes d7ae8fa meta: add ath79 Kconfig to hardware listing. And from the standard branch: c77666c powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. c262f3e powerpc: Uprobes port to powerpc d40e73d powerpc: Add trap_nr to thread_struct 6a64190 Revert "This is the port of uprobes to powerpc. Usage is similar to x86." e422119 Revert "powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr." d4ef82f keys: kill task_struct->replacement_session_keyring 1cc141e keys: kill the dummy key_replace_session_keyring() 090ca45 keys: change keyctl_session_to_parent() to use task_work_add() 61bc7a8 genirq: reimplement exit_irq_thread() hook via task_work_add() 5ee34dd task_work_add: generic process-context callbacks 70754de move key_repace_session_keyring() into tracehook_notify_resume() 6f70bc1 powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. e5f6a4c This is the port of uprobes to powerpc. Usage is similar to x86. 2bc4597 On RISC architectures like powerpc, instructions are fixed size. Instruction analysis on such pl 8893371 perf probe: Detect probe target when m/x options are absent 544d531a perf probe: Provide perf interface for uprobes 103b503 tracing: Fix kconfig warning due to a typo 9bb012e tracing: Provide trace events interface for uprobes b9b7281 tracing: Extract out common code for kprobes/uprobes trace events 91f0360 tracing: Modify is_delete, is_return from int to bool a8600f2 uprobes/core: Decrement uprobe count before the pages are unmapped a252056 uprobes/core: Make background page replacement logic account for rss_stat counters 3efc15b uprobes/core: Optimize probe hits with the help of a counter 20f3d76 uprobes/core: Allocate XOL slots for uprobes use 77bfad8 uprobes/core: Handle breakpoint and singlestep exceptions 7196d9a uprobes/core: Rename bkpt to swbp c99bc18 uprobes/core: Make order of function parameters consistent across functions 7e9be99 uprobes/core: Make macro names consistent c4247f2 uprobes: Update copyright notices f066ff9 uprobes/core: Move insn to arch specific structure e91cf65 uprobes/core: Remove uprobe_opcode_sz 942b91c uprobes/core: Make instruction tables volatile 56c1e99 uprobes: Move to kernel/events/ 0a7ad1c uprobes/core: Clean up, refactor and improve the code 3760d62 uprobes, mm, x86: Add the ability to install and remove uprobes breakpoints Two BSP updates: - Crystal Forest Machine has been added - routerstationpro configuration updates for 3.4 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto: bump version to 3.4.7Bruce Ashfield2
The v3.4.7 -stable update has been released, updating all in-tree BSPs to this new baseline. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15powertop: cleanup update-alternatives deprecated codeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-07linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels tooRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels tooRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.4: Disable extra slang header search pathRichard Purdie2
Add in a workaround to avoid host infection detection build failures from the slang include directory in perf. I'll defer to Bruce to fix this properly but we need a workaround now as this is breaking builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-firmware: Ensure PR goes forward, not backwards after the revertRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"Richard Purdie1
This change breaks firmware loading on 64 bit platforms. This therefore reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.
2012-08-07kernelshark: Inherit pythonnativeRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06babeltrace: Update to upstream stable versrion 0.12Radu Moisan1
Latest version is 1.0.0 but in rc4 for now. Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06linux-firware: use ${base_libdir} instead of /lib for packagingJavier Martinez Canillas1
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06systemtap: use ${datadir} instead of /usr/share for packagingJavier Martinez Canillas1
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02kmod: Upgrade to upstream version 9.0Radu Moisan2
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-31trace-cmd: Update for python-native changesMorgan Little1
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26linux-yocto/rt: update BSP preempt-rt.scc files to enable live bootBruce Ashfield5
Updating the meta branch SCREV to pickup the preempt-rt commits to fix live boot on the x86 boards: 7ff48aa sys940x: Append default preempt-rt policy 052ecea sugarbay: Append default preempt-rt policy b8230e3 jasperforest: Append default preempt-rt policy 7fb788a chiefriver: Append default preempt-rt policy ffbb5ea romley: Append default preempt-rt policy 5fe5f68 cedartrail: Append default preempt-rt policy 85bee0c atom-pc: Append default preempt-rt policy Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26linux-yocto/3.4: 3.4.6 and 3.4.x-rt14Bruce Ashfield2
Updating the 3.4 kernel to the latest -stable release and updating preempt-rt to 3.4.4-rt14. Tested on qemu* Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-22kmod: Add missing DEPENDS on pkgconfig-nativeRichard Purdie1
Without this it can't reautoconf or run configure since it depends on pkg-config. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22linux-yocto/3.4: emgd, mtd nand and kmemcheck fixesBruce Ashfield2
Updating the 3.4 meta SRCREV for the following fixes: 949fddd meta: crownbay.scc change emgd branch name cd0721a yocto/emgd: emgd 1.14 driver c2b5ee3 meta: disable CONFIG_MTD_NAND_VERIFY_WRITE 004cadb meta: kmemcheck: 'other' configs turning on CONFIG_FUNCTION_TRACER Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22perf: Update for python-native changesMorgan Little1
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were ↵Ross Burton1
looking for Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie1
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-16linux-libc-headers: updated to 3.4.3Bogdan Marinescu2
Tested by building core-image-sato-sdk. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-12perf: add perl, python to DEPENDSTom Zanussi1
perf has perl and python compile-time dependendencies, add them. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11linux-yocto/3.0: perf scripting supportBruce Ashfield2
Updating the 3.0 SRCREVs to pickup the recent perf scripting fixes. cef17a1 perf: add sgidefs.h to for mips builds 3258da3 perf: change --root to --prefix for python install 1f9c25b perf: add 'libperl not found' warning f2b1bf1 perf: use pkg-config instead of python-config 568e05f perf tools: Add support to install perf python extension 7e47f81 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11dtc.inc: fix for libdir == /usr/lib64Matthew McClintock1
On 64bit systems dtc will still install libaries in /usr/lib unless we havet this override Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf-tui featureTom Zanussi1
Add a new feature named 'perf-tui'. Adding this into the PERF_FEATURES variable in perf.inc will enable the perf TUI (Text-base UI) user interface on a target, which adds libnewt and turns on the perf text UI options in perf, if perf is included in an image. If 'perf-tui' isn't named as a feature (the default), the perf TUI will be disabled and unavailable. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf-scripting featureTom Zanussi1
Add a new feature named 'perf-scripting'. Adding this into the PERF_FEATURES variable in perf.inc will enable perf scripting on a target, which will turn on all the language bindings currently available in perf (Perl and Python), if perf is included in an image. If 'perf-scripting' isn't named as a feature (the default), all perf language bindings will be disabled and unavailable. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf.incTom Zanussi2
Add a perf.inc to contain utility functions and definitions and to avoid cluttering up the main recipe. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10linux-yocto/3.4: perf, unionfs and yaffs2 fixesBruce Ashfield2
Updating the 3.4 SRCREVs to pickup the following changes: 6297e4c perf: add sgidefs.h to for mips builds 69b7817 yaffs: add leading underscore to mtd_info function names 160f1ac yaffs: change type for mode to umode_t 2d875e8 Unionfs: use mode_t Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10linux-yocto/3.2: perf: fix mips buildBruce Ashfield3
Updating SRCREVs for the following fix: Author: Tom Zanussi <tom.zanussi@intel.com> Date: Tue Jul 10 09:38:40 2012 -0500 perf: add sgidefs.h to for mips builds Allow Python.h to find the definitions it needs on mips i.e. get rid of the error: "_ABIN32" is not defined. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10linux-yocto/3.2: perf scripting updatesBruce Ashfield3
Updating the 3.2 SRCREVs to reflect the perf scripting fixes by TomZ standard/default/base: 0ec416e perf: change --root to --prefix for python install 18ad076 perf: add 'libperl not found' warning e0f641d perf: use pkg-config instead of python-config 3195098 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" meta: 07ee09b features/ftrace: enable FTRACE_SYSCALLS Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09linux-yocto/3.4: perf scripting & unionfs fixesBruce Ashfield2
Updating the SRCREVs to pickup the following changes: standard/base: 95c79fb Unionfs: update ->show_options prototype 49f1599 perf: change --root to --prefix for python install 8ff1ab6 perf: add 'libperl not found' warning b4bc865 perf: use pkg-config instead of python-config a2257bf Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" meta: a8cf770 features/ftrace: enable FTRACE_SYSCALLS Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05perf: remove unconditional python-ext installTom Zanussi1
This shouldn't be unconditional - a later patch made it so, but that's not yet pulled in. In the meantime, to fix build failures remove the unconditional install. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-05linux-firware: bump PE because git SRC_URI was changed resulting in ↵Martin Jansa1
LOCALCOUNT reset Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04perf: add libexec/perf-core and contentsTom Zanussi1
libexec/perf-core contains all the pre-canned scripts and modules needed by both the Perl and Python bindigs. Add libexec/perf-core along with all the pre-defined perf scripts underneath it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perf: enable Perl bindingTom Zanussi1
Add support to enable the perf Perl binding. The build depends on perl-native to retrieve the configuration settings needed for the binding. cpan-base adds some useful functions like is_target() and get_perl_version() that we need for PERLCONFIGTARGET and related settings, which allow us to use the target's Config_heavy.pl settings for ExtUtils:Embed when building for the target. Also adds the perl-modules dependency to give the target the perl modules that scripts using the binding need. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perf: enable Python bindingsTom Zanussi1
Add support to enable the perf python bindings. The combination of these changes and the changes in the python-config sections in the kernel Makefile enable all the python bindings currently available in perf. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04oprofile: Change /root to /home/rootMark Hatle2
OE uses /home/root instead of /root for the root user's directory. Update oprofile to match. Upstream-status: Inappropriate [OE Specific] Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-04kernel: Add kernel headers to kernel-dev packageDarren Hart1
[YOCTO #1614] Add the kernel headers to the kernel-dev package. This packages what was already built and kept in sysroots for building modules with bitbake. Making this available on the target requires removing some additional host binaries. Move the location to /usr/src/kernel Before use on the target, the user will need to: # cd /usr/src/kernel # make scripts This renders the kernel-misc recipe empty, so remove it. As we use /usr/src/kernel in several places (and I missed one in the previous version), add a KERNEL_SRC_DIR variable and use that throughout the class to avoid update errors in the future. Now that we package the kernel headers, drop the kernel_package_preprocess function which removed them from PKGD. All *-sdk image recipes include dev-pkgs, so the kernel-dev package will be installed by default on all such images. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Khem Raj <raj.khem@gmail.com>
2012-07-04linux-yocto-tiny: add KMETA specificationBruce Ashfield1
With recent kern tools changes, having a meta branch is opt-in. The other linux-yocto recipes were updated, but linux-yocto-tiny was missed. Without specifying a meta branch, the kernel configuration audit won't return any useful results, and throws a warning message. WARNING: Can't find any BSP hardware or required configuration fragments. WARNING: Looked at //cfg///hdw_frags.txt and //cfg///required_frags.txt in directory: //cfg// NOTE: package linux-yocto-tiny-3.2.18+git1+ee78519365bdb25287703bbc31c06b193263c654_1+27b68a93eb791e830da8d3a2c0fc99780897ad89-r3.0: task do_kernel Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04linux-yocto/3.4: update preempt-rt to 3.4.4-rt13Bruce Ashfield2
Updating preempt-rt in the 3.4 kernel to the latest upstream version 3.4.4-rt13. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04linux-yocto/3.4: v3.4.4 + configuration updatesBruce Ashfield2
Bumping the kernel version to v3.4.4 and importing the following meta branch commits: 9b7c74b meta: bump kver to v3.4.4 8231dec ck: relocate config post patches 26b965e net_sched: remove dupicate configuration option df8bf19 meta: remove non applying routerstationpro patch 292d8ea arm: import upstream versatile io.h fix f4824b1 net_sched: select ACT as a dependency of INGRESS 30ae722 cgroups: delete obsolete namespace option 51f94f0 meta: add qemumipsel mapping Built and boot tested on qemu* Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04linux-yocto/3.4: add qemumipsel machine mappingBruce Ashfield2
Updating the meta branch with a board description and configuration that can be found from the linux-yocto recipes without doing a MACHINE -> KMACHINE mapping. From the meta branch commit: The mti malta board description for a little endian config can't be found by default unless it has a matching KMACHINE, or the KMACHINE is set in a kernel recipe. In this case, it is easier to just add qemumipsel in the KMACHINE list, so the recipe doesn't need to do the mapping. The little endian mips support reuses everything but the endianess settings from the big endian mti malta board emulation. This change adds the required mappings and SRCREVs, but does not update the machine compatibilty, since official support is still pending. The compatibility can be set in addon layers until that time. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-06-29linux-yocto: Use INC_PR and move kernel require to linux-yocto.incDarren Hart8
When making changes to kernel.bbclass, it would be nice not to have to manually change the PR of every linux-yocto*.bb file that requires it. Move the "require kernel" line to linux-yocto.inc and update the linux-yocto recipes to use INC_PR. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com>
2012-06-28linux-yocto/3.0: update BSP descriptions to new kern-tools formatBruce Ashfield2
In tree linux-yocto 3.0 boards indicate that they are BSPs via the older/obsolete syntax "scc_leaf". This line in their board description is detected by the build process and is used to find the BSP description and the kernel type they use as their base. To work with the latest kern tools, the BSP descriptions should be updated to "include <ktype> branch <machine>" to acheive the same result. All trees newer than 3.0 already have this change and do not need to be updated. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>