Commit Graph

30 Commits

Author SHA1 Message Date
Bruce Ashfield b186795083 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>
2012-05-08 16:17:49 +01:00
Bruce Ashfield bdc258eb99 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>
2012-05-08 16:09:35 +01:00
Bruce Ashfield 60a7403f6c 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>
2012-04-13 22:43:59 +01:00
Bruce Ashfield 6abc4c46fd 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>
2012-04-11 12:10:14 +01:00
Bruce Ashfield ac56e2ed37 linux-libc-headers-yocto: move to meta-yocto
linux-libc-headers-yocto is not directly required in meta, so we can
safely move it to meta-yocto.

Machines including meta-yocto that are using linux-yocto that need headers
which are completely up to date with the linux-yocto git tree can use this
as their preferred linux-libc-headers.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23 18:08:40 +00:00
Bruce Ashfield 19d4e0c980 linux-yocto/meta-yocto: v3.2.9, v3.0.23 + fixes and updates
This is an update of the linux-yocto 3.0 and 3.2 SRCREVs to bring
in the following updates:

   - v3.0.23 stable update
   - v3.2.9 stable update
   - 3.0/3.2: fri2 updates (pch + configuration changes) from Darren Hart
   - 3.0: pvr merge from Kishore Bodke
   - linux-yocto/rt: update to 3.0.23-rt38
   - linux-yocto/rt: update to 3.2.9-rt15

These have been built for all qemu targets, and built for the appropriate
hardware platforms.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-03-13 16:53:47 +00:00
Richard Purdie f7a1bd43e8 linux-yocto_3.2: Fix missing quote that was triggering parsing errors
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-03 11:26:30 +00:00
Bruce Ashfield 6719d3e9e7 linux-yocto/meta-yocto: create linux-yocto 3.2 bbappend
Now that the 3.2 kernel has been introduced, we need a 3.2 bbappend for
the yocto hardware reference boards.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-02-01 15:10:56 +00:00
Bruce Ashfield 1655fd11d3 linux-yocto/meta-yocto: update to v3.0.18 + features
Updateing the meta-yocto SRCREVs to the new 3.0.18 kernel.

The -stable team released v3.0.18, so it becomes the new base for the
linux-yocto_3.0 recipe.

Along with the 3.0.18 update this kernel refresh brings in the following
changes:

      59314a3 meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y
      b168325 crownbay: use emgd-1.10
      281b80f kver: bumping to v3.0.18
      0d5d0dd common-pc*: add SMP and virtio

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-02-01 15:10:51 +00:00
Bruce Ashfield 1fcf1fae71 linux-yocto-rt/meta-yocto: add routerstationpro support
Fixes [YOCTO #1390]

Updated the meta-yocto support for the routerstationpro on the
preempt-rt kernel support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03 21:30:58 +00:00
Bruce Ashfield 9e99322527 linux-yocto/meta-yocto: routerstationpro/beagleboard: add 3.0.x support
Updating the routerstationpro and beagleboard compatibility and SRCREV
to pickup v3.0.12 support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03 21:30:49 +00:00
Saul Wold c16cd56f17 linux-yocto_2.6.34: remove bbappend
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-02 15:24:05 +00:00
Paul Eggleton bb4a5c44da linux-yocto: remove emenlow from meta-yocto bbappend (2.6.37 version)
The emenlow BSP is now contained in the meta-intel layer.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-15 11:27:22 +01:00
Darren Hart f50a17684d linux-yocto: remove emenlow from meta-yocto bbappend
The emenlow BSP is now contained in the meta-intel layer.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07 23:13:35 +01:00
Bruce Ashfield ba91445de5 linux-yocto/meta-yocto: update SRCREV for v3.0.4
Updating the kernel SRCREVs to pickup the latest meta and BSP
changes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05 20:25:32 +01:00
Bruce Ashfield 2ee520a726 linux-yocto/meta-yocto: update SRCREVs for 3.0.3 and consolidated fixes
Updating the SRCREVs to pickup the kernel.org -stable update for
3.0.3 and to pickup fixes done in standard for oe-core supported
machines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-24 18:29:43 -07:00
Bruce Ashfield f08b8c9640 meta-yocto: atom-pc/mpc8315e-rdb change preferred version to 3.0
Updating two more yocto hardware reference platforms to use the
3.0 kernel by default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-24 18:29:30 -07:00
Darren Hart 915f1e0773 meta-yocto: add linux-yocto-rt support for all meta-yocto machines
Provide the necessary info in the linux-yocto-rt_3.0.bbappend to
support building the RT kernel for each of the meta-yocto example
BSPs.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-18 22:20:52 -07:00
Bruce Ashfield cec3932fb8 linux-yocto/meta-yocto: create linux-yocto 3.0 bbappend
Creating a 3.0 bbappend to enable work on the hardware yocto targets.
The SRCREV updates in this file are accurate, but compatibility
has been commented out until support can be verified.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 16:12:11 +01:00
Bruce Ashfield 76942c0080 linux-yocto: update mpc8315erdb SRCREV
Fixes [YOCTO #1227]

Updating the fsl-mpc8315erdb SRCREV to include the following commit:

[
    mpc8315erdb: fix ethernet at boot time

    Set the default MAC addresses for the two ethernet ports on the
    MPC8315E-RDB to the factory default values, allowing ethernet to come up
    correctly during boot without upgrading U-Boot.

    Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-07-20 14:56:06 -07:00
Bruce Ashfield daad28c2a6 linux-yocto/meta-yocto: update SRCREVS
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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:51:19 +01:00
Bruce Ashfield ee4dd303b6 linux-yocto/meta-yocto: update yocto/standard and beagleboard 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 beagleboard SRCREV update captures the 69 new patches
merged from meta-ti and other upstream sources.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-22 22:56:04 +01:00
Bruce Ashfield 2e11835743 linux-yocto/meta-yocto: update SRCREVs for utrace merge
Updating the SRCREVs to account for the merge of utrace to support
systemtap.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-22 22:13:28 +01:00
Bruce Ashfield 7aa7673459 meta-yocto/linux-yocto: update to match the renamed linux-yocto recipes
The linux-yocto recipes have been renamed to include explicit
version numbers. The meta-yocto bbappends must be updated to
follow the new naming convention.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-14 09:21:32 -07:00
Bruce Ashfield 37d83881a6 linux-yocto/meta-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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-07 13:59:22 -07:00
Bruce Ashfield 5d22ea3c8b linux-yocto/meta-yocto: update target/meta SRCREVs
Fixes bug [YOCTO #802]

This SRCREV update picks up the following changes from the
2.6.37 kernel tree:

 - fishriver: creates and uses a dedicated BSP branch
 - fishriver: usbnet fixes
 - linux-omap: merge to match the 2.6.34 upstream merge content
 - beagleboard: adds VFAT config
 - fsl-mpc8315rdb: enables the eprom

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-07 13:59:22 -07:00
Bruce Ashfield 7706d5d844 linux-yocto/meta-yocto: fix gcc 4.6.0 compilation failures
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>
        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>
2011-05-19 17:33:50 -07:00
Richard Purdie e92a198be3 linux-yocto: Fix COMPATIBLE_MACHINE so core machines aren't overwritten
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-10 17:15:58 +01:00
Darren Hart 622fb696a6 atom-pc: use linux-yocto (2.6.37) kernel
Tested boot, network, sato desktop, amixer, and audio playback on a Toshiba
NB305 netbook.

Depends on "linux-yocto: move non-core machines to meta-yocto" from
Bruce Ashfield to the yocto list:
Message-Id: <a258388e5b8d134009bb37cfc9f6b1c1dd8ba94e.1304707341.git.bruce.ashfield@windriver.com>

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-05-10 17:15:58 +01:00
Bruce Ashfield 32e63c24f1 linux-yocto: move non-core machines to meta-yocto
The non-qemu compatibility references have been removed from
the main linux-yocto recipe. This change restores them in the
meta-yocto layer.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2011-05-10 09:31:02 +01:00