Commit Graph

119 Commits

Author SHA1 Message Date
Bruce Ashfield bc885cd8d3 linux-yocto: update live boot configuration
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>
2011-10-05 19:40:20 +01:00
Bruce Ashfield 9886c510f9 linux-yocto/meta: eg20t and live boot config changes
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: 4482970401a048433d5a862bfed4936259dcfcf5)

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>
2011-10-04 13:57:52 +01:00
Bruce Ashfield 093c27a8fd linux-yocto: kernel configuration cleanups
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>
2011-09-22 04:50:08 +01:00
Bruce Ashfield 03b86748ae linux-yocto: add blktrace feature
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>
2011-09-22 04:50:07 +01:00
Bruce Ashfield 978f48b7e2 linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.c
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>
2011-09-15 11:23:57 +01:00
Bruce Ashfield 420a5455ab linux-yocto: split e100 and e1000 support
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>
2011-09-15 11:23:57 +01:00
Bruce Ashfield 1080d52f57 linux-yocto: move common tasks to a common location
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>
2011-09-15 11:23:57 +01:00
Bruce Ashfield 168b89a7cd linux-yocto: re-enable utrace
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>
2011-09-07 14:56:28 +01:00
Bruce Ashfield 244ebdc595 linux-yocto: re-enable systemtap
[
  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>
2011-09-07 14:56:28 +01:00
Bruce Ashfield 314131e472 linux-yocto: clean configuration for v3.0.4
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>
2011-09-05 20:25:46 +01:00
Bruce Ashfield b45e5a3ee2 linux-yocto: update to v3.0.4
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>
2011-09-05 20:25:46 +01:00
Bruce Ashfield c7850ddfeb linux-yocto-rt: qemumips: fix boot panic
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>
2011-08-29 13:48:03 +01:00
Bruce Ashfield c031954822 linux-yocto: update meta SRCREV to sync version strings
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>
2011-08-25 08:45:46 -07:00
Bruce Ashfield f5cddf955d linux-yocto/2.6.37: apmd + get time of day fixes
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>
2011-08-24 19:23:42 -07:00
Bruce Ashfield f34001139b linux-yocto: update machines and default configuration
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>
2011-08-24 19:23:42 -07:00
Bruce Ashfield d8ac3ed435 linux-yocto: update meta SRCREVs for beagleboard config changes
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>
2011-08-24 19:23:42 -07:00
Bruce Ashfield 2c8120d489 linux-yocto-rt: update qemuppc support and streamline variables
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>
2011-08-24 15:27:33 -07:00
Bruce Ashfield ac77252ffb linux-yocto: update SRCREVs for 3.0.3
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>
2011-08-23 18:23:33 -07:00
Bruce Ashfield c52c2acf4e linux-yocto: move more default values into linux-yocto.inc
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>
2011-08-23 18:23:32 -07:00
Bruce Ashfield f759bde4f7 linux-yocto: meta SRCREV bump
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>
2011-08-17 15:14:56 +01:00
Bruce Ashfield 867032e10a linux-yocto: bump version string to 3.0.1
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>
2011-08-17 15:14:55 +01:00
Darren Hart 15c2a7035d Move meta-rt recipes to oe-core (meta)
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>
2011-08-12 17:21:57 +01:00
Bruce Ashfield 8bc2ebf59a linux-yocto: update SRCREVs for preempt-rt support + build fixes
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>
2011-08-12 17:21:53 +01:00
Bruce Ashfield 098ae437df linux-yocto: merge v3.0.1
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>
2011-08-08 13:41:22 +01:00
Bruce Ashfield 9e53f354e1 linux-yocto: update atom-pc preempt-rt definition
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>
2011-08-08 13:41:22 +01:00
Saul Wold be030d3bf5 linux-yocto_3.0: Fix SRC_URI to use yoctoproject.org
(From OE-Core rev: f0c821ff4efeca36b196370e33ee4ec71730819b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-05 17:16:02 +01:00
Yu Ke 6d82688589 linux-yocto: revise the dependency for multilib
(From OE-Core rev: b9a0fd48570a603692c8a177b2b0583429639592)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 16:18:51 +01:00
Bruce Ashfield f5e9a398b9 linux-yocto: update SRCREVs
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>
2011-07-27 16:16:58 +01:00
Bruce Ashfield 2dd9a8ff00 linux-yocto: kernel-3.0 support recipe
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>
2011-07-22 11:51:03 +01:00
Bruce Ashfield f352f1ba03 linux-yocto: update LICENSE to GPLv2
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>
2011-07-22 11:51:02 +01:00
Bruce Ashfield 238ea4e679 linux-yocto/meta: update meta SRCREV for routerstation pro
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>
2011-07-19 17:34:18 +01:00
Mark Hatle 477f685ce0 Add umask task control
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>
2011-06-30 20:57:05 +01:00
Mark Hatle 1bf6ab4814 perf: Fix linux-tools to ensure perf is installed under "fakeroot"
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>
2011-06-23 12:07:37 +01:00
Mark Hatle d9fc516d73 kernel.bbclass: Add support for perf-dbg package
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>
2011-06-23 12:07:37 +01:00
Bruce Ashfield 7e5af814f8 linux-yocto: update meta and yocto/standard SRCREVs
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>
2011-06-22 22:55:35 +01:00
Bruce Ashfield 58db68cd2a linux-yocto: update meta SRCREV for new config groups
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>
2011-06-22 22:55:35 +01:00
Bruce Ashfield 60871cc687 linux-yocto: update SRCREVs for utrace merge
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>
2011-06-22 22:13:09 +01:00
Bruce Ashfield 28fff2f69d linux-yocto: update meta branch SRCREV
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>
2011-06-15 11:13:13 +01:00
Bruce Ashfield dcfb6e4d2a linux-yocto: rename recipes to explicitly indicate version
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>
2011-06-14 15:22:56 +01:00
Bruce Ashfield 3bb917dbdb linux-yocto: make e1000e structure common [commit: bec3f1e8c]
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>
2011-06-07 21:38:37 +01:00
Bruce Ashfield ffa4177146 linux-yocto: update target/meta SRCREVs
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>
2011-06-07 21:38:37 +01:00
Bruce Ashfield 949c3521ab linux-yocto: update meta SRCREV
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>
2011-05-31 08:53:25 +01:00
Bruce Ashfield 0b5b26b186 linux-yocto: fix gcc 4.6.0 compilation failures
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>
2011-05-19 23:40:35 +01:00
Bruce Ashfield 72931d1cbd linux-yocto: update meta SRCREV
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>
2011-05-17 15:14:44 +01:00
Bruce Ashfield 5aa69f20f2 linux-yocto: error if meta data not present
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>
2011-05-10 09:56:21 +01:00
Bruce Ashfield b4dcf0d138 linux-yocto: remove non-core (qemu) machine compatibility
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>
2011-05-10 09:56:21 +01:00
Bruce Ashfield 6f16bbf3cc linux-yocto: update SRCREVs
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>
2011-05-05 12:26:48 +01:00
Yu Ke 61018fda65 poky-default-revisions: move the SRCREV to recipe file
in this case, those non poky distro can also use these recipe normally

(From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04 15:06:36 +01:00
Khem Raj c9107cdf90 linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
Perf wants elfutils and elfutils on uclibc does not work due to
its usage of obstack_printf functionality missing from uclibc.

(From OE-Core rev: 8c2154fd5be3b7a633d87a23a1beffe9ce45c123)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28 10:44:41 +01:00
Tom Zanussi ee2ff2ab53 linux-tools.inc: turn off newt and dwarf for perf
Turn these off for now to avoid the host infection issues for perf.

Fixes yocto [BUGID #994].

(From OE-Core rev: 51cf1ecab860269b3d822e2e372756b8bb8ffe26)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 22:50:31 +01:00