]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
13 years agoyocto-bsp: include meta-intel.inc if emgd selected
Tom Zanussi [Wed, 29 Aug 2012 21:33:32 +0000 (16:33 -0500)] 
yocto-bsp: include meta-intel.inc if emgd selected

With move of ia32-base to oe-core, the intel-specific variables were
split off into meta-intel.inc, which needs to be included when using
components present only in meta-intel.

In the case of i386, that's currently just emgd, so conditionally
include emgd if emgd is selected as the xserver choice.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agompc8315e: switch to Xorg instead of kdrive
Ross Burton [Fri, 31 Aug 2012 19:27:18 +0000 (20:27 +0100)] 
mpc8315e: switch to Xorg instead of kdrive

All of the other BSPs are using Xorg and kdrive is only maintained for Xephyr.

Signed-off-by: Ross Burton <ross.burton@intel.com>
13 years agorouterstationpro: switch to Xorg instead of kdrive
Ross Burton [Fri, 31 Aug 2012 19:27:17 +0000 (20:27 +0100)] 
routerstationpro: switch to Xorg instead of kdrive

All of the other BSPs are using Xorg and kdrive is only maintained for Xephyr.

Signed-off-by: Ross Burton <ross.burton@intel.com>
13 years agobsp: set default XSERVER for PowerPC and MIPS machines to Xorg
Ross Burton [Thu, 30 Aug 2012 12:13:14 +0000 (13:13 +0100)] 
bsp: set default XSERVER for PowerPC and MIPS machines to Xorg

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolocal.conf.sample.extended: update the sample for archiver.bbclass
Robert Yang [Sun, 26 Aug 2012 06:18:36 +0000 (14:18 +0800)] 
local.conf.sample.extended: update the sample for archiver.bbclass

Update archiver.bbclass' sample, make it easier to understand.

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoyocto-bsp: use KBRANCH_DEFAULT in 'newbranch' cases
Tom Zanussi [Wed, 29 Aug 2012 03:01:35 +0000 (22:01 -0500)] 
yocto-bsp: use KBRANCH_DEFAULT in 'newbranch' cases

The new yocto-kernel way of specifying that the branch sanity check
doesn't need to be run is to specify a default kbranch and build that.

In the case where we have a new kbranch but it's not yet in the repo,
we need to tell it that our new branch is the default and we're
building the default and that's how we avoid the sanity check and the
subsequent do_validate_branches() failure.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoyocto-bsp: remove obsolete references
Tom Zanussi [Wed, 29 Aug 2012 03:01:34 +0000 (22:01 -0500)] 
yocto-bsp: remove obsolete references

The logbuf-normal feature is obsolete, so remove any references to it.
The dmaengine and hpet features have changed, but don't really need to
be added by default to i386 - leave that to the BSP developer.  Also,
remove a couple duplicate feature references in the .scc files.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoyocto-bsp: add missing xserver-xf86-config .bbappend for qemu
Tom Zanussi [Thu, 9 Aug 2012 20:03:30 +0000 (15:03 -0500)] 
yocto-bsp: add missing xserver-xf86-config .bbappend for qemu

Re-add xserver-xf86-config which was inadvertently removed.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: use base branches for qemu 'newbranch' case
Tom Zanussi [Thu, 9 Aug 2012 17:38:52 +0000 (12:38 -0500)] 
yocto-bsp: use base branches for qemu 'newbranch' case

The branch updating for the [YOCTO #2587] fix inadvertently changed
some of the qemu branch names incorrectly, fix it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: remove YOCTO_KERNEL_EXTERNAL_BRANCH usage
Tom Zanussi [Wed, 8 Aug 2012 15:29:04 +0000 (10:29 -0500)] 
yocto-bsp: remove YOCTO_KERNEL_EXTERNAL_BRANCH usage

YOCTO_KERNEL_EXTERNAL_BRANCH is now obsolete, so remove it from the
templates.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: use emgd 1.14 for i386 template
Tom Zanussi [Wed, 8 Aug 2012 14:33:32 +0000 (09:33 -0500)] 
yocto-bsp: use emgd 1.14 for i386 template

Make i386 template use emgd 1.14, along with associated changes.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: update standard branch mapping
Tom Zanussi [Wed, 8 Aug 2012 14:23:29 +0000 (09:23 -0500)] 
yocto-bsp: update standard branch mapping

Remove mapping for 3.0 and add mapping for 3.4.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: add 3.4/remove 3.0 kernel from templates
Tom Zanussi [Wed, 8 Aug 2012 14:20:03 +0000 (09:20 -0500)] 
yocto-bsp: add 3.4/remove 3.0 kernel from templates

For 1.3, 3.4 is the preferred kernel and 3.0 isn't supported.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: generate default properties even if json specified
Tom Zanussi [Tue, 7 Aug 2012 21:11:14 +0000 (16:11 -0500)] 
yocto-bsp: generate default properties even if json specified

Users seem to want to specify incomplete property sets when using json
input.  Allow this by generating default properties before the
user-specified properties are applied; the user will then get the
defaults for any unspecified values, and avoid cryptic backtraces.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: use emgd 1.10 for i386 template
Tom Zanussi [Tue, 7 Aug 2012 18:41:20 +0000 (13:41 -0500)] 
yocto-bsp: use emgd 1.10 for i386 template

Make i386 template use emgd 1.10 for denzil, along with associated
changes.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: add i586 option for i386
Tom Zanussi [Mon, 6 Aug 2012 21:27:35 +0000 (16:27 -0500)] 
yocto-bsp: add i586 option for i386

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: add some standard policy
Tom Zanussi [Mon, 6 Aug 2012 20:40:46 +0000 (15:40 -0500)] 
yocto-bsp: add some standard policy

Add some useful default options to to the i386 and x86_64 templates.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: remove 'branch' statements in .scc if reusing branch
Tom Zanussi [Mon, 6 Aug 2012 19:32:18 +0000 (14:32 -0500)] 
yocto-bsp: remove 'branch' statements in .scc if reusing branch

If reusing a branch (need_new_branch == 'n') we don't need to branch
in the .scc, so make it conditional on need_new_branch.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: use rstrip() for assignment lines
Tom Zanussi [Mon, 6 Aug 2012 05:56:55 +0000 (00:56 -0500)] 
yocto-bsp: use rstrip() for assignment lines

strip() isn't necessary and causes unintended formatting changes in
the output; rstrip() remove the trailing newlines as intended while
leaving indenting whitespace intact.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: use standard branch mapping in bsp templates
Tom Zanussi [Sun, 5 Aug 2012 21:28:41 +0000 (16:28 -0500)] 
yocto-bsp: use standard branch mapping in bsp templates

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: add standard branch mapping
Tom Zanussi [Sun, 5 Aug 2012 21:27:00 +0000 (16:27 -0500)] 
yocto-bsp: add standard branch mapping

Add a mechanism to distinguish common-pc variants of standard
branches.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: use branches_base
Tom Zanussi [Sun, 5 Aug 2012 15:45:12 +0000 (10:45 -0500)] 
yocto-bsp: use branches_base

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: allow branch display filtering
Tom Zanussi [Sun, 5 Aug 2012 17:29:16 +0000 (12:29 -0500)] 
yocto-bsp: allow branch display filtering

Add a "branches_base" property that can be used to allow only matching
branches to be returned from all_branches().

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: update default branch names
Tom Zanussi [Tue, 19 Jun 2012 04:57:57 +0000 (23:57 -0500)] 
yocto-bsp: update default branch names

Make sure the default branch names match branch names found in the
kernel branch listing.

Fixes [YOCTO #2587].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoyocto-bsp: strip '/base' from kernel branches in templates
Tom Zanussi [Tue, 19 Jun 2012 04:39:25 +0000 (23:39 -0500)] 
yocto-bsp: strip '/base' from kernel branches in templates

For new branches, users can specify /base branches, but we don't want
the '/base' in the resultant branch name, so remove it.

Fixes [YOCTO #2693].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopoky.conf: restore Ubuntu 12.04 LTS to tested distro list
Paul Eggleton [Mon, 20 Aug 2012 16:05:47 +0000 (17:05 +0100)] 
poky.conf: restore Ubuntu 12.04 LTS to tested distro list

Apparently some people don't apply the normal updates to their Ubuntu
installations, in which case they will not have the version updated to
12.04.1. Since the distinction between the two is fairly minimal,
restore the old version string in addition to the new one.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: Update to upstream 1.20.2
Radu Moisan [Wed, 22 Aug 2012 09:24:31 +0000 (12:24 +0300)] 
busybox: Update to upstream 1.20.2

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agorouterstationpro: move board off 3.0 and onto the 3.4 kernel
Paul Gortmaker [Fri, 17 Aug 2012 15:24:19 +0000 (11:24 -0400)] 
routerstationpro: move board off 3.0 and onto the 3.4 kernel

The updated patch series to support this target is in place
on the BSP specific branch in the 3.4 kernel tree now[1], so
we can move it ahead off of the old 3.0 kernel.

[1] https://lists.yoctoproject.org/pipermail/linux-yocto/2012-July/000023.html

Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Saul Wold <sgw@linux.intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoREADME: Clarify where to send patches
Darren Hart [Tue, 21 Aug 2012 16:27:16 +0000 (09:27 -0700)] 
README: Clarify where to send patches

There is still a great deal of confusion over where patches for the
various components of the poky repository should be sent. Attempt to
mitigate this by including a blurb in the poky README similar to what
other layers and repositories do.

V2: Call out the special care required when dealing with the scripts
    directory per Saul Wold's recommendation.

V3: Recommend applying patches to oe-core prior to sending patches to
    the oe-core mailing list.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Richard Purdie <richard.purdie@intel.com>
CC: Paul Gortmaker <paul.gortmaker@windriver.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoatom-pc: Drop glibc --with-tls option, its now the only option for glibc
Richard Purdie [Tue, 21 Aug 2012 07:17:20 +0000 (08:17 +0100)] 
atom-pc: Drop glibc --with-tls option, its now the only option for glibc

This option is unused by (e)glibc since 2011 and is the default. It has been
shown to interact badly with the configure option in ia32-base.inc from meta-intel
causing a rebuild of the whole system despite the only change being an
assignment with += vs =. The easiest fix is simply to drop it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocore: Prefer mesa-dri as virtual/libopengles1/2 provider
Damien Lespiau [Mon, 30 Jul 2012 13:51:14 +0000 (13:51 +0000)] 
core: Prefer mesa-dri as virtual/libopengles1/2 provider

Wihtout it, you have both mesa-dri and mesa-xlib as providers. Let's
prefer the accelerated version.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/meta-yocto/3.4: BSP, uprobes, config and cleanups
Bruce Ashfield [Thu, 9 Aug 2012 19:48:27 +0000 (19:48 +0000)] 
linux-yocto/meta-yocto/3.4: BSP, uprobes, config and cleanups

Updating the linux-yocto meta-yocto 3.4 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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky.conf: update distro ID string for Ubuntu 12.04.1 LTS
Paul Eggleton [Fri, 17 Aug 2012 10:55:25 +0000 (11:55 +0100)] 
poky.conf: update distro ID string for Ubuntu 12.04.1 LTS

If you have 12.04 LTS it will now have been updated to 12.04.1.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro: Remove Pimlico from distro-tracking
Ross Burton [Thu, 9 Aug 2012 09:09:27 +0000 (09:09 +0000)] 
distro: Remove Pimlico from distro-tracking

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomesa: 7.11 -> 8.0.4
Richard Purdie [Mon, 6 Aug 2012 14:20:49 +0000 (15:20 +0100)] 
mesa: 7.11 -> 8.0.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotiny-init: Setup /dev/ptmx in init
Darren Hart [Wed, 1 Aug 2012 19:01:23 +0000 (12:01 -0700)] 
tiny-init: Setup /dev/ptmx in init

Fixes [YOCTO #2382]

Without /dev/ptmx, ssh logins fail with:
"PTY allocation request failed on channel 0"

As the kernel support already exists in the linux-yocto-tiny kernel,
create the /dev/ptmx device in tiny-init so it works as intended.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoConnectivity and multimedia manual packages
Cristian Iorga [Tue, 24 Jul 2012 13:43:40 +0000 (13:43 +0000)] 
Connectivity and multimedia manual packages

Upstream updates checked.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream_tracking.inc: update some packages
Kang Kai [Wed, 25 Jul 2012 09:13:53 +0000 (09:13 +0000)] 
upstream_tracking.inc: update some packages

Update packages mingetty, qmmp, liburi-perl and ltp's version info
and/or manual check date.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomaintainers.inc: update some packages' maintainer info
Kang Kai [Wed, 25 Jul 2012 09:13:52 +0000 (09:13 +0000)] 
maintainers.inc: update some packages' maintainer info

Take over some packages belongs to Xiaofeng.Yang.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agompc8315: build u-boot v2012.04 by default.
Paul Gortmaker [Fri, 20 Jul 2012 00:01:55 +0000 (20:01 -0400)] 
mpc8315: build u-boot v2012.04 by default.

Validated on real hardware:

   U-Boot 2012.04.01 (Jun 29 2012 - 13:48:03)MPC83XX

   Reset Status: Software Hard, External/Internal Soft, External/Internal Hard

   CPU:   e300c3, MPC8315E, Rev: 1.2 at 400 MHz, CSB: 133.333 MHz
   Board: Freescale MPC8315ERDB Rev 1.0
   I2C:   ready
   DRAM:  128 MiB (DDR2, 32-bit, ECC off, 266.667 MHz)
   Flash: 8 MiB
   NAND:  32 MiB
   PCIE0: No link
   PCIE1: No link
   In:    serial
   Out:   serial
   Err:   serial
   Net:   eTSEC0, eTSEC1
   Hit any key to stop autoboot:  0

[YOCTO #943]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpadate upstream_tracking.inc
Radu Moisan [Thu, 19 Jul 2012 13:22:47 +0000 (16:22 +0300)] 
Upadate upstream_tracking.inc

Added new info for tinylogin.

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update mpc8315e-rdb linux-yocto-3.4 kernel SRCREV
Tom Zanussi [Wed, 11 Jul 2012 22:16:09 +0000 (22:16 +0000)] 
linux-yocto: update mpc8315e-rdb linux-yocto-3.4 kernel SRCREV

The mpc8315e-rdb was updated to the 3.4 kernel, but the SRCREV wasn't
updated along with it; this updates it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto-3.0/meta-yocto: perf script fixes
Bruce Ashfield [Wed, 11 Jul 2012 14:37:13 +0000 (14:37 +0000)] 
linux-yocto-3.0/meta-yocto: perf script fixes

Updating the yocto reference boards to have the perf scripting fixes
from 3.2/3.4:

 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>
13 years agolinux-yocto-3.0/meta-yocto: perf script fixes
Bruce Ashfield [Wed, 11 Jul 2012 14:49:50 +0000 (10:49 -0400)] 
linux-yocto-3.0/meta-yocto: perf script fixes

Updating the yocto reference boards to have the perf scripting fixes
from 3.2/3.4:

 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>
13 years agometa-yocto: mpc8315e-rdb change preferred version to 3.4
Paul Gortmaker [Mon, 9 Jul 2012 21:17:14 +0000 (17:17 -0400)] 
meta-yocto: mpc8315e-rdb change preferred version to 3.4

Update the yocto hardware reference platform to use the
3.4 kernel by default.

This platform is supported in mainline, so no patch carry
forward or similar is required.  Tested via NFS booting the
kernel on real hardware with 3.4.1 and things just work as-is.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream_tracking: update boost
Saul Wold [Thu, 28 Jun 2012 19:07:40 +0000 (19:07 +0000)] 
upstream_tracking: update boost

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomaintainers: Update recipe ownership
Alexandru DAMIAN [Thu, 5 Jul 2012 14:57:14 +0000 (14:57 +0000)] 
maintainers: Update recipe ownership

Romania team performed package maintainers modification
based on relevant experience and expertise area assignement.
No entries outside Ro team were touched.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpstream tracking partial updates
Cristian Iorga [Fri, 6 Jul 2012 14:35:14 +0000 (17:35 +0300)] 
Upstream tracking partial updates

Manually checked packages for updates.
Changed the necessary fields with updated values.
Added missing recording where necessary.
Beautified some packages info.
Removed small typos in distro_alias.inc and recipe_color.inc.
All changes easy detectable in the diff.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream_tracking.inc: recipe upgrades and manual check updates
Scott Garman [Thu, 5 Jul 2012 18:02:49 +0000 (11:02 -0700)] 
upstream_tracking.inc: recipe upgrades and manual check updates

Updated gzip and sudo to reflect recent recipe upgrades.

Updated manual check information for e2fsprogs, chrpath, opensp,
expat, nfs-utils, and libpng.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream_tracking: Update manual checks and Header info
Saul Wold [Fri, 6 Jul 2012 03:56:22 +0000 (20:56 -0700)] 
upstream_tracking: Update manual checks and Header info

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonetbase 4.47 -> 5.0
Richard Purdie [Thu, 5 Jul 2012 13:21:26 +0000 (14:21 +0100)] 
netbase 4.47 -> 5.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuild-appliance-image: rename from self-hosted-image
Valentin Popa [Thu, 28 Jun 2012 12:46:19 +0000 (15:46 +0300)] 
build-appliance-image: rename from self-hosted-image

(-) rename it also in maintainers.inc

[YOCTO #2636]

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers-yocto: Do not include linux-yocto
Darren Hart [Fri, 29 Jun 2012 04:17:59 +0000 (21:17 -0700)] 
linux-libc-headers-yocto: Do not include linux-yocto

The only bit we seem to need from the linux-yocto include is the
SRCREV_FORMAT. If we define this explicitly, we can avoid including the
linux-yocto include.

This is desirable so that linux-yocto can require kernel and simplify
the PR update process of all the linux-yocto* recipes. Pulling in
kernel to the linux-libc-headers-yocto recipes causes build failures by
pulling in "update-modules-nativesdk".

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample.extended: Add filtering function to archiver.bbclass
Xiaofeng Yan [Tue, 26 Jun 2012 06:15:28 +0000 (06:15 +0000)] 
local.conf.sample.extended: Add filtering function to archiver.bbclass

Add the option to filter packages according to license.

[YOCTO #2473]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotiny-init: Basic init mechanism for poky-tiny
Darren Hart [Thu, 14 Jun 2012 04:05:17 +0000 (21:05 -0700)] 
tiny-init: Basic init mechanism for poky-tiny

Currently poky-tiny images will boot and run /bin/sh, which results in
error messages to the console about being unable to open the tty and job
control being disabled.

The shell must be session leader to open the tty, and the tty must not
be /dev/console (it should be a vt or a physical tty like ttyS0), the
tty is required for job control (handling signals, etc.).

The goals of poky-tiny are to be an initial starting point from which to
build a distribution that does what you want, and NOTHING more.

This patch results in a system that boots with the virtual filesystems
mounted, the local network interface up, and a shell with job control
running, and a hook (/etc/rc.local) for easy customization. Nothing
else.

Enabling the basic busybox init, including the ability to give the
controlling console to commands starting with a dash in inittab results
in a 5664 byte delta (compared with 2560 bytes for enabling setsid and
cttyhack). Note that the help in busybox suggests the cttyhack may be
more reliable than the init support for handing over the controlling
terminal.

So the difference between using a standard init and just enabling the
two options is about 3k, but enabling setsid and cttyhack may enable
others to things besides what I am looking to do. Enabling init in both
DISTRO_FEATURES and busybox is fairly trivial to do, so I think it's
better to leave that as something to add if needed, rather than
something to remove, as that is more consistent with the goals of
poky-tiny.

Thanks to Tim Bird for his suggestion to include support for rc.local by
default.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tim Bird <tim.bird@am.sony.com>
CC: Thomas Frydrych <tf+lists.yocto@r-finger.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Phil Blundell <philb@gnu.org>
CC: Khem Raj <raj.khem@gmail.com>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agobusybox: Introduce poky-tiny defconfig override
Darren Hart [Mon, 18 Jun 2012 18:12:45 +0000 (11:12 -0700)] 
busybox: Introduce poky-tiny defconfig override

When building very small systems, it can be useful to spawn a shell from
a simple init script, rather than a full System V Init process. This
requires the shell be the session leader and be able to open the
controlling terminal if it is to have job control.

Create a busybox bbappend in meta-yocto with a poky-tiny/defconfig.
This adds SETSID and CTTYHACK for poky-tiny on top of the oe-core
defconfig.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tim Bird <tim.bird@am.sony.com>
CC: Thomas Frydrych <tf+lists.yocto@r-finger.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Phil Blundell <philb@gnu.org>
CC: Khem Raj <raj.khem@gmail.com>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agoyocto-bsp: update yocto-bsp xorg.conf templates
Tom Zanussi [Mon, 18 Jun 2012 19:01:34 +0000 (14:01 -0500)] 
yocto-bsp: update yocto-bsp xorg.conf templates

The non-x86 qemu machines now require an xorg.conf, change the
templates accordingly.

Fixes [YOCTO #2559]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoyocto-bsp: update yocto-bsp machine.conf template
Tom Zanussi [Sun, 17 Jun 2012 03:42:49 +0000 (22:42 -0500)] 
yocto-bsp: update yocto-bsp machine.conf template

Some changes in the ordering assumptions of the qemu include rendered
X inoperative, fix those in the qemu machine template.

Fixes [YOCTO #2559]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoupstream_tracking: Update Upgraded and Manual Checked upstream
Saul Wold [Sat, 23 Jun 2012 03:15:35 +0000 (20:15 -0700)] 
upstream_tracking: Update Upgraded and Manual Checked upstream

Remove VERSION and CHECK_DATE info for packages we can generate
the information for automagically.

Manually checked:
console-tools
sysfsutils
cracklib
less
psmisc
sysstat
glew
libmad
boost
libcheck
libcap
libexif
sqlite3

Upgraded:
sqlite3: Update to 3.7.13
psmisc: Update to 22.19
sysstat: Update to 10.0.5
util-linux: Update to 2.21.2
libxml2: Update to 2.8.0
mx: Upgrade to 1.4.6
libxml-simple-perl: Upgrade to 2.20
cracklib: Upgrade to 2.8.19
resolvconf: Upgrade to 1.67
libtasn1: Upgrade to 2.13
gnutls: Upgrade to 2.12.20
foomatic-filters: Upgrade to 4.0.16
libidn: Upgrade to 1.25
libtiff: Upgrade to 4.0.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolinux-libc-headers-yocto: update to v3.4 and remove unecessary code
Bruce Ashfield [Thu, 21 Jun 2012 18:07:44 +0000 (14:07 -0400)] 
linux-libc-headers-yocto: update to v3.4 and remove unecessary code

Updating the linux-libc-headers-yocto recipe to 3.4. There are blocks
of code and definitions that are handled by the included libc-headers.inc,
so we shouldn't be repeating them in this recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-libc-headers-yocto: use kernel-arch to set ARCH
Bruce Ashfield [Wed, 20 Jun 2012 13:49:15 +0000 (09:49 -0400)] 
linux-libc-headers-yocto: use kernel-arch to set ARCH

The arch mapping done in kernel-arch should be used instead of
recipe local mapping. Inheriting kernel-arch consolidates the
code and simplifies the libc-header recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agobblayers.conf.sample: Fix empty BBPATH entry warnings
Richard Purdie [Fri, 22 Jun 2012 13:33:12 +0000 (14:33 +0100)] 
bblayers.conf.sample: Fix empty BBPATH entry warnings

Many people are seeing issues from the empty path warnings from BBPATH.
The empty path entry corresponding to the current working directory is a
problem since if cwd changes, so does BBPATH and build reproducibility.

Simply removing the empty element causes problems since the build
directory then isn't listed in BBPATH which means local.conf isn't found
and this gives an extremely confusing error message about bbappends
being unsatisfied.

The build directory in bitbake terms is TOPDIR. The correct way to fix
things is to add in TOPDIR into bblayers.conf itself. This means the
layers can happily append/prepend to BBPATH at will as its no longer
empty hence neatly solving all the various problems. Since the file has
changed, the version is also changed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomaintainers: Update for Transition
Saul Wold [Thu, 21 Jun 2012 03:06:14 +0000 (20:06 -0700)] 
maintainers: Update for Transition

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/meta-yocto: update yaffs2 and drop rc6
Bruce Ashfield [Fri, 15 Jun 2012 16:33:28 +0000 (12:33 -0400)] 
linux-yocto/meta-yocto: update yaffs2 and drop rc6

Updating the 3.4 SRCREVs to pickup a yaffs2 update and the removal
of a feature that was required in the 3.2 kernel tree.

1/2 [
    meta: rc6: remove rc6 patches for snb

    The sandybridge rc6 patches are part of the released v3.4 kernel.
    Hence there is no need to keep these patches in the 3.4 linux
    yocto kernel repository.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
]

2/2 [
    yaffs2: update core support

    Uprev yaffs2 to latest version as of 2012-05-29
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro tracking files: Add seperated set of files
Saul Wold [Tue, 12 Jun 2012 14:52:41 +0000 (07:52 -0700)] 
distro tracking files: Add seperated set of files

This patch creates a split up of the orignal distro_tracking_files
since we need to manage this more in the meta-yocto space, each
file has a set of comments describing the contents

maintainers.inc is a list of the maintainers
recipe_color.inc is a burn down list of recipes that need to be checked
recipe_data.inc contains data for creating the BOM and tracks some
info that could be moved into the recipes directly.
upstream_tracking.inc: Version and Date information that can not be
discovered automagically.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky-tiny: eliminate mtrace rdepends
Richard Purdie [Tue, 12 Jun 2012 23:50:45 +0000 (16:50 -0700)] 
poky-tiny: eliminate mtrace rdepends

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-yocto/linux-yocto: fix routerstationpro build
Bruce Ashfield [Tue, 12 Jun 2012 20:52:15 +0000 (16:52 -0400)] 
meta-yocto/linux-yocto: fix routerstationpro build

The update from v3.0.24 to v3.0.32 removed a lock that the routerstationpro
BSP was using, and broke the build.

Updating the SRCREV to pickup a fix for the new lock and fix the board
build.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt-x11-free.bbappend: Update to 4.8.1
Richard Purdie [Tue, 12 Jun 2012 12:10:00 +0000 (13:10 +0100)] 
qt-x11-free.bbappend: Update to 4.8.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-yocto: make 3.4 the default kernel for qemu*
Bruce Ashfield [Fri, 1 Jun 2012 04:43:06 +0000 (00:43 -0400)] 
meta-yocto: make 3.4 the default kernel for qemu*

The 3.4 kernel is available and has been built and booted on
all the qemu machines, so it now becomes the default for the
qemu machines, and machines that don't explicitly set a preferred
version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto/meta-yocto/3.2: fri2 and chiefriver machine updates
Bruce Ashfield [Tue, 29 May 2012 20:51:46 +0000 (16:51 -0400)] 
linux-yocto/meta-yocto/3.2: fri2 and chiefriver machine updates

Picking up the oe-core commit:

    Bumping the 3.2 SRCREVs to pickup the following configuration changes for
    the new chiefriver BSP and the existing fri2 machines:

     5b4c9dc fri2: update base config
     cdfbb50 fri2: add usb-mass-storage to standard and preempt-rt
     3c1af06 fri2 update: drop NETDEVICE, e1xxx, usb-mass-storage, add iwlwifi feature
     26a4d79 iwlagn: Correct a comment typo
     ade9c57 iwlwifi: Add a feature for iwlwifi
     571b6cb fri2: Configuration update (usb, wifi, i2c)
     b257485 meta: add tmp/rc6 feature
     24c6494 chiefriver: create initial BSP infrastructure

    All branches are also updated with the following fix:

      1ce6700 efi: Add patch to fix 32bit EFI service mapping (rhbz 726701)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto/meta-yocto: introduce 3.4 bbappend
Bruce Ashfield [Thu, 24 May 2012 03:03:44 +0000 (23:03 -0400)] 
linux-yocto/meta-yocto: introduce 3.4 bbappend

Creating the initial meta-yocto bbappend for the 3.4 kernel.
The routerstationpro and beaglboard are not initially marked as
compatible since full testing has not completed. Future updates
will remove this restriction.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto/meta-yocto: add machine aliases for yocto BSPs
Bruce Ashfield [Thu, 24 May 2012 02:45:58 +0000 (22:45 -0400)] 
linux-yocto/meta-yocto: add machine aliases for yocto BSPs

To avoid mapping machine names to kernel machine names in recipes,
we can define multiple KMACHINE names for a single in tree board.
This allows the tools to match a board description to multiple
different MACHINEs.

As a result, we can remove the explicit KMACHINE mappings from
the linux-yocto recipes and allow the KMACHINE=${MACHINE} default
to handle mappings. Individual recipes an bbappends can override
this as required.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto/meta-yocto: remove 2.6.37 bbappend
Bruce Ashfield [Thu, 24 May 2012 02:05:41 +0000 (22:05 -0400)] 
linux-yocto/meta-yocto: remove 2.6.37 bbappend

With the introduction of the 3.4 kernel, the 2.6.37 kernel recipe is
removed, so we'll also remove the meta-yocto 2.6.37 bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto/meta-yocto: update to v3.2.18
Bruce Ashfield [Thu, 24 May 2012 02:02:48 +0000 (22:02 -0400)] 
linux-yocto/meta-yocto: update to v3.2.18

Updating the 3.2 linux-yocto SRCREVs to pick up the v3.2.18
-stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto/meta-yocto: update to v3.0.32
Bruce Ashfield [Thu, 24 May 2012 02:00:34 +0000 (22:00 -0400)] 
linux-yocto/meta-yocto: update to v3.0.32

Updating the kernel SRCREVs to pickup the v3.0.32 -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoREADME: Correct documentation URL in top-level README file
Robert P. J. Day [Thu, 7 Jun 2012 23:37:03 +0000 (16:37 -0700)] 
README: Correct documentation URL in top-level README file

even though redirection takes care of this, might as well be
accurate.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
[elizabeth.flanagan@intel.com: Fixed up submitted patch as it was corrupt as sent]
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample.extended: Change the usage about arhiver.bbclass
Xiaofeng Yan [Wed, 30 May 2012 09:17:10 +0000 (17:17 +0800)] 
local.conf.sample.extended: Change the usage about arhiver.bbclass

Change the usage about arhiver.bbclass due to the improvement for
usability of archiver.bbclass

[YOCTO #2472]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agokernel.py: replace os.popen with subprocess.Popen
Robert Yang [Fri, 1 Jun 2012 08:03:58 +0000 (16:03 +0800)] 
kernel.py: replace os.popen with subprocess.Popen

Replace os.popen with subprocess.Popen since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agopoky.conf: Change WARNS -> ERRORS
Saul Wold [Thu, 19 Apr 2012 19:14:57 +0000 (12:14 -0700)] 
poky.conf: Change WARNS -> ERRORS

A major effort was completed as part of 1.2 to fix many WARNING
messages, change the level of those fixed areas to ERROR so we
do not backslide on our quality level

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agometa-yocto/linux-yocto-3.0: update branch mappings for new tools
Bruce Ashfield [Tue, 8 May 2012 14:52:30 +0000 (10:52 -0400)] 
meta-yocto/linux-yocto-3.0: update branch mappings for new tools

Updates to the kern-tools to be more flexible and support multiple
upstream repository formats means that KMACHINE should really only
map to a machine and that KBRANCH should specify branch information.

To adapt to this change, we split the hardware reference boards into
KMACHINE and KBRANCH mappings.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/3.0: mm/msync: tweak tmpfs patch for syscall msync
Bruce Ashfield [Mon, 7 May 2012 15:14:10 +0000 (11:14 -0400)] 
linux-yocto/3.0: mm/msync: tweak tmpfs patch for syscall msync

Bumping the routerstationpro SRCREV for the following fix:

    mm/msync: tweak tmpfs patch for syscall msync

    Commit 1c3ae5441 "mm: msync: fix issues of sys_msync on tmpfs"
    fixes the problem that sys_msync fails with tmpfs on MIPS CPU which
    has feature "cache alias".

    But it makes POSIX test cases mlockall/3-6 3-7 fail on MIPS.
    Case mlockall/3-6 creates a share memory, and maps it to memory.
      fd = shm_open(SHM_NAME, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR);
      foo = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
    Then calls mlockall to lock all of the virtual address space:
      if (mlockall(MCL_CURRENT) == -1) {
    At last tests whether the virtual address spaces are locked:
      page_ptr = (void*) ((long)foo - ((long)foo % page_size));
      result = msync(page_ptr, page_size, MS_SYNC|MS_INVALIDATE);
    It espects msync returns -1 with EBUSY but returns 0.
    Case mlockall/3-7 creates a normal file to mmap, and it fails too.

    Tweak the patch to:
    1 Moved the CONFIG_TMPFS block down in the loop so that the normal
      vma flag checking will perform.
    2 There may be other VMAs in the list after this VMA which belongs
      to tmpfs file, and we should sync them after the tmpfs one. So
      remove the break loop clauses.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoyocto-bsp: clarify help with reference to meta-intel
Tom Zanussi [Mon, 30 Apr 2012 19:12:15 +0000 (14:12 -0500)] 
yocto-bsp: clarify help with reference to meta-intel

The current yocto-bsp help assumes knowledge that the meta-intel layer
needs to be cloned before it's put into the BBLAYERS.  Avoid the
guesswork and state the details explicitly in the help.

Also, the shorter 'usage' string doesn't mention it at all; it would
help to at minimum mention it and refer the user to the detailed help.

Fixes [YOCTO #2330].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoyocto-kernel: use BUILDDIR to find bblayers.conf
Tom Zanussi [Mon, 30 Apr 2012 19:12:14 +0000 (14:12 -0500)] 
yocto-kernel: use BUILDDIR to find bblayers.conf

The current code assumes that builddir == srcdir/build, which it
obviously isn't sometimes.  Use BUILDDIR to get the actual builddir
being used.

Fixes [YOCTO #2219].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky.conf: use correct version string for Ubuntu 12.04
Paul Eggleton [Thu, 3 May 2012 16:40:51 +0000 (17:40 +0100)] 
poky.conf: use correct version string for Ubuntu 12.04

Since it is an LTS release, the final version string was not
"Ubuntu 12.04" but "Ubuntu 12.04 LTS", so use this when doing the tested
host distribution check.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonetbase: Correctly set FILESEXTRAPATHS to include the version
Richard Purdie [Thu, 26 Apr 2012 11:41:14 +0000 (12:41 +0100)] 
netbase: Correctly set FILESEXTRAPATHS to include the version

[YOCTO #2366]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky-floating-revisions.inc: Catch up with eds-dbus rename
Richard Purdie [Thu, 26 Apr 2012 10:01:27 +0000 (11:01 +0100)] 
poky-floating-revisions.inc: Catch up with eds-dbus rename

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky-tiny: Drop now unneeded DISTRO_FEATURES_LIBC_TOOLCHAIN (after gettext fix)
Richard Purdie [Thu, 19 Apr 2012 22:03:32 +0000 (23:03 +0100)] 
poky-tiny: Drop now unneeded DISTRO_FEATURES_LIBC_TOOLCHAIN (after gettext fix)

After the recent gettext dependency fix (commit 6e5cb40dfaeae4843dd65115f0b8b0f20f58d30e
"gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values",
its no longer necessary to have to have these options to build meta-toolchain.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky.conf: Update post release branching
Richard Purdie [Wed, 18 Apr 2012 14:57:06 +0000 (15:57 +0100)] 
poky.conf: Update post release branching

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/distro/poky.conf: set SANITY_TESTED_DISTROS
Paul Eggleton [Wed, 18 Apr 2012 10:03:33 +0000 (11:03 +0100)] 
conf/distro/poky.conf: set SANITY_TESTED_DISTROS

Specify a list of tested host distributions, based on those tested prior
to the Yocto Project 1.2 release. This will enable a warning to be
printed upon starting bitbake if the host distribution is not one on the
list.

Note: this warning is intended to help new users; if you are receiving
this warning and wish to disable it, just add SANITY_TESTED_DISTROS = ""
to your local.conf.

Fixes [YOCTO #1096].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-yocto: remove kernel26 machine feature usage
Tom Zanussi [Mon, 16 Apr 2012 22:20:38 +0000 (17:20 -0500)] 
meta-yocto: remove kernel26 machine feature usage

kernel26 is now obsolete so remove it from the machine configs that
use it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoyocto-bsp: remove kernel26 machine feature from templates
Tom Zanussi [Mon, 16 Apr 2012 01:37:24 +0000 (20:37 -0500)] 
yocto-bsp: remove kernel26 machine feature from templates

kernel26 is now obsolete so remove it from the templates that use it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agopoky-tiny: Separate the libc features required for meta-toolchain
Darren Hart [Tue, 17 Apr 2012 01:06:12 +0000 (18:06 -0700)] 
poky-tiny: Separate the libc features required for meta-toolchain

This fixes bug [YOCTO #2295]

eglibc needs libc-posix-regexp-glibc & libc-libm-big enabled in its
configuration to avoid following eglibc build issue. Thanks to
Nitin for identifying the required features.

    ...
    | In file included from xregex.c:634:0:
    | xregex.c: In function 'byte_regex_compile':
    | xregex.c:3395:8: error: too few arguments to function 'findidx'
    | ../locale/weight.h:23:1: note: declared here
    ...

The libc features added to support building meta-toolchain add 461KB to the C
libraries. 320KB directly to libc (a 32% increase in size). If not building
meta-toolchain, the user should be able to easily configure these out.

Create a new variable to capture these dependencies,
DISTRO_FEATURES_LIBC_TOOLCHAIN, keeping them separate from the core tiny
requirements. Make it clear how to disable these if meta-toolchain is not
needed.

This patch has been tested by running the following for the qemux86 machine with
DISTRO=poky-tiny:

    $ bitbake -c cleansstate eglibc
    $ bitbake meta-toolchain
    $ bitbake core-image-minimal

The libc comparisons were made from core-image-minimal ext2 filesystems build
before and after the applicaiton of this patch and Nitin's previous poky-tiny
libc features patch in support of meta-toolchain:

    commit 8c48ab6183934fd32600997cc33e0cd3bf63139b
    Author: Nitin A Kamble <nitin.a.kamble@intel.com>
    Date:   Mon Apr 9 15:15:01 2012 -0700

        poky-tiny.conf: adjust eglibc options for poky-tiny

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Nitin A. Kamble <nitin.a.kamble@intel.com>
CC: Saul Wold <sgw@linux.intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-yocto: Move OELAYOUT_ABI definition to poky.conf
Dongxiao Xu [Mon, 16 Apr 2012 07:52:16 +0000 (15:52 +0800)] 
meta-yocto: Move OELAYOUT_ABI definition to poky.conf

The ABI version definition should go along with the DISTRO variable
since it impact the TMPDIR definition.

Otherwise, if a user used to work with pure OE-Core, and then he/she
added meta-yocto layer, it will report ABI version incompatibility
issue. This is because ABI is changed to "8" by adding meta-yocto layer,
however the DISTRO variable is not defined and TMPDIR is still
"tmp-eglibc".

Defining the OELAYOUT_ABI variable in poky.conf could fix this issue.

This fixes [YOCTO #2303]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoyocto-bsp: fix x86_64 tuning for qemu arch
Tom Zanussi [Thu, 12 Apr 2012 13:39:13 +0000 (08:39 -0500)] 
yocto-bsp: fix x86_64 tuning for qemu arch

While testing the fix for [YOCTO #2222] I noticed that the tuning for
the qemu x86_64 target was using the wrong tuning file - it should be
x86_64 instead of i586.  Change the template to match.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoyocto-bsp: fix multi-provider error in qemu arch template
Tom Zanussi [Thu, 12 Apr 2012 03:31:45 +0000 (22:31 -0500)] 
yocto-bsp: fix multi-provider error in qemu arch template

While testing the fix for [YOCTO #2222] I noticed a new build error
that wasn't there in previous testing:

ERROR: Multiple .bb files are due to be built which each provide virtual/libgl

The build still completed and produced a good image, but an error
message was displayed, which this patch removes.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoyocto-bsp: fix qemuarch test for xserver-xf86-config.bbappend
Tom Zanussi [Thu, 12 Apr 2012 03:12:38 +0000 (22:12 -0500)] 
yocto-bsp: fix qemuarch test for xserver-xf86-config.bbappend

While testing the fix for [YOCTO #2222] I noticed that the qemuarch
test was wrong - there is no 'x86' qemuarch, just 'i386'.  Change the
test to match.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoyocto-bsp: enable property value display of nested properties
Tom Zanussi [Wed, 11 Apr 2012 19:05:08 +0000 (14:05 -0500)] 
yocto-bsp: enable property value display of nested properties

Previous versions of yocto-bsp mapped every input element to a unique
variable name, which is what the current property value display code
expects.  When that was changed to a nested form, the display code
wasn't updated to match - this updated does that.

Fixes [YOCTO #2222]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agolinux-yocto/meta-yocto: update hardware reference SRCREVs
Bruce Ashfield [Fri, 13 Apr 2012 20:40:31 +0000 (16:40 -0400)] 
linux-yocto/meta-yocto: update hardware reference SRCREVs

commit 8cd31f9b0 linux-yocto/meta-yocto: update hardware reference boards to v3.0.24

Missed a merge commit on the hardware reference BSP branches.

As a result, validate_branches is adjusting the tree to build the
proper SRCREV. For machines with board specific commits this means
that some of their commits are missing, which leads to boot failure.

Bumping the SRCREVs fixes the problem

Fixes [YOCTO: #2292]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/meta-yocto: update hardware reference boards to v3.0.24
Bruce Ashfield [Tue, 10 Apr 2012 05:29:08 +0000 (01:29 -0400)] 
linux-yocto/meta-yocto: update hardware reference boards to v3.0.24

The meta-yocto hardware reference boards missed a SRCREV update when the
base recipe when to v3.0.24. This updates the SRCREVs to ensure that the
kernel that is built and booted matches the version information conveyed
from the base recipe.

Fixes [YOCTO #2265]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agobeagleboard.conf: fix hardcode of virtual/xserver
Robert Yang [Tue, 10 Apr 2012 01:20:08 +0000 (09:20 +0800)] 
beagleboard.conf: fix hardcode of virtual/xserver

Here is the message from the bug 2260:

meta-yocto/conf/machine/beagleboard.conf hardcodes the virtual/xserver
provider, i.e., it includes the following:

PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg-lite"

I don't think machine conf is the correct place for selecting what is
essentially a distro feature, but at least this should use the '?='
operator; as is to select a different provider one must provide a
complete beagleboard.conf file.

[YOCTO #2260]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>