Commit Graph

96 Commits

Author SHA1 Message Date
Andrei Gherzan
8f9681d194 fri2.conf: mesa-dri was updated to 9.0.1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2013-01-24 17:58:51 -06:00
Nitin A Kamble
e3155c34af emgd-1.14: prepare for coexisting with emgd-1.16 recipe
We want to use emgd-1.14 & emgd-1.16 recipe interchangeably.
As the some of the generated package names include versions
which will be different in the emgd-1.16 recipe, this
version part is stripped from the package names so that it
will match with the emgd-1.16 recipe package names.

All the BSP configuration which were using these package names
also change accordingly to avoid any build issues.

Also with the 2 versions of emgd recipes make sure that BSPs
don't start using the emgd-1.16 version until they have been
validated to work by specifying the preferred emgd recipe
version for the relevant BSPs.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2013-01-23 14:03:38 -06:00
Nitin A Kamble
ee17f93b5d fri2: fix a typo in specifying the kernel feature
There was a typo in specifying cfg/vesafb kernel feature. This commit
fixes it.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2013-01-22 14:24:50 -06:00
Nitin A Kamble
d92dd09139 BSP layer READMEs: fix the YP Compliance link
The link has changed on the yoctoproject website, updating the URL
in the BSP layer READMEs.

This fixes the bug:
[Yocto #3730]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2013-01-19 16:18:44 -06:00
Nitin A Kamble
8e200220c2 fri2: specify graphics driver as a kernel feature
This change avoids addition of emgd source code in the noemgd bsp kernels.

This configures the fri2 BSP kernel with EMGD graphics driver
and fri2-noemgd BSP kernel with VESA graphics driver.

The VESA FB support is kept for both BSPs for boot time splash screen
support.

This addresses the bug/feature request:
[YOCTO #2268]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2013-01-19 12:54:19 -06:00
Khem Raj
227d8fa72c layer.conf: Use .= for adding to BBPATH and += to BBFILES
Fixes parsing errors which is appearing after this commit to
meta-openembedded

http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

This triggers
exception NameError: name 'base_contains' is not defined
without this change

Avoid the immediate expansion operator (:=) which caused base_contains
added in the previous commit to fail to expand at the time the
meta-intel layer configs are parsed and replace it with one of the
append operators (.= or +=) that allows for delayed variable expansion.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2013-01-07 09:59:05 -08:00
Nitin A Kamble
fdbf8ff892 fri2.conf: add EMGD VA components to VA_FEATURES variable
The following EMGD subpackages provide video acceleration and have
dependencies on libva and libx11:

  emgd-driver-video
  emgd-gst-plugins-va-0.10.10
  emgd-gst-plugins-mixvideo-0.10.34

Include these in the VA_FEATURES variable only when the EMGD XSERVER
is included in the image.

For images such as core-image-lsb which do not include X components,
including any of these emgd subpackages will pull in unwanted X
components.  This fixes that problem.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-12-21 09:58:14 -06:00
Nitin A Kamble
54816a1bba fri2 README: add a web link to the Intel embedded platforms
Add a web link in the readme so that one can find other embedded
platforms provided by Intel.

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

Removed gratuitous ® character.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-12-05 18:35:27 -08:00
Darren Hart
818e6ba129 fri2: README update
Update the README with various changes that somehow never made it in
prior to the last release. These include details on the Intel provided
Fast Boot EFI firmware, known issues, and de-versioning of the EMGD
licensing configuration variables.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-12-05 18:29:02 -08:00
Nitin A Kamble
34c77e7356 BSP README.sources: update the URL of the source tarball
Instead of the denzil release specify the location of the source tarball
of danny release.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-12-05 14:52:57 -06:00
Koen Kooi
a3eef7790f meta-fri2: update README to match current emgd driver version
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-22 00:59:34 -06:00
Tom Zanussi
787d5d8c93 meta-intel: remove explicit kernel SRCREVs
To ease development on unreleased BSPs, let the kernel SRCREV float.
This avoids constantly having to update the SRCREVs manually, and
assures we won't get into a situation where LINUX_VERSION doesn't
match the version set by the kernel recipe.

We'll lock down the kernel SRCREVs and set the matching LINUX_VERSION
when we do releases, but in the meantime, we can use AUTOREV.

Note that individual BSPs are always free to override this maintain
their own SRCREVs if they want to.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-11-13 09:24:46 -06:00
Darren Hart
7b872a5052 fri2: Add WEBTITLE and compliance information
The WEBTITLE will be used to publish the BSP on the Yocto Project website.
Adding the Yocto Project compliance information for the 1.3 release.

Update the DESCRIPTION in the machine config and the platform description
in the README to be consistent.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-10-31 08:40:14 -07:00
Tom Zanussi
376fb0a2ac meta-intel: remove linux-yocto*_3.0 bbappends
The 3.2 and 3.4 kernels are the ones supported for Yocto 1.3, so
remove the 3.0 versions.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-29 18:04:12 -05:00
Tom Zanussi
3898886e63 meta-intel: update kernel SRCREVs and pin LINUX_VERSION
Update all the linux-yocto .bbappends with the latest kernel SRCREVs
and add explicit LINUX_VERSIONs for the 1.3 release, to prevent a
mismatch between the kernel version actually used in the machine
branch vs the version the recipe uses for the kernel image, which can
change with stable updates.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-29 18:04:05 -05:00
Darren Hart
0ebdf34f9a fri2: Add tiny-init bbappend for devtmpfs and console
When using an initramfs, the default for poky-tiny, the kernel cannot
automatically mount devtmpfs. Ensure it is mounted. This eliminates the
need to create the ptmx device.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-10-26 20:24:53 -07:00
Darren Hart
9fe538c48e fri2: Update SRCREVs for linux-yocto recipes
Update MACHINE and META SRCREVs to pull in the following fixes:

efi: Add patch to fix 32bit EFI service mapping (rhbz 726701)
mmc: sdhci: Use DBG() instead of pr_warning() on large timeout

As well as the following changes to meta:

eg20t: Explicitly include dependencies for PCH_GBE
eg20t: Explicitly include dependencies for I2C_EG20T
fri2: Remove graphics options from the core fri2 description
fri2: Required boot config for fri2
fri2: Add fri2-tiny support
fri2: Disable GPIO_PCH for preempt-rt

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-10-26 20:24:51 -07:00
Tom Zanussi
6e0d82eb19 meta-intel: fix VA_FEATURES assignment in machine configs
commit 2231d38 (meta-intel: make video acceleration choice dependent
on LICENSE_FLAGS) inadvertently also changed '?=' to a hard
assignment, making it hard to override as intended.  This changes it
back.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-25 08:28:14 -05:00
Darren Hart
62aa4ca25a fri2: Add grub-efi workaround for USB keyboard initialization
The Fastboot firmware will sometimes fail to init the USB keyboard when
connected directly in 1.0 mode (works fine through a 2.0 hub). By adding
the USB modules to the grub-efi build, we can ensure the keyboard will
be available in the grub menu at the expense of about a second in boot
time.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-24 13:16:00 -07:00
Darren Hart
e703492712 fri2: README: Correct typographical and wording errors
Correct minor issues reported by Steve S.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-24 13:16:00 -07:00
Darren Hart
1d56117733 fri2: Add linux-yocto-tiny_3.4 support
Add support for the tiny KTYPE via a liunx-yocto-tiny bbappend
for the 3.4 kernel. With this kernel, DISTRO="poky-tiny" can be
used with the fri2 and fri2-noemgd machines.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-24 13:16:00 -07:00
Ross Burton
71619f5ef0 meta-intel: don't require commercial licenses for gstreamer-vaapi
Now that gstreamer-vaapi doesn't depend on ffmpeg, it can always be recommended
by the machine configuration.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-22 09:09:28 -05:00
Darren Hart
5d8a058111 Fix use of PRINC in meta-intel BSPs
Replaces all uses of PRINC with the form:

PRINC := "${@int(PRINC) + N}"

Where N is the previously assigned value plus one to ensure a
monotonically increasing PRINC value.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
CC: Saul Wold <sgw@linux.intel.com>
CC: Nitin Kamble <nitin.a.kamble@intel.com>
2012-10-09 16:04:30 -07:00
Tom Zanussi
50ac6e8785 meta-intel: use FILESEXTRAPATHS for xserver-xf86-config bbappends
The xserver-xf86-config .bbappends are still using FILESPATH - update
them to use FILESEXTRAPATHS as recommended by the Poky Reference
Manual and BSP Developer's Guides.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-02 11:30:47 -05:00
Darren Hart
669cf9164a fri2: Update xorg.conf per EMGD 1.14 user guide
Correct the port order to only list SDVOB and LVDS.

Update the Edid flags as appropriate. No EDID over LVDS. Enable built-in
and edid timings as well as DTDs for the SDVOB port.

Force 24-bit mode for LVDS port to work around an apparent bug with EMGD
in which the default 18-bit mode results in a dim display using the
secondary (LVDS) HDMI port (lower port).

Add backlight intensity and inverter frequency specifications for the
LVDS port per the note in the EMGD 1.14 User Guide (p 184) for E6xx
CPUs.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-09-28 17:53:36 -07:00
Darren Hart
1cd94a80c8 fri2: Update to Linux 3.4 and EMGD 1.14
Update the fri2 machines to use linux-yocto 3.4 and
EMGD 1.14.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-09-24 12:51:49 -07:00
Tom Zanussi
cdf9c835b6 meta-intel: have fri2 and sys940x prefer emgd-1.10
fri2 and sys940x need to use emgd-1.10 instead of the newer 1.14.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-09-15 15:02:30 -05:00
Tom Zanussi
2231d3800e meta-intel: make video acceleration choice dependent on LICENSE_FLAGS
The gst-ffmpeg recipe in oe-core had LICENSE_FLAGS added to make it
"commercial", so to avoid build errors the BSPs that use it (via the
gst-va-intel VA_FEATURE) should only include it if the user has added
"commercial" to LICENSE_FLAGS_WHITELIST when building.

This adds a conditional to detect that, along with a NOTE in the
README to explain the need for the flag.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-09-15 15:02:17 -05:00
Tom Zanussi
6e74be58a9 meta-intel: remove task-core-tools-profile.bbappend
The functionality previously added by these bbappends was already
handled in task-core-tools-profile.bb (now
packagegroup-core-tools-profile.bb), so remove these.

SYSTEMTAP = "systemtap"
SYSTEMTAP_mips = ""

LTTNGUST = "lttng-ust"
LTTNGUST_mips = ""

RDEPENDS_${PN} = "\
    ${PROFILETOOLS} \
    ${LTTNGUST} \
    ${SYSTEMTAP} \
    ${VALGRIND} \

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-09-04 09:40:25 -05:00
Tom Zanussi
2a7a46cad3 meta-intel: use va-impl-intel MACHINE_FEATURE
Explicitly specify the va-impl-intel MACHINE_FEATURE, and update the
mixvideo uses with the feature rename.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-30 16:28:19 -05:00
Tom Zanussi
d98714abb2 meta-intel.inc: have appropriate BSPs use it
ia32-base.inc no longer contains everything these BSPs need - some of
what was in that file is now in meta-intel.inc, so we need to include
that too.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-29 10:29:18 -05:00
Tom Zanussi
2075f1b407 fri2: update kernel SRCREVs
To pick up most recent changes, including the matching kernel changes
for the perf-scripting/perf-tui features.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-10 15:58:01 -05:00
Tom Zanussi
8bc2fa1350 meta-fri2: add video acceleration
This adds the video acceleration components needed to enable EMGD
video acceleration.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2012-06-06 16:16:24 -05:00
Darren Hart
9b9c0cedb6 fri2: Update SRCREVs for linux-yocto-rt_3.2.bbappend
Update the SRCREVs to pull in the pch_uart locking fixes for preempt-rt.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-31 14:07:57 -07:00
Darren Hart
c05129498c fri2: Conditionally assign virtual/kernel=linux-yocto
Allow overriding of the PREFERRED_PROVIDER_virtual/kernel by using
the ?= operator rather than the = operator.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-30 11:26:23 -07:00
Darren Hart
3f5fd3791a fri2: Update 3.2 kernel recipe SRCREV
Update SRCREVs to pull in the latest kernel updates and meta updates.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-30 11:26:23 -07:00
Darren Hart
6fe4a96928 fri2: README: Add device details and known issues
Expand the README to provide more details about the device as well as how to
configure and interract with it. List known issues.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Scott Rifenbark <scott.m.rifenbark@intel.com>
2012-05-29 14:20:30 -07:00
Darren Hart
edaef395da fri2: Add alsa-state initial state
The FRI2 has an analog and digital playback device. Enable both by default.

Enable line-in capture.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-25 15:08:18 -07:00
Darren Hart
caa0042ec0 fri2: netbase: Add an fri2 specific /etc/network/interfaces file
The default interfaces file sets usb0 up as static inet. As the FRI2 is more
likely to use the usb0 interface for a cellular modem, this is inappropriate.
Drop usb0 from /etc/network/interfaces entirely and rely on ofono to set it
up.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-25 15:08:18 -07:00
Tom Zanussi
f64ab3a8c9 meta-intel: update README.sources with denzil link
Update the README.sources for all the meta-intel BSPs to reflect final
Yocto tarball location for denzil.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-05-25 15:50:08 -05:00
Darren Hart
749a127f0b fri2: Update SRCREVs for 3.2 Kernel
Update the fri2 linux-yocto bbappends to take advantage of the recent
fri2 meta updates in the linux-yocto repository:

    commit 72d9369a79ab91d6dba3ce95fa4769d75be5f1fa
    Author: Darren Hart <dvhart@linux.intel.com>
    Date:   Tue May 1 15:13:26 2012 -0700

        fri2: Cleanup fri2-$KTYPE.scc files re efi-ext.scc

        The efi-ext.scc fragment is not part of the standard or preempt-rt
        standard features. It is instead a BSP specific feature added to
        these ktypes. Rearrange the meta-data accordingly.

        Signed-off-by: Darren Hart <dvhart@linux.intel.com>

    commit dbcb1205e3fb95b32f1856e4bf6745fe52f5e5f4
    Author: Darren Hart <dvhart@linux.intel.com>
    Date:   Tue May 1 15:13:25 2012 -0700

        fri2: Use emgd-1.10 feature and branch

        Update the fri2-standard.scc description to use the new emgd feature
        and branch name. Without this change the emgd driver is not merged
        and not built.

        Signed-off-by: Darren Hart <dvhart@linux.intel.com>

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-07 12:39:20 -07:00
Darren Hart
e8b9e92b32 linux-firmware: Move fri2 linux-firmware append to common
In preparation for linux-firmware updates from new BSPs, move
the fri2 linux-firmware bbappend into meta-intel/common. Eventually
this should be moved into oe-core.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2012-05-07 12:39:19 -07:00
Darren Hart
c718da7863 fri2: Prefer linux-yocto 3.2
Update the Fish River Island II BSPs to build using linux-yocto_3.2
by default.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-07 12:39:19 -07:00
Richard Purdie
b612c79f60 common/meta-graphics: Add xf86-input-evdev 2.6.0
This is needed by the pvr graphics stacks since newer versions won't build with
the older xserver those platforms are using.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-25 21:15:25 +01:00
Darren Hart
1ada91f40c fri2: Add 3.2 kernel recipes
Add linux-yocto_3.2 and linux-yocto-rt_3.2 kernel recipes, following the
pattern of the 3.0 recipes.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-03-20 11:19:28 -07:00
Darren Hart
675e28f7f6 fri2: Autoload module iwlwifi
iwlwifi uses a firmware blob that must exist on the FS at the time
the driver is loaded. If the driver is built-in, the blob must exist
in the initrd. We avoid this by building as a module, but we still
want this to load at boot - so add it to autoload.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-03-20 11:19:27 -07:00
Darren Hart
9d3ed8034b fri2: Update KMACHINE and KBRANCH variables
Specify only the machine itself in KMACHINE and set the branch
explicitly. Use an fri2 specific branch in non-rt while we sort
out whether or not to create these dynamically or not.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-03-20 11:19:27 -07:00
Darren Hart
9860bc55ff fri2: Update serial console settings
With the pch_uart changes now in tree, update the machine config
to make use of it.

Trick syslinux into using the port by IO address and a magic baud rate.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
2012-03-20 11:19:27 -07:00
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