Commit Graph

40 Commits

Author SHA1 Message Date
Tom Zanussi eca21e6359 meta-emenlow: update to the new BSP layout
This modifies the meta-emenlow BSP layer to reflect the new BSP
standard layout as defined in the latestYocto BSP Developer's Guide.

There's no change in functionality here - this simply moves things
around, adds a README, and makes the SRCREVs local.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-12-23 14:20:50 +00:00
Bruce Ashfield 69ad383525 linux-yocto: fix machine compatibility
During the last phase of the recipe factoring, the board compatibility
lists ended up in the wrong place, which meant we had an incomplete
list of boards, and the same set of boards for both kernels (stable
and devel).

To fix this, I've yanked the compatibility to the recipes themselves and
updated the emenlow to have a -stable bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-13 01:23:56 -05:00
Bruce Ashfield 0e7d9956a0 yocto-kernel: factor common routes, update to 2.6.37 and branch renaming
In order to extend and create more kernel recipes based on the
supported yocto kernel common routines need to be placed in
re-usable blocks.

To accomplish this meta/recipes-kernel/linux/linux-yocto_git.bb
is broken into three parts:

 - meta/classes/kernel-yocto.bbclass: contains common routines
   for checking out and configuring a yocto kernel git repository.
   This should be inherited by recipes that need this functionality.

 - meta/recipes-kernel/linux/linux-yocto.inc: Contains the machine
   mappings, compatibility, build directives and common task
   definitions for a yocto kernel based recipe. This inherits
   kernel-yocto, and is the typical point of entry for other recipes.

 - meta/recipes-kernel/linux/linuux-tools.inc: tasks and function definitions
   for kernel recipes that want to build/export perf

It also updates the linux-yocto recipe to default to 2.6.37.

As part of the update to 2.6.37 the branch naming and conventions
have been modified to show inheritance, and be more generic.

For example:

  master
  meta
  yocto/base
  yocto/standard/arm_versatile_926ejs
  yocto/standard/base
  yocto/standard/beagleboard
  yocto/standard/common_pc/atom-pc
  yocto/standard/common_pc/base
  yocto/standard/common_pc_64
  yocto/standard/fsl-mpc8315e-rdb
  yocto/standard/intel_atom_z530
  yocto/standard/intel_core_qm57_pch
  yocto/standard/mti_malta32_be
  yocto/standard/preempt_rt/base
  yocto/standard/preempt_rt/common_pc
  yocto/standard/preempt_rt/common_pc_64
  yocto/standard/preempt_rt/intel_atom_z530
  yocto/standard/preempt_rt/intel_core_qm57_pch
  yocto/standard/qemu_ppc32
  yocto/standard/routerstationpro

In this structure:

  master: tracks the mainline kernel
  meta: meta information for the BSPs and kernel features
  yocto/base: baseline kernel branch
  yocto/standard/base: 'standard' kernel, contains features
                        and configs for all BSPs
  yocto/standard/<machine>: represents a BSP with specific
                            features or configurations

The tools, tree and libc-headers have all been updated to
deal with this new structure. Also in addition to dealing with
the new structure, they continue to work with the existing
tree and will adapt at runtime to the differences.

The linux-yocto-stable_git.bb recipe continues to build the
2.6.34 based tree,and linux-yocto_git.bb builds 2.6.37. As
boards are enabled for the new kernel they will move from
-stable to the development kernel. As of now, only the
emulated targets have moved to 2.6.37-rcX

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-10 22:01:36 -08:00
Saul Wold 3d08b9f2c6 SRC_URI Checksums Additionals
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-09 08:18:17 -08:00
Saul Wold bd3b63179c linux-emenlow: Correct KMACHINE after kernel rename
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-20 17:11:15 -08:00
Bruce Ashfield c70816cb90 linux-wrs: rename to linux-yocto
The existing preferred yocto kernel wasn't named appropriately
and needs to be updated.

In keeping the changes small and isolated, this commit simply
renames the recipe and some internal variables. Future commits
will refactor the code into more usable blocks.

Now that linuy-wrs has been renamed linux-yocto, we need
to rename and update an board configurations and append
files.

Now that linux-wrs has been renamed linux-yocto, we need to
update the SRCREVs to have the new name.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-11-18 13:30:22 -08:00
Richard Purdie 01518ada4b meta-emenlow: Rename packages to recipes in line with main repository
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 10:08:00 +00:00
Bruce Ashfield 48755c4bc6 emenlow/linux-wrs: merge emenlow configuration
Complete the merge of the emenlow BSP, by removing the external
configurations from the emelnow layer and merging them into
the wrs_meta branch of the kernel tree. This also allows the
emenlow to drop the tools config fragement and use the common
definitions shared by BSPs maintained in the kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-13 21:38:51 -07:00
Tom Zanussi d3fbeb9833 emenlow: update formfactor keyboard setting
Fixes [BUGID #447]

We expect the emenlow to normally have a keyboard so tell the
formfactor so and avoid the keyboard pop-up.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-13 21:38:50 -07:00
Richard Purdie 6b53fbcc20 xpsb-glx: Fix compile issues on 64 bit machines without 32 bit headers/binaries
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-11 22:44:25 +01:00
Tom Zanussi 5783e717ee Subject: [PATCH] emenlow: add kernel config options for sdk tools
Fixes [BUGID #261]

Adds kernel config options for latencytop, powertop, oprofile, and
lttng.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-11 10:18:32 -05:00
Tom Zanussi 86b30f722e emenlow: fix SRC_URI in linux-wrs_git.bbappend
Restrict it to emenlow so it doesn't conflict with other machines.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-11 10:16:25 -05:00
Richard Purdie d4c86791aa linux-wrs/emenlow: Fix FILESPATH so as not to corrupt other machines
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-11 14:32:16 +01:00
Richard Purdie 7836c45267 linux-wrs: emenlow has its own branch, use it
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-09 18:12:37 +01:00
Richard Purdie b825febaeb linux-wrs/emenlow: Set WRMACHINE
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-09 16:23:12 +01:00
Tom Zanussi b8d75d2a50 emenlow: switch kernel from "linux" to "linux-wrs"
Fixes [BUGID #396]

Make the emenlow machine point to the windriver kernel instead.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-09 16:00:26 +01:00
Tom Zanussi 627fb75407 emenlow: remove psb-kernel-source dependency from xserver-psb package
Fixes [BUGID #396]

With the switchover to linux-wrs, xserver-psb no longer depends on the
external modules contained in psb-kernel-source (which have been moved
in-tree).

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-09 16:00:08 +01:00
Tom Zanussi ee1c802ae2 emenlow: add linux-wrs_git.bbappend
Fixes [BUGID #396]

Add emenlow as a compatible machine for linux-wrs and pick up the
defconfig (which will be pared down if necessary in a later patch).

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-09 15:59:37 +01:00
Saul Wold 7160dce02e formfactor: mv emenlow formfactor config to machconfig
Fixes [BUGID #398]

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-07 08:24:36 -07:00
Richard Purdie 425435f403 base.bbclass: Implement PRINC, a way to increment the PR variable in .bbappend files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-05 22:26:32 +01:00
Richard Purdie 904ae4a753 Improve FILESPATH usage in .bbappend recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-05 22:26:32 +01:00
Richard Purdie 29d6678fd5 Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27 15:29:45 +01:00
Jeff Dike bdb9da4847 emenlow: add support for the r8169 network card
This was reported by a user (Gary Thomas) on his board.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-08-13 14:42:20 +01:00
Jeff Dike ed5194052e emenlow: Add Intel sound support
This adds CONFIG_SOUND, CONFIG_SND, and CONFIG_SND_HDA_INTEL to the
emenlow deconfig.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-08-13 14:42:03 +01:00
Saul Wold 40f50303c5 emenlow: Add BASE_PACKAGE_ARCH and modification to hal.inc for emenlow
[BUGID #171] [Netbook] Xserver version mismatch makes mouse/keyboard not work

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-07-30 14:53:37 -07:00
Jeff Dike ae035f151f emenlow - boot to a GUI
Here are a couple of small fixes that allow an emenlow image to boot
to a GUI.

The X server now RDEPENDS on the packages that need to be in the
image.

xserver-xorg-video-psb needed a name change to depend on
libdrm_poulsbo.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-30 14:50:30 +01:00
Jeff Dike 9d4a4295db emenlow: linux - add enough config options to boot a live image
USB_STORAGE is needed to see a USB key in the first place.
BLK_DEV_INITRD and RD_GIP are needed to read the initrd in the image.
BLK_DEV_RAM and BLK_DEV_LOOP enable the ramdisk and loop devices used
during boot.
NLS_CODEPAGE_437 and NLS_ISO8859_1 are needed by vfat in order to
mount the filesystem on the key.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-27 22:51:34 -07:00
Richard Purdie 4a51ea5508 xspb-glx: Fix libdrm naming issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 18:15:22 +01:00
Richard Purdie 95e40d33f1 libdrm-poulsbo: Fix naming to be consistent
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 18:14:26 +01:00
Richard Purdie b01f7d73aa libva: Add missing DEPENDS on libxext
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 16:49:19 +01:00
Richard Purdie 78292128a6 emenlow.conf: All tune-atom users need to share the same TARGET_ARCH, fix. Need to revisit this issue later
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25 15:20:58 +01:00
Jeff Dike c28cbe7fed emenlow: Change libdrm-poulsbo to libdrm_poulsbo
It turns out to be a lot easier to generate library names with
underscores than with dashes.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-24 02:01:59 +01:00
Richard Purdie 2efba78f9b Add meta-emenlow to the default layers list
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 23:28:24 +01:00
Jeff Dike 833390e533 libdrm-poulsbo: Provide libdrm-poulsbo instead of libdrm
In order to allow this package to be build alongside the regular
libdrm, it was made to export libdrm-poulsbo and its users make to use
libdrm-poulsbo instead of libdrm. libva and xserver-psb were make to
build against libdrm-poulsbo. While I was in there, I changed a couple
of misspellings of COMPATIBLE and removed a bunch of ';patch=1'.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-22 23:18:26 +01:00
Richard Purdie c9602c5feb emenlow: Set COMPATIBLE_MACHINE where needed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 15:26:48 +01:00
Richard Purdie e35762d971 xpsb-glx: Add missing dependency on makedepend-native
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 15:26:03 +01:00
Richard Purdie 90ac746dcd xserver-xf86-config: Fix emenlow append to coexist with existing users
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 15:24:43 +01:00
Richard Purdie dc54b7787f meta-emenlow/formfactor: Make sure the files work well with the existing recipe files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 15:21:33 +01:00
Richard Purdie c358150799 emenlow: Make sure the provider of virtual/kernel is set
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-21 22:50:24 +01:00
Jeff Dike e8e3ac9b1e meta-emenlow: Layer for eMenlow-based systems.
This layer provides a kernel suitable for booting on eMenlow-based systems,
plus support for Poulsbo graphics.  The Poulsbo support includes a
kernel patch for the graphics driver, a couple of libraries, the 2D
and 3D X drivers, and a properly configured X server.

The closed portions of this support are in the 3D driver, xpsb-glx.
This package contains the binaries for the libraries that communicate
with the kernel driver and a mesa library which uses those libraries.

There is a README in meta-emenlow/ describing how to enable this layer.

Where possible, the recipes use bitbake's new .bbappend facility in
order to avoid copying recipes from meta/.

There are checksums and license information for all of the new packages.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-07-21 22:39:43 +01:00