Commit Graph

274 Commits

Author SHA1 Message Date
Paul Eggleton
df18b721f8 meta-intel: add LAYERDEPENDS for layers needing the meta-intel common layer
These layers all contain machine configuration that depends on having
the meta-intel common layer enabled as well, so use LAYERDEPENDS in the
layer configuration for each one to make this explicit.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-02-24 14:52:01 -06:00
Paul Eggleton
f89c24addd meta-intel: replace "include" with "require"
We want a failure to occur if the files specified in these statements
can't be found (e.g. when there is a misconfiguration), so use require
instead of include.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-02-24 14:51:38 -06:00
Joshua Lock
1ca68394fa netbase: put sys940x specific interfaces file in MACHINE directory
Move the interfaces file to a MACHINE appropriate subdirectory of
files so that:
a) base.bbclass appropriately marks the resultant package MACHINE
   specific.
b) builds for alternative MACHINES whilst this layer is enabled
   don't get the sys940x interfaces file

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-02-10 17:27:27 -08:00
Tom Zanussi
188881dbca meta-intel: rename all task-core-tools.bbappend to task-core-tools-profile.bbappend
task-core-tools.bbappend was split into three, one of which is
profile.  Rename accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-02-07 17:23:06 -06:00
Darren Hart
3a0e1fe3f7 netbase: Add interfaces with RANDOM_MAC for sys940x* machines
These machines have no MAC in the hardware and require that it
be set manually. Specify RANDOM_MAC for the eth0 interface which
the genmac init script will replace with RANDOM_MAC on first boot.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-02-03 09:25:18 -08:00
Darren Hart
c42364375a genmac: Replace RANDOM_MAC in network/interfaces with a randomly generated MAC
For machines that do not have a MAC in hardware and with drivers that don't
generate a random one in the kernel, this init script will replace the string
RANDOM_MAC in the network/interfaces file with one generated with "ranpwd -m".
Care is taken to ensure multiple interfaces can use RANDOM_MAC and receive
unique addresses. ranpwd generates MACs with the locally administered bit set
and the multicast bit disabled.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-02-03 09:25:18 -08:00
Darren Hart
7b1d216a13 ranpwd: Add ranpwd recipe
ranpwd is used to generate random strings of various types, including
passwords, UUIDs, and MAC addresses.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-02-03 09:25:17 -08:00
Darren Hart
6aad740746 meta-intel: Add Inforce SYS940x BSP
The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
o Intel Atom E6xx (0.6-1.6 GHz)
o Up to 1GB on-board DDR2
o Intel Platform Controller Hub EG20T
o VGA,LVDS
o HD Audio
o SD Card
o Dual SATA
o Mini-PCIe

http://www.inforcecomputing.com/SYS940X_ECX.html

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-02-03 09:25:17 -08:00
Tom Zanussi
c6d991cf83 meta-intel: update some kernel SRCREVs
Update linux-yocto_3.0 kernel SRCREVS for crownbay, emenlow,
fishriver, fri2, jasperforest, and sugarbay.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 15:33:10 -06:00
Tom Zanussi
5d5821e2e9 meta-fri2: update README
The new emgd-driver-bin_1.10 recipe no longer requires manually
extracting and installing emgd binaries, so remove the section that
deals with that.

It does require a new LICENSE_FLAGS_WHITELIST entry in local.conf, so
add instructions detailing that.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 14:58:54 -06:00
Tom Zanussi
fd14750345 meta-crownbay: update README
The new emgd-driver-bin_1.10 recipe no longer requires manually
extracting and installing emgd binaries, so remove the section that
deals with that.

It does require a new LICENSE_FLAGS_WHITELIST entry in local.conf, so
add instructions detailing that.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 14:58:54 -06:00
Tom Zanussi
67eb153833 meta-crownbay: remove PREFERRED_VERSION for emgd-driver-bin
crownbay specifies a preferred version of 1.8 for emgd, but there's
really no reason to do that at this point - it should be able to use
the new 1.10 version.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 14:58:54 -06:00
Tom Zanussi
da10987c12 meta-fri2: remove PREFERRED_VERSION for emgd-driver-bin
fri2 specifies a preferred version of 1.8 for emgd, but there's really
no reason to do that at this point - it should be able to use the new
1.10 version.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 14:58:54 -06:00
Tom Zanussi
88a27fbe31 meta-intel: remove emgd-1.8
emgd-1.8 is now obsoleted by emgd-1.10, so remove support for it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 14:58:54 -06:00
Tom Zanussi
e3c05341f2 meta-intel: new recipe for emgd 1.10 driver
This adds a new recipe for the emgd 1.10 driver.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-30 14:58:53 -06:00
Kishore Bodke
ac4e45ae6f meta-cedartrail: enable smp for linux-yocto-rt_3.0
Add smp feature to linux-yocto-rt_3.0.

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-27 09:46:49 -06:00
Tom Zanussi
3f86785a9a meta-cedartrail: update linux-yocto-3.0 SRCREVs
Update SRCREVs to cover new cedartrail linux-yocto-3.0 kernel commits.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-24 23:04:15 -06:00
Joshua Lock
4f1ca13b5a n450-audio: drop this machine specific recipe in favour of alsa-state
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-17 13:35:19 -06:00
Joshua Lock
fad30a44da alsa-state: add alsa state for n450
Add a custom asound.state for the n450 so that the alsa-state init
script sets (and restores) sound configuration appropriately.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-17 13:34:55 -06:00
Joshua Lock
bd24de09fd ia32-base: add alsa to MACHINE_FEATURES
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-17 13:34:42 -06:00
Tom Zanussi
4b6657ce65 meta-intel/common: fix ptr->int and Werror=address compile errors
A couple of things that had previously been warnings are now errors,
so they need to be fixed up.

The first problem is a comparison between the address of a static
struct and NULL, which can never be valid.  A different fix for this
is upstream, which includes an API usage change; we don't need that to
fix this problem.

The second problem is a cast from pointer to integer in fbdevhw.c.
This also is fixed upstream by removing the whole section of code
which is bogus anyway, which is also done here.

This also adds a missing PR to the xserver-xorg recipe.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-12 12:27:30 -06:00
Tom Zanussi
9016be4d80 meta-emenlow: fix ptr->int and Werror=address compile errors
A couple of things that had previously been warnings are now errors,
so they need to be fixed up.

The first problem is the same problem encountered by xserver-kdrive,
and has the same fix, namely create a new version of REGION_INIT and
have all calls that pass in a pointer to a static struct use it
instead.  A different fix for this is upstream, which includes an API
change; we don't need all that to fix this problem.

The second problem is a cast from pointer to integer in fbdevhw.c.
This also is fixed upstream by removing the whole section of code
which is bogus anyway, which is also done here.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-10 22:19:30 -06:00
Kishore Bodke
38f2b670bc meta-cedartrail: Create new layer for cedartrail System.
This layer provides the initial version of the BSP for Cedar Trail
platform. The Cedar Trail platform is based on the Cedarview processor
and Tiger Point Chipset.

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-09 17:55:07 -06:00
Tom Zanussi
7c3db70104 meta-intel: change EMGD xserver libva dependency to libva-x11
XSERVER_IA32_EMGD should depend on libva-x11, which in turn depends on
libva, instead of just libva.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2011-12-22 09:22:37 -06:00
Tom Zanussi
f308cef33a meta-intel: add PROVIDES for extra packages provided by libva
libva provides some extra packages such as libva-glx.  Add PROVIDES
for them so the rest of the build system knows about it.

We also need to add the dependency relationships between libva,
libva-x11, and libva-glx.

Also remove the bogus RDEPENDS on the display components.

Also libva-glx depends on mesa-dri - if it's not there, libva-glx
won't be built.

Also, add missing -dev and -dbg packaging.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2011-12-22 09:21:30 -06:00
Darren Hart
b6d5d9a3b0 fri2: Update SRCREV to include efi patches and meta-data
The SRCREV update is required for the cfg/efi-ext as well as patches
to the standard/* branches to support EFI booting.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-13 08:50:58 -08:00
Saul Wold
3f149a3111 meta-tlk: Add COPYING MIT
Adds License File

Fixes [YOCTO #1816]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-12-09 13:42:54 -08:00
Darren Hart
3cb35ba444 n450: drop ROOTLESS_X as it breaks X
Fixes [YOCTO #1797]

Building with ROOTLESS_X results in X failing start with
the following error:

i915 0000:00:02.0: VGA-1: EDID block 0 invalid.
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed
(/usr/lib/dri/i915_dri)
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed
(/usr/lib/dri/swrast)
(EE) GLX: could not load software renderer

The n450 BSP is the only BSP in meta-intel using ROOTLESS_X. Dropping
it restores functionality and brings it inline with the rest of the BSPs.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-09 12:47:03 -08:00
Darren Hart
9672eec817 fri2: Comment framebuffer APPEND setting
Note that the vesafb will only be used when booting via legacy PCBIOS.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Darren Hart
3909001535 fri2: Add efi-ext to KERNEL_FEATURES
The fri2 can boot via EFI or legacy PCBIOS. Add support for EFI.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Darren Hart
f635e47fe4 fri2: Add pcbios and efi to MACHINE_FEATURES
Enable both legacy pcbios and efi booting for live images using the
new bootimg and grub-efi code.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Darren Hart
5003358f26 fri2: include linux-firmware for iwlwifi in images
Include the firmware package for the iwlwifi card for task-base based images
using the MACHINE_EXTRA_RRECOMMENDS variable. This will exclude the firmware
from being installed in core-image-minimal, but it doesn't have the tooling
required to connect over wifi anyway.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Darren Hart
4157c57dc7 linux-firmware: append support for the iwlwifi-6000g2a-5 firmware
Add firmware required by the Intel Centrino Adnanced-N 6205 mini-pcie card.
The content is already available in the linux-firmware repository, this patch
just adds the meta-data to include the right files and define a package.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Darren Hart
25d49e759b fri2: change preferred display order
The current PortOrder value assumes LVDS. Change the value to first try the
primary SDVO output, then the secondary SDVO, and fallback to LVDS if neither
are present.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Darren Hart
a7056567a6 fri2: use ttyS0,115200 for serial console and syslinux
The FRI2 has an optional serial expansion board. Enable the use of this
as a console for both syslinux and the OS.

Note: while the settings all appear to be correct, the serial port is
      not working on my test device in syslinux or the getty. The
      kernel messages do make their way to the serial port after PCI
      initialization.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-07 16:17:22 -08:00
Tom Zanussi
3d5574efe6 meta-emenlow: use original libva
Have meta-emenlow continue to use its local version of libva for now.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-06 09:27:08 -06:00
Tom Zanussi
5fe5573deb meta-crownbay: use gst-va-intel
Have crownbay use gst-va-intel so we can easily test and make use of
the video acceleration capabilities of this machine.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-05 14:26:35 -06:00
Tom Zanussi
90f802f1a7 meta-intel: new package - gst-va-intel
We need some extra plugins for EMGD video acceleration use and
testing, so create a new 'gst-va-intel' package group for them.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-05 14:25:00 -06:00
Tom Zanussi
4a03808a71 Revert "meta-intel: add gst-meta-base .bbappend"
This reverts commit acf138682a.

This breaks non-compatible builds, and should probably be done per-BSP
anyway.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-02 16:52:24 -06:00
Tom Zanussi
c882e7c2c6 meta-intel: add libva to EGMD xserver
EMGD requires libva, so add the dependency here.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:21:54 -06:00
Tom Zanussi
acf138682a meta-intel: add gst-meta-base .bbappend
We need some extra plugins for EMGD video acceleration use and
testing, so append them to gst-meta-base.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:21:42 -06:00
Tom Zanussi
808eb778d5 meta-crownbay: update README with EMGD video plugin instructions
Adding support for video acceleration means some new components need
to be installed - update the instructions to reflect that.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:21:30 -06:00
Tom Zanussi
0f0075d090 emgd-driver-bin: add video components
This adds the video binaries extracted from the following EMGD 1.8
binary rpms (emgd/1.8.2032/IEMGD_HEAD_Linux/common/video_plugin):

gst-plugins-mixvideo-0.10.30-1.i586.rpm
gst-plugins-va-0.10.7MFLD-1.i586.rpm
gst-vabuffer-0.10.5MFLD-1.i586.rpm
mixcommon-0.1.9-1.i586.rpm
mixvbp-0.1.24-1.i586.rpm
mixvideo-0.1.31-1.i586.rpm

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:21:19 -06:00
Tom Zanussi
f76f51534d libva: upgrade to 1.0.12 and factor out common settings
EMGD 1.8 requires libva-1.0.12, so upgrade to that version, and we
don't actually need the 1.0.10 recipe, so remove it.

This also adds -dbg and -dev packaging fixes to fix QA problems,
removes some unnecessary settings, updates checksums, etc.

Also create and use a common libva.inc, as we'll soon be adding a more
updated version of libva to the current version.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:20:52 -06:00
Tom Zanussi
a5e14b9261 libva: new recipe for video acceleration
This adds the libva_1.0.10 recipe based on the poky-contrib recipe
by Yu Ke (commit msg copied below).

The original recipe was in meta/recipes-graphics; this patch moves it
to meta-intel/recipes-multimedia since it's multimedia- and
Intel-specific.

The original commit messages (indented):

    libva: add new recpies libva

    libva is a library implementation of "Video Acceleration (VA) API for Linux".
    libva enables and provides access to graphics hardware (GPU) acceleration for
    video processing on Linux and UNIX, includes video decoding, video encoding,
    subpicture blending and rendering.

    This patch add the libva recipes.

    Signed-off-by: Yu Ke <ke.yu@intel.com>

    libva: install some missing .so files

    Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:20:24 -06:00
Tom Zanussi
95baa601e7 meta-n450: remove 2.6.34 .bbappend
The linux-2.6.34 recipe was removed, so the .append needs to be
removed as well.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 18:15:00 -06:00
Tom Zanussi
766bafc3dd meta-jasperforest: remove 2.6.34 .bbappend
The linux-2.6.34 recipe was removed, so the .append needs to be
removed as well.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 18:13:57 -06:00
Tom Zanussi
cbe5b14a9e meta-fishriver: remove 2.6.34 .bbappend
The linux-2.6.34 recipe was removed, so the .append needs to be
removed as well.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 18:13:48 -06:00
Tom Zanussi
0dbef5dc33 meta-emenlow: remove 2.6.34 .bbappend
The linux-2.6.34 recipe was removed, so the .append needs to be
removed as well.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 18:13:42 -06:00
Tom Zanussi
7b5eee4097 meta-intel: update kernel SRCREVs
Update linux-yocto_3.0 kernel SRCREVS for crownbay, emenlow,
fishriver, fri2, jasperforest, sugarbay, and romley.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 18:13:15 -06:00