summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-103-7/+7
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto_3.0: update base to v3.0.8 + meta config changesBruce Ashfield2011-11-072-10/+10
| | | | | | | | | | | | | | | | | | The board branches are updated to have v3.0.8 as their base kernel revision, and the version in the recipe is updated to match. This commit also updates the meta branch to pick up the following 4 commits: 4095bb5 meta/common-pc-64: remove igb 17565fa meta/crownbay: use power/intel feature 8948937 meta/sugarbay: use power/intel feature fcbc8a9 meta: add power feature (From OE-Core rev: c237410bbc177495dab2b12b3a7aa4a75fb61efa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: config cleanup and streamliningBruce Ashfield2011-10-142-2/+2
| | | | | | | | | | | | | | | | | | | This incorporates the following meta branch commits: 353d43d fri2: cleanup bsp config 2a605e2 sugarbay: cleanup bsp config 47b76ed fishriver: cleanup bsp config ad6edab jasperforest: cleanup bsp config 07f7e89 emenlow: cleanup bsp config d32a651 crownbay: cleanup bsp config ad2d621 meta: add vesafb feature 913facf features/drm-psb: add related config options (From OE-Core rev: e08e44da5be348a1ec065ed29a07dbc31ae1035d) 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>
* linux-yocto: update live boot configurationBruce Ashfield2011-10-042-2/+2
| | | | | | | | | | | | | | | | Updating the meta SRCREV to import a series of changes to synchronize live booting between multiple targets: d05450e meta/fri2: enable booting from iso 3da7d2a meta/fishriver: enable booting from iso 52e1c49 meta/emenlow: enable booting from iso 87918ae meta/crownbay: enable booting from iso (From OE-Core rev: 7100c50c8697a3eec446b9189bf49ecbea9b7264) 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>
* linux-yocto/meta: eg20t and live boot config changesBruce Ashfield2011-09-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Merging the following configuration changes: 67a46a6 meta/common-pc-64: enable live booting for common-pc-64 1010905 meta/common-pc: enable live booting for common-pc b3c5fa7 meta/atom-pc: enable live booting for atom-pc 41c090e meta: update boot live config and move it to cfg/ d51b0e7 eg20t: update config options The first 4 make the live-boot configuration shared and then reuse them for the boards that currently are live bootable. The eg20t is a cleanup of obselete kernel options and is part of the cleanup of options for the 3.0 kernel. [YOCTO: #940] [YOCTO: #686] (From OE-Core rev: da496bb570d05d0906a7310697bdd636c254540c) 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>
* linux-yocto: kernel configuration cleanupsBruce Ashfield2011-09-222-2/+2
| | | | | | | | | | | | | | | | | | | | | There were some config fragment warnings that were being hidden by virtue of being output while generating the full config versus the ones that were generated during the configuration audit task. This change does the following: - Updates the kern-tools SRCREV to include changes that move all kernel configuration warnings to the audit script - Updates the meta SRCREV for linux-yocto to get updated kernel configuration fragments that are warning-free. These are duplicated configs, and other changes that have a net result of no runtime changes. (From OE-Core rev: 8e67d4dd1e1bc64a84791abc613e237e29dd2aaa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: add blktrace featureBruce Ashfield2011-09-222-2/+2
| | | | | | | | | | | | | | | | | | | | Updating the 3.0 kernel to enable blktrace to match our previous functionality. This is done by the following meta branch commit: [ meta: add blktrace feature Add a 'blktrace feature' that turns on kernel support for blktrace, a block I/O tracing tool. Added to 'standard' alongside similar tracing tool config. (From OE-Core rev: 21654cbf766f9c319b2fc8a08f0060c60ef005eb) 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>
* linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.cBruce Ashfield2011-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Merging the following commit for the -rt machines: [ preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt kernels. Restore the move to non-static from commit 6857336c7fddaf460a13adc0c395698fcf9423ff. Reported-by: Kishore Bodke <kishore.k.bodke@intel.com> (From OE-Core rev: 1bc26dca631da53d956008a4570c46012c478435) Signed-off-by: Darren Hart <dvhart@linux.intel.com> ] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: split e100 and e1000 supportBruce Ashfield2011-09-152-2/+2
| | | | | | | | | | | | Merging the following meta changes: 12574e5 meta: create seperate feature for 10/100 LAN support c8b37bf meta: Remove 10/100 LAN support. (From OE-Core rev: 4ab79c8e02f9fe7a02c56019d5b169ad4f0e3aec) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: move common tasks to a common locationBruce Ashfield2011-09-155-33/+9
| | | | | | | | | | | | | | During the initial development of the linux-yocto recipes there were several additional tasks that needed to be run in any inheriting recipe. At that time, they didn't seem to fire if they were in the include file versus the recipes themselves. As it turns out, these tasks do work fine if placed in the linux-yocto.inc file, and the rest of the recipes can be simplified as a result. (From OE-Core rev: a1ab7c5e03df97e630dfee470ff7959d3143bf41) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: re-enable utraceBruce Ashfield2011-09-072-8/+8
| | | | | | | | | | | Upating the meta data and machine branch contents with the up to date merge of utrace. (From OE-Core rev: cb8efc0e1ec00892b46325aabfb1b4020a46c078) 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>
* linux-yocto: re-enable systemtapBruce Ashfield2011-09-072-2/+2
| | | | | | | | | | | | | | | | | | | [ Author: Tom Zanussi <tom.zanussi@intel.com> Date: Fri Sep 2 23:45:12 2011 -0500 meta: re-enable systemtap feature for linux-yocto Re-enable the 'systemtap feature' that turns on the kernel options required for systemtap, a system-wide tracing tool. (From OE-Core rev: fdaaddbf2a673c7030c3e15e2f65cb13af3db720) 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>
* linux-yocto: clean configuration for v3.0.4Bruce Ashfield2011-09-052-2/+2
| | | | | | | | | | | | | | Fixes [YOCTO #940] Since v3.0.4 is likely the last stable update in the the release timeframe a configuration audit was performed. This updates the SRCREV to remove obselete, and improperly defined configuration items. With this, all qemu* BSPs configure with no warnings. (From OE-Core rev: d19eaf7ca92c6632d42d12120800028f77ef21aa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to v3.0.4Bruce Ashfield2011-09-052-11/+11
| | | | | | | | | | The v3.0.4 stable kernel is available and it can now be merged into linux-yocto. Build and boot tested on all qemu* machines. (From OE-Core rev: 0f3750ee83b8fe012cced2e376ec780a6e7f189b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt: qemumips: fix boot panicBruce Ashfield2011-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1392] Updating the SRCREVs to pickup: [ mips/rt: convert cascade interrupt non threaded The preempt_rt kernel forces all irq interrupts to be threaded, but special interrupts can be excluded from this conversion. The cascade interrupt should be part of these exceptions. In this case, irq2 is initialized before "kthreadd" task, which converts irq interrupt to threaded. If this irq is threaded, the kernel calls "try_to_wake_up" function to wake up "kthreadd" task, but at that moment, "kthreadd" task has no been initialize and try_to_wake_up wakes up a NULL task. (From OE-Core rev: 7ceb78a42f7d9b6aa4b984d04ac13f8dc23a9095) Signed-off-by: Liming Wang <liming.wang@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREV to sync version stringsBruce Ashfield2011-08-252-3/+3
| | | | | | | | | | | | | During the update of the bitbake recipe's string to 3.0.3 the internal version marker in the kernel stayed at v3.0. This meant that kernel configuration auditing the constructed file couldn't be found and audit warnings were thrown. This syncs all the recipes and get back to clean configurations. (From OE-Core rev: 2be439c14790fec8ad7ffe1b6c531d41d0329eaf) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/2.6.37: apmd + get time of day fixesBruce Ashfield2011-08-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #916] Fixes [YOCTO #900] Merging: [ commit 4ae8f8605c81c39b959948e23f7123294a5dfb3f Author: Liming Wang <liming.wang@windriver.com> Date: Wed Aug 24 10:45:19 2011 +0800 x86: use vdso gettime fallback versus returning an error __vdso_clock_gettime should fall back to call vdso_fallback_gettime function if no clockid is selected, not just return error. (From OE-Core rev: 8069549937f8d1e266eb0a2d6b4c1321b08ed69b) Signed-off-by: Liming Wang <liming.wang@windriver.com ] [ commit aeea99683c7283f1f3320bf2ee7085ee252d4e7e Author: Liming Wang <liming.wang@windriver.com> Date: Fri Aug 19 17:43:49 2011 +0800 meta: add APM Emulation option to beagleboard apmd daemon needs this option to work, so add this to beagleboard kernel config file. Signed-off-by: Liming Wang <liming.wang@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update machines and default configurationBruce Ashfield2011-08-241-7/+7
| | | | | | | | | | | | | | | | | | Fixes [YOCTO: #686] During routine maintenance some base changes were re-wound on the common branches. All machines still had these changes, but any new machine branched from the common base would miss those changes. This update restores those commits to the standard branch and merges them out to all child branches. The meta branch update adds a configuration item to support live image booting on qemux86. (From OE-Core rev: 518de98e8c1cb4bd1d76c562007b9eccc196c572) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREVs for beagleboard config changesBruce Ashfield2011-08-242-2/+2
| | | | | | | | | | | | Fixes [YOCTO #916] Adding APM emulation and CONFIG_USB_MUSB_OMAP2PLUS to the beagleboard base configuration. (From OE-Core rev: aea2785ccd36addd163a6b2e36fa2c9a8108ba00) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt: update qemuppc support and streamline variablesBruce Ashfield2011-08-241-7/+4
| | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1391] Fixes [YOCTO #1389] qemuppc must have a dedicated branch for -rt support, since it has board specific patches that are not suitable for a common location. This fixes the boot by propagating some common fixes and by syncing to the latest meta-configuration. There are some variables that are now in linux-yocto.inc and need not be defined by the kernel recipe itself, so we can safely remove them with no impact on the build. CC: Darren Hart <dvhart@linux.intel.com> (From OE-Core rev: fc0220b59a15f8cff57c13fe7966d05f7386da71) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update SRCREVs for 3.0.3Bruce Ashfield2011-08-231-9/+9
| | | | | | | | | | Updating the SRCREVs to pickup the kernel.org -stable update for 3.0.3 (From OE-Core rev: 450b6eded024c365d0ad4808b492d73c4cd02f6d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: move more default values into linux-yocto.incBruce Ashfield2011-08-232-5/+7
| | | | | | | | | | | | | During the preparation of some linux-yocto extension documentation it was clear that some variables are being defined in each recipe, when they don't have to be. Moving the defaults into linux-yocto.in and allowing them to be overidden in recipes simpifies the reuse of the base infrastructure. (From OE-Core rev: 0ca26544efe8d650f36db9dc1c3b3a15110d7e31) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: meta SRCREV bumpBruce Ashfield2011-08-171-1/+1
| | | | | | | | | | Bumping the linux-yocto meta SRCREV to pickup new target configurations and features. (From OE-Core rev: 110ca8dcaee263bc3c8380bcb91f6ada20655c14) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: bump version string to 3.0.1Bruce Ashfield2011-08-171-2/+2
| | | | | | | | | | | There was some confusion around the 3.0 version string in the linux-yocto recipe when the merged version was 3.0.1. Bumping the version string should clarify what version will be fetched. (From OE-Core rev: 29017755329ff1ad740fe094a4a89057e9c2a48d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Move meta-rt recipes to oe-core (meta)Darren Hart2011-08-122-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | Keeping the rt recipes in their own layer has led to maintenance issues, particularly with the linux-yocto-rt recipes. As these kernel types are part of the same linux-yocto source repository, it seems reasonable to include the rt kernel recipes alongside the standard recipes. A new recipes-rt directory for the other recipes provides adequate separation and eliminates the need for a separate layer. As there is no meta-rt/conf/layer.conf to force the kernel, users must now specify the rt kernel in their local.conf or in the machine.conf: PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt" The merging of the rt recipes into the core also eliminates complications with multiple layer dependencies for new BSP layers. Having to either separate RT BSPs from standard BSPs or force users to add meta-rt to bblayers even when not building an RT BSP (because the RT BSPs in the same layer would fail to parse without it) was sub-optimal at best. (From OE-Core rev: bafaaad264fe3e745c714951ddcf2784d33b755a) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update SRCREVs for preempt-rt support + build fixesBruce Ashfield2011-08-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the SRCREVs for linux-yocto to pickup a series of changes that were made to support the build/boot of preempt-rt on 3.0.x. 7782fc6 routerstationpro: remove CONFIG_PREEMPT* definitions b51300c meta/rt: sugarbay preempt-rt support 735711e meta/rt: common-pc[-64] preempt-rt no branch fix 53026bf meta/rt: jasperforest preempt-rt support 99bc260 meta/rt: fri2 preempt-rt support e746ab8 meta/rt: fishriver preempt-rt support fa1b73f meta/rt: emenlow preempt-rt support 1f686ab meta/rt: crownbay preempt-rt support 64a5069 meta/rt: arm-versatile-926ejs preempt-rt support 7f827a1 meta/rt: mti-malta32-be preempt-rt support 930a983 meta/rt: qemu-ppc32 preempt-rt support 367fc55 meta-rt: rsp preempt-rt support b8a62ea meta/rt: mpc8315 preempt-rt support b5f9daa meta/rt: beagleboard preempt-rt support 1e6e9eb meta/rt: use CONFIG_PREEMPT_RT_FULL for 3.0 kernels eb5a06b boot: move -Os patch to standard branch c692a23 meta/rt: remove explicit patch references 8a2ac6b meta/rt: updating to rt8 76b3679 meta: atom-pc update definition to re-use preempt-rt (From OE-Core rev: 4cb49cc3212fb110bd90f29e3644df5e7030a359) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: merge v3.0.1Bruce Ashfield2011-08-081-6/+6
| | | | | | | | | | | | | 3.0.1 -stable has been released. This now becomes the baseline for the 3.0 linux-yocto tree. As was the policy in the 2.6.34 and 2.6.37 kernels, the version stays at 3.0 in the recipe. Build and boot tested on qemu* targets. (From OE-Core rev: 015a74ca21b06d08c04d18f77b8c2a74ffab5a66) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update atom-pc preempt-rt definitionBruce Ashfield2011-08-081-1/+1
| | | | | | | | | | | The atom-pc preempt-rt configuration wasn't pulling in the common-pc settings, and wasn't defining re-use of the preempt-rt/base branch properly. (From OE-Core rev: f60c20322018afe9d27aa2d3b085c58ff0dee867) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto_3.0: Fix SRC_URI to use yoctoproject.orgSaul Wold2011-08-051-1/+1
| | | | | | | (From OE-Core rev: f0c821ff4efeca36b196370e33ee4ec71730819b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: revise the dependency for multilibYu Ke2011-07-271-1/+1
| | | | | | | (From OE-Core rev: b9a0fd48570a603692c8a177b2b0583429639592) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update SRCREVsBruce Ashfield2011-07-271-7/+7
| | | | | | | | | | | | | | Updating the linux-yocto SRCREVs to pickup changes from the continuing uprev to korg 3.0. With this set of update, the meta/feature audits are complete. qemumips and qemuppc are fixed with this update and can now boot to a prompt. (From OE-Core rev: b4ec5c27b51c15e8bde7ca2597329c4f5b801240) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: kernel-3.0 support recipeBruce Ashfield2011-07-221-0/+47
| | | | | | | | | | | | | | | | | | Establish the infrastructure to start more comprehensive linux-3.0 testing. With this in place, the populated linux-yocto 3.0 can optionally be built for supported machines. Note: this commit does not change the default for any targets and as such, it would need to be explicitly set as the preferred version to be built. The staged introduction allows some remaining issues to be solved, while making this available. Subsequent commits will be done to switch qemu machines ones they have been validated. If the default for a machine is not this kernel, consider it best effort. (From OE-Core rev: 6b9379e9d409713e5bd9bb46b38968d41cd834e1) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update LICENSE to GPLv2Bruce Ashfield2011-07-221-1/+1
| | | | | | | | | | | As reported by Koen Kooi, the LICENSE for linux-yocto can be tightened up to specifiy the particular version of the GPL. cc: Koen Kooi <koen@dominion.thruhere.net> (From OE-Core rev: 0b163efe5536555867f71561914414648b08ed24) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: update meta SRCREV for routerstation proBruce Ashfield2011-07-191-7/+7
| | | | | | | | | | | | | | | | | | | | | | | Fixes bug [YOCTO #1161] Fixes bug [YOCTO #773] This streamlines the routerstation pro configuration to remove options that are either unecessary or that are causing bugs. Also added to all branches is: commit ffd73d6b2a9bfa0de5710b90a2237f4be66ae9a7 Author: Yinghai Lu <yinghai@kernel.org> Date: Thu Jul 14 15:27:44 2011 -0700 mm: use alloc_bootmem_node_nopanic() on really needed path commit 8f389a99b652aab5b42297280bd94d95933ad12f upstream. (From OE-Core rev: 194b487b42dac479459427d653ee9d6dee1bcca4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add umask task controlMark Hatle2011-06-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | Bitbake now allows the umask to be specified per task. The following tasks will have a umask of 022 set by default: do_configure do_compile do_install do_package do_populate_sysroot do_rootfs do_configure and do_compile need a umask of 022 set because -many- recipes directly copy generated files out of recipe's build directory. Instead of fixing each existing and future recipe, it was shown to be much easier to just set the umask. (From OE-Core rev: 0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: Fix linux-tools to ensure perf is installed under "fakeroot"Mark Hatle2011-06-231-1/+1
| | | | | | | | | | If perf isn't installed under "fakeroot" (pseudo) control, all of the files are given the build user's uid/gid. (From OE-Core rev: 805d80eb30fb34b3d2a12b8ba4db8b813ff5c475) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Add support for perf-dbg packageMark Hatle2011-06-232-2/+2
| | | | | | | | | | | | The perf component is built with the kernel, so ensure that it gets the debug information associated with it. Also bump the PR in the linux-yocto-* to ensure they get rebuilt. (From OE-Core rev: 17f76de8ab8b7c9e62c1149017a3fa78866d9300) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta and yocto/standard SRCREVsBruce Ashfield2011-06-221-7/+7
| | | | | | | | | | | | | | | As part of sync'ing the in-tree beagleboard support, the following commit has been pushed to all branches, and hence the SRCREV update: bb8e31f USB: ehci: remove structure packing from ehci_def The meta SRCREV update is to capture the new and sync'd BSP configuration. (From OE-Core rev: f9b77564cc7f62ea0bc4b4320036f2d6d5c90e27) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREV for new config groupsBruce Ashfield2011-06-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | Updating the SRCREV for the kernel repo's meta branch to capture the following commits: 94fa015 meta: add taskstats experimental feature group 4fb2ed5 meta: enable freezer support 88d619e meta: enable fuse and cuse as modules f465827 meta: add namespaces + experimental configs fbdd376 meta: add devtmpfs config group b04f6d9 meta: re-enable cgroups options in the standard kernel There's also a change to the recipe itself to trigger the taskstats optional config items by default. This is to allow the introduction of these changes gradually, since other recipes inheriting the kernel can add or ignore these options at their convenience. (From OE-Core rev: 91ddf0ad3a120bbfb5a24bd853d4d195291faa95) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update SRCREVs for utrace mergeBruce Ashfield2011-06-221-7/+7
| | | | | | | | | | Updating the SRCREVs to account for the merge of utrace to support systemtap. (From OE-Core rev: ac12cbf31433743e5966d1d2013e010f0c548c43) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta branch SRCREVBruce Ashfield2011-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta SRCREV to fix a bad commit which resulted in the tree being dirty after checkpoint, and hence a failure during the patch phase. The meta commits never modify code outside the 'meta' directory tree, a rule that was broken with this bad commit. Without this fix, you may see an error like: | [INFO] doing kernel configme | [INFO] Finding user(s) of branch "yocto/standard/fsl-mpc8315e-rdb" | [INFO] Branch meta-temp used by fsl-mpc8315e-rdb-standard.scc | [INFO] collecting configs in ./meta/meta-series | [INFO] checking out yocto/standard/fsl-mpc8315e-rdb | error: Your local changes to the following files would be overwritten by checkout: | arch/powerpc/boot/dts/mpc8315erdb.dts | Please, commit your changes or stash them before you can switch branches. | Aborting | [ERROR] Checkout of yocto/standard/fsl-mpc8315e-rdb failed | Error running the meta series for collecting config data | config of meta-temp (fsl-mpc8315e-rdb-standard.scc) failed (From OE-Core rev: 09e7b0535f8f2f287da670aabd1d6db76b90686f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: rename recipes to explicitly indicate versionBruce Ashfield2011-06-142-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing recipe names for the linux-yocto kernel builds worked well when there was a single, or two versions of the kernel available. But with the impending kernel updates and retirement of older kernels, the re-use of the same recipes for different kernel versions violates the principle of least surprise. To address this, the recipes are being renamed as follows: linux-yocto_git.bb -> linux-yocto_2.6.37.bb linux-yocto-stable_git.bb -> linux-yocto_2.6.34.bb There continue to be versionless recipe names that feed into versioned recipes at the appropriate points. They are: linux-yocto-dev.bb (tracking the latest yocto dev kernel) linux-yocto-korg_head.bb (tracking korg kernels) There are no existing users of linux-yocto-stable in the master branches to convert to the new naming, so these changes work in isolation. (From OE-Core rev: 576c87349a72a94357014ff29f55db692903ed80) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: make e1000e structure common [commit: bec3f1e8c]Bruce Ashfield2011-06-071-6/+6
| | | | | | | | | | | | | During work on 1.1 BSPs, some driver options changed. The result was that the upstream fix b1d670f10e8078485884f0cf7e384d890909aeaa needs to be available for all BSPs. These SRCREV updates are the result of making that commit common. (From OE-Core rev: c5dddf2dec0c6aed1db44a7ecf14d13502759d03) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update target/meta SRCREVsBruce Ashfield2011-06-071-7/+7
| | | | | | | | | | | | | | | | | This SRCREV update picks up the following changes from the 2.6.37 kernel tree: - fishriver: create and use a dedicated BSP branch - fishriver: usbnet fixes, but common to all boards - standard: update omap baseline match the 2.6.34 upstream merge content Built and boot tested on qemu* (From OE-Core rev: 0843f22d34c0c9d2424a595aea0a2410e7d6ce23) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREVBruce Ashfield2011-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO: 1111] and updates the meta branch with some cleanups and feature groupings. From the meta branch itself: 06d3793 meta: add romley features f101ab9 meta: remove 'not set' lines from netfilter.cfg d0599f8 meta: add dca feature 0cd5ef1 meta: replace open-coded E1XXXX options with intel-e1xxxx feature 3f88c17 meta: add intel-e1xxxx feature f7537af meta: replace open-coded igb options with igb feature f72e046 meta: add igb feature 989cd7d meta: add ixgbe feature 8543f7d meta: replace open-coded dma engine options with dmaengine feature 8fc67cd meta: add dmaengine feature 610e419 meta: add hugetlb feature ac22176 meta: add uio feature ce14a0d meta: replace open-coded hpet options with hpet feature 6a30aaa meta: add hpet feature 0ae7362 routerstationpro: watchdog config (From OE-Core rev: 86a41a27681dc4cb0f4bf35e35013c9ecdad4c35) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: fix gcc 4.6.0 compilation failuresBruce Ashfield2011-05-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug: [YOCTO #1035] Fixes bug: [YOCTO #1036] Fixes gcc 4.6.0 compliation issues by importing the upstream change: Author: Michal Marek <mmarek@suse.cz> Date: Mon May 2 12:13:01 2011 +0000 kbuild: Fix passing -Wno-* options to gcc 4.4+ Starting with 4.4, gcc will happily accept -Wno-<anything> in the cc-option test and complain later when compiling a file that has some other warning. This rather unexpected behavior is intentional as per http://gcc.gnu.org/PR28322, so work around it by testing for support of the opposite option (without the no-). Introduce a new Makefile function cc-disable-warning that does this and update two uses of cc-option in the toplevel Makefile. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> (From OE-Core rev: 1d4c9412fb8226f882ef68223c9c5ec08cc2f5cc) Signed-off-by: Michal Marek <mmarek@suse.cz> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> Integrated-by: Bruce Ashfield <bruce.ashfield@windriver.com> :100644 100644 0ef00bd... 1d8e7e9... M Documentation/kbuild/makefiles.txt :100644 100644 7bd863e0.. 74bac80... M Makefile :100644 100644 ed2773e... ba25c44... M scripts/Kbuild.include Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREVBruce Ashfield2011-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta branch to pickup two recent commits for BSP support: [ commit 79669230fd82a3e7e254cf8b596a2388a4333e62 Author: Tom Zanussi <tom.zanussi@intel.com> Date: Fri Apr 22 15:55:12 2011 -0500 bsp/crownbay: merge emgd branch Add scc commands to merge the yocto/emgd branch into the crownbay BSP. (From OE-Core rev: f077f808e17388125df4b16225dd75d90537a029) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> :100644 100644 89a0725... 0d02b98... M meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc commit ceb1744ec55408cb637929a3f154379e42642890 Author: Tom Zanussi <tom.zanussi@intel.com> Date: Mon Apr 25 18:15:14 2011 -0500 meta/romley: create initial BSP infrastructure Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> :000000 100644 0000000... 54ec614... A meta/cfg/kernel-cache/bsp/romley/romley-standard.scc :000000 100644 0000000... 61e5506... A meta/cfg/kernel-cache/bsp/romley/romley.cfg :000000 100644 0000000... 1c4a657... A meta/cfg/kernel-cache/bsp/romley/romley.scc commit ecab1e2bc12a8b0c4d064a00acc3260f6e8528c5 ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: error if meta data not presentBruce Ashfield2011-05-101-1/+3
| | | | | | | | | | | | | | | | | | | | There are valid reasons to build repositories without meta data present and there are times when this is an error. This change adds sanity tests to the build process to detect missing meta data and throw an informative error message. Sanity checking is only triggered from recipes (linux-yocto) that always require meta data to be present. Other recipes are not impacted and can auto-generate meta data as required. Without this change the build process suceeds, but incorrect meta data will be used (with no user knowledge), which is not the desired behaviour. (From OE-Core rev: adf9f92e2f8f6cc3deba72a194ded85e160ad9e3) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: remove non-core (qemu) machine compatibilityBruce Ashfield2011-05-102-19/+2
| | | | | | | | | | | | | The machine configuration of the non-core (non-qemu) machines exists in other layers. Moving the branch mappings, compatibility and SRCREVs of these machines out of the main linux-yocto recipe is the first step in that move. (From OE-Core rev: 9187ac0173f26c6a621229ff588f495e9967e665) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update SRCREVsBruce Ashfield2011-05-051-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the linux-yocto/2.6.37 SRCREVs to pickup: perf tool: Fix gcc 4.6.0 issues 1/1 [ Author: Kyle McMartin Email: kyle@mcmartin.ca Subject: perf tool: Fix gcc 4.6.0 issues Date: Thu, 5 May 2011 00:06:01 -0400 commit fb7d0b3cefb80a105f7fd26bbc62e0cbf9192822 upstream. GCC 4.6.0 in Fedora rawhide turned up some compile errors in tools/perf due to the -Werror=unused-but-set-variable flag. I've gone through and annotated some of the assignments that had side effects (ie: return value from a function) with the __used annotation, and in some cases, just removed unused code. In a few cases, we were assigning something useful, but not using it in later parts of the function. kyle@dreadnought:~/src% gcc --version gcc (GCC) 4.6.0 20110122 (Red Hat 4.6.0-0.3) Cc: Ingo Molnar <mingo@redhat.com> LKML-Reference: <20110124161304.GK27353@bombadil.infradead.org> (From OE-Core rev: efc68af7259b4bcbb1e03a090128289a7cdc7944) Signed-off-by: Kyle McMartin <kyle@redhat.com> [ committer note: Fixed up the annotation fixes, as that code moved recently ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> [Backported to 2.6.38.2 by deleting unused but set variables] Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> [Backported to linux-yocto kernel git version] Signed-off-by: Khem Raj <raj.khem@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>