* [PATCH 01/22] meta-chiefriver: new layer for Chief River (Ivy Bridge/Panther Point) systems
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 02/22] meta-intel: add gstreamer-vaapi_git recipe tom.zanussi
` (20 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
This layer provides support for Ivy Bridge + Panther Point Intel systems.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
meta-chiefriver/COPYING.MIT | 17 +++
meta-chiefriver/README | 107 ++++++++++++++++++++
meta-chiefriver/README.sources | 17 +++
meta-chiefriver/conf/layer.conf | 10 ++
meta-chiefriver/conf/machine/chiefriver.conf | 15 +++
.../formfactor/formfactor/chiefriver/machconfig | 3 +
.../recipes-bsp/formfactor/formfactor_0.0.bbappend | 3 +
.../tasks/task-core-tools-profile.bbappend | 2 +
.../xserver-xf86-config/chiefriver/xorg.conf | 26 +++++
.../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 +
.../linux/linux-yocto-rt_3.2.bbappend | 8 ++
.../recipes-kernel/linux/linux-yocto_3.2.bbappend | 8 ++
12 files changed, 219 insertions(+), 0 deletions(-)
create mode 100644 meta-chiefriver/COPYING.MIT
create mode 100644 meta-chiefriver/README
create mode 100644 meta-chiefriver/README.sources
create mode 100644 meta-chiefriver/conf/layer.conf
create mode 100644 meta-chiefriver/conf/machine/chiefriver.conf
create mode 100644 meta-chiefriver/recipes-bsp/formfactor/formfactor/chiefriver/machconfig
create mode 100644 meta-chiefriver/recipes-bsp/formfactor/formfactor_0.0.bbappend
create mode 100644 meta-chiefriver/recipes-core/tasks/task-core-tools-profile.bbappend
create mode 100644 meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config/chiefriver/xorg.conf
create mode 100644 meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
create mode 100644 meta-chiefriver/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
create mode 100644 meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
diff --git a/meta-chiefriver/COPYING.MIT b/meta-chiefriver/COPYING.MIT
new file mode 100644
index 0000000..fb950dc
--- /dev/null
+++ b/meta-chiefriver/COPYING.MIT
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/meta-chiefriver/README b/meta-chiefriver/README
new file mode 100644
index 0000000..49e4461
--- /dev/null
+++ b/meta-chiefriver/README
@@ -0,0 +1,107 @@
+This README file contains information on building the meta-chiefriver
+BSP layer, and booting the images contained in the /binary directory.
+Please see the corresponding sections below for details.
+
+The 'Chief River' platform consists of the Intel Ivy Bridge processor,
+plus the Panther Point PCH. This BSP assumes that the Ivy Bridge
+integrated graphics are being used.
+
+
+Dependencies
+============
+
+This layer depends on:
+
+ URI: git://git.openembedded.org/bitbake
+ branch: master
+
+ URI: git://git.openembedded.org/openembedded-core
+ layers: meta
+ branch: master
+
+ URI: git://git.yoctoproject.org/meta-intel
+ layers: intel
+ branch: master
+
+
+Table of Contents
+=================
+
+ I. Building the meta-chiefriver BSP layer
+ II. Booting the images in /binary
+
+
+I. Building the meta-chiefriver BSP layer
+=========================================
+
+In order to build an image with BSP support for a given release, you
+need to download the corresponding BSP tarball from the 'Board Support
+Package (BSP) Downloads' page of the Yocto Project website.
+
+Having done that, and assuming you extracted the BSP tarball contents
+at the top-level of your yocto build tree, you can build a chiefriver
+image by adding the location of the meta-chiefriver layer to
+bblayers.conf, along with the meta-intel layer itself (to access
+common metadata shared between BSPs) e.g.:
+
+ yocto/meta-intel \
+ yocto/meta-intel/meta-chiefriver \
+
+To enable the chiefriver layer, add the chiefriver MACHINE to local.conf:
+
+ MACHINE ?= "chiefriver"
+
+You should then be able to build a chiefriver image as such:
+
+ $ source oe-init-build-env
+ $ bitbake core-image-sato
+
+At the end of a successful build, you should have a live image that
+you can boot from a USB flash drive (see instructions on how to do
+that below, in the section 'Booting the images from /binary').
+
+As an alternative to downloading the BSP tarball, you can also work
+directly from the meta-intel git repository. For each BSP in the
+'meta-intel' repository, there are multiple branches, one
+corresponding to each major release starting with 'laverne' (0.90), in
+addition to the latest code which tracks the current master (note that
+not all BSPs are present in every release). Instead of extracting a
+BSP tarball at the top level of your yocto build tree, you can
+equivalently check out the appropriate branch from the meta-intel
+repository at the same location.
+
+
+II. Booting the images in /binary
+=================================
+
+This BSP contains bootable live images, which can be used to directly
+boot Yocto off of a USB flash drive.
+
+Under Linux, insert a USB flash drive. Assuming the USB flash drive
+takes device /dev/sdf, use dd to copy the live image to it. For
+example:
+
+# dd if=core-image-sato-chiefriver-20101207053738.hddimg of=/dev/sdf
+# sync
+# eject /dev/sdf
+
+This should give you a bootable USB flash device. Insert the device
+into a bootable USB socket on the target, and power on. This should
+result in a system booted to the Sato graphical desktop.
+
+If you want a terminal, use the arrows at the top of the UI to move to
+different pages of available applications, one of which is named
+'Terminal'. Clicking that should give you a root terminal.
+
+If you want to ssh into the system, you can use the root terminal to
+ifconfig the IP address and use that to ssh in. The root password is
+empty, so to log in type 'root' for the user name and hit 'Enter' at
+the Password prompt: and you should be in.
+
+----
+
+If you find you're getting corrupt images on the USB (it doesn't show
+the syslinux boot: prompt, or the boot: prompt contains strange
+characters), try doing this first:
+
+# dd if=/dev/zero of=/dev/sdf bs=1M count=512
diff --git a/meta-chiefriver/README.sources b/meta-chiefriver/README.sources
new file mode 100644
index 0000000..76180f1
--- /dev/null
+++ b/meta-chiefriver/README.sources
@@ -0,0 +1,17 @@
+The sources for the packages comprising the images shipped with this
+BSP can be found at the following location:
+
+http://downloads.yoctoproject.org/mirror/sources/
+
+The metadata used to generate the images shipped with this BSP, in
+addition to the code contained in this BSP, can be found at the
+following location:
+
+http://www.yoctoproject.org/downloads/yocto-1.2/poky-denzil-7.0.tar.bz2
+
+The metadata used to generate the images shipped with this BSP, in
+addition to the code contained in this BSP, can also be found at the
+following locations:
+
+git://git.yoctoproject.org/poky.git
+git://git.yoctoproject.org/meta-intel
diff --git a/meta-chiefriver/conf/layer.conf b/meta-chiefriver/conf/layer.conf
new file mode 100644
index 0000000..5dc3c02
--- /dev/null
+++ b/meta-chiefriver/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH := "${BBPATH}:${LAYERDIR}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "chiefriver"
+BBFILE_PATTERN_chiefriver := "^${LAYERDIR}/"
+BBFILE_PRIORITY_chiefriver = "6"
diff --git a/meta-chiefriver/conf/machine/chiefriver.conf b/meta-chiefriver/conf/machine/chiefriver.conf
new file mode 100644
index 0000000..c9237f4
--- /dev/null
+++ b/meta-chiefriver/conf/machine/chiefriver.conf
@@ -0,0 +1,15 @@
+#@TYPE: Machine
+#@NAME: chiefriver
+
+#@DESCRIPTION: Machine configuration for Chief River systems
+# i.e. Ivy Bridge + Panther Point
+
+PREFERRED_VERSION_linux-yocto ?= "3.2%"
+
+require conf/machine/include/tune-x86_64.inc
+require conf/machine/include/ia32-base.inc
+
+XSERVER ?= "${XSERVER_IA32_BASE} \
+ ${XSERVER_IA32_EXT} \
+ ${XSERVER_IA32_I965} \
+ "
diff --git a/meta-chiefriver/recipes-bsp/formfactor/formfactor/chiefriver/machconfig b/meta-chiefriver/recipes-bsp/formfactor/formfactor/chiefriver/machconfig
new file mode 100644
index 0000000..ffce012
--- /dev/null
+++ b/meta-chiefriver/recipes-bsp/formfactor/formfactor/chiefriver/machconfig
@@ -0,0 +1,3 @@
+# Assume a USB mouse and keyboard are connected
+HAVE_TOUCHSCREEN=0
+HAVE_KEYBOARD=1
diff --git a/meta-chiefriver/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-chiefriver/recipes-bsp/formfactor/formfactor_0.0.bbappend
new file mode 100644
index 0000000..54da0ff
--- /dev/null
+++ b/meta-chiefriver/recipes-bsp/formfactor/formfactor_0.0.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PRINC = "1"
diff --git a/meta-chiefriver/recipes-core/tasks/task-core-tools-profile.bbappend b/meta-chiefriver/recipes-core/tasks/task-core-tools-profile.bbappend
new file mode 100644
index 0000000..4631da3
--- /dev/null
+++ b/meta-chiefriver/recipes-core/tasks/task-core-tools-profile.bbappend
@@ -0,0 +1,2 @@
+RRECOMMENDS_task-core-tools-profile_append_chiefriver = " systemtap"
+
diff --git a/meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config/chiefriver/xorg.conf b/meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config/chiefriver/xorg.conf
new file mode 100644
index 0000000..96b94b4
--- /dev/null
+++ b/meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config/chiefriver/xorg.conf
@@ -0,0 +1,26 @@
+Section "Device"
+ Identifier "Intel Graphics Driver"
+ Driver "intel"
+EndSection
+
+Section "Monitor"
+ Identifier "Generic Monitor"
+ Option "DPMS"
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Device "Intel Graphics Driver"
+ Monitor "Generic Monitor"
+ DefaultDepth 24
+EndSection
+
+Section "ServerLayout"
+ Identifier "Default Layout"
+ Screen "Default Screen"
+EndSection
+
+Section "ServerFlags"
+ Option "DontZap" "0"
+ Option "AutoAddDevices" "False"
+EndSection
diff --git a/meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644
index 0000000..4b8d0e6
--- /dev/null
+++ b/meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -0,0 +1,3 @@
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
diff --git a/meta-chiefriver/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend b/meta-chiefriver/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
new file mode 100644
index 0000000..9e4a4a0
--- /dev/null
+++ b/meta-chiefriver/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+COMPATIBLE_MACHINE_chiefriver = "chiefriver"
+KMACHINE_chiefriver = "chiefriver"
+
+# Update the following to use a different BSP branch or meta SRCREV
+#KBRANCH_chiefriver = "standard/preempt-rt/base"
+#SRCREV_machine_pn-linux-yocto-rt_chiefriver ?= XXXX
+#SRCREV_meta_pn-linux-yocto-rt_chiefriver ?= XXXX
diff --git a/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend b/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
new file mode 100644
index 0000000..0b707be
--- /dev/null
+++ b/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+COMPATIBLE_MACHINE_chiefriver = "chiefriver"
+KMACHINE_chiefriver = "chiefriver"
+KBRANCH_chiefriver = "standard/default/common-pc-64/chiefriver"
+
+SRCREV_machine_pn-linux-yocto_chiefriver ?= "dbe820c277dfa6cbc249d410e8b083286ec484b7"
+SRCREV_meta_pn-linux-yocto_chiefriver ?= "353d43d340e87996b4be4c5f6ddb4447e050b65c"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 02/22] meta-intel: add gstreamer-vaapi_git recipe
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
2012-05-25 21:50 ` [PATCH 01/22] meta-chiefriver: new layer for Chief River (Ivy Bridge/Panther Point) systems tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 03/22] meta-intel: new libva-1.0.15 recipe tom.zanussi
` (19 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Based on the gstreamer-vaapi_0.2.5.bb recipe from the Yocto Project
meta-demo layer (git://git.yoctoproject.org/meta-demo):
commit a33dd433b629f08bc6517ef2ad3bdd36814ebe85
Author: Joshua Lock <josh@linux.intel.com>
Date: Tue Mar 22 12:11:42 2011 +0000
gstreamer-vaapi: new recipe
currently untested but will likely be useful in future so commiting it so
that it doesn't get lost
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Additional changes made by Tom Zanussi <tom.zanussi@intel.com> in
order to work with the other multimedia recipes in meta-intel/common:
- summary and description
- correct license
- changed into a _git recipe in order to pick up post-0.2.5 versions
- additional inherits
- tested
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../gstreamer/gstreamer-vaapi_git.bb | 26 ++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi_git.bb
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi_git.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi_git.bb
new file mode 100644
index 0000000..8ffbb51
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi_git.bb
@@ -0,0 +1,26 @@
+SUMMARY = "VA-API support to GStreamer"
+DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
+based plugins for GStreamer and helper libraries: `vaapidecode', \
+`vaapiconvert', and `vaapisink'."
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "gstreamer libva ffmpeg"
+
+# 0.2.9 tag
+SRCREV = "c98c14bd32855467a5a0ff21b6c703e9e3461467"
+PV = "0.2.9+git${SRCPV}"
+PR = "r0"
+
+SRC_URI = "git://gitorious.org/vaapi/gstreamer-vaapi.git"
+SRC_URI[md5sum] = "729d75f21df79114a8c81d896489e5ad"
+SRC_URI[sha256sum] = "f1770c4537f1615701dbc845eee5732fbb1036b3acafbc7488e551fab334a31d"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig gtk-doc
+
+FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
+FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 03/22] meta-intel: new libva-1.0.15 recipe
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
2012-05-25 21:50 ` [PATCH 01/22] meta-chiefriver: new layer for Chief River (Ivy Bridge/Panther Point) systems tom.zanussi
2012-05-25 21:50 ` [PATCH 02/22] meta-intel: add gstreamer-vaapi_git recipe tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 04/22] meta-intel: new intel-driver-1.0.15 recipe tom.zanussi
` (18 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
This upgrades libva to libva-1.0.15. Intel-specific changes have been
split out into intel-driver-1.0.15, contained in a separate recipe.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-multimedia/libva/libva_1.0.15.bb | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-multimedia/libva/libva_1.0.15.bb
diff --git a/common/recipes-multimedia/libva/libva_1.0.15.bb b/common/recipes-multimedia/libva/libva_1.0.15.bb
new file mode 100644
index 0000000..e60a4b6
--- /dev/null
+++ b/common/recipes-multimedia/libva/libva_1.0.15.bb
@@ -0,0 +1,8 @@
+require libva.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "http://cgit.freedesktop.org/vaapi/libva/snapshot/libva-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "ad8a94ba87ff0563a533c3c142816794"
+SRC_URI[sha256sum] = "7cc24ae9c947aa13904255244810d3637b03d41e2b6f4b643db3b97412cacd37"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 04/22] meta-intel: new intel-driver-1.0.15 recipe
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (2 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 03/22] meta-intel: new libva-1.0.15 recipe tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 05/22] ffmpeg: new recipe tom.zanussi
` (17 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
libva was split in 1.0.15 into general and Intel-specific parts. This
recipe addresses the intel-specific part. The general part is
addressed in the separate libva_1.0.15.bb recipe.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../libva/libva-intel-driver.inc | 24 ++++++++++++++++++++
.../libva/libva-intel-driver_1.0.15.bb | 8 ++++++
2 files changed, 32 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-multimedia/libva/libva-intel-driver.inc
create mode 100644 common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb
diff --git a/common/recipes-multimedia/libva/libva-intel-driver.inc b/common/recipes-multimedia/libva/libva-intel-driver.inc
new file mode 100644
index 0000000..f0c6b9a
--- /dev/null
+++ b/common/recipes-multimedia/libva/libva-intel-driver.inc
@@ -0,0 +1,24 @@
+SUMMARY = "VA driver for Intel G45 & HD Graphics family"
+DESCRIPTION = "libva-driver-intel is the VA-API implementation \
+for Intel G45 chipsets and Intel HD Graphics for Intel Core \
+processor family."
+
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/vaapi"
+BUGTRACKER = "https://bugs.freedesktop.org"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
+
+COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+
+INC_PR = "r0"
+
+DEPENDS = "libva"
+
+S = "${WORKDIR}/intel-driver-${PV}"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/dri/*.so"
+FILES_${PN}-dev += "${libdir}/dri/*.la"
+FILES_${PN}-dbg += "${libdir}/dri/.debug"
diff --git a/common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb b/common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb
new file mode 100644
index 0000000..6fdd6a9
--- /dev/null
+++ b/common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb
@@ -0,0 +1,8 @@
+require libva-intel-driver.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "9dbd642f18993335146480a3a2987874"
+SRC_URI[sha256sum] = "52f16f78129af00ec40afc6a1b8fb07c7b6c6c0da7f43a54e19afd2a41791098"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 05/22] ffmpeg: new recipe
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (3 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 04/22] meta-intel: new intel-driver-1.0.15 recipe tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 06/22] ffmpeg: add --enable-vaapi tom.zanussi
` (16 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
This is a modified version of the ffmpeg recipe from oe-classic
(git://git.openembedded.org/openembedded), updated to ffmpeg-0.7.12,
along with some changes take from meta-demo
(git://git.yoctoproject.org/meta-demo).
The starting point ffmpeg recipe taken from oe-classic version was
ffmpeg_0.6.1.bb:
commit 5316c5b1416391f15277ce867489e525b7eccd6e
Author: Andreas Oberritter <obi@opendreambox.org>
Date: Wed Dec 8 22:08:40 2010 +0000
ffmpeg: add recipe for 0.6.1 (LGPLv2.1+)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The starting point ffmpeg.inc taken from oe-classic corresponds to the
starting commit:
commit 709c4d66e0b107ca606941b988bad717c0b45d9b
Author: Denys Dmytriyenko <denis@denix.org>
Date: Tue Mar 17 14:32:59 2009 -0400
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
up to the following commit:
commit 18d59f5fad41e4ea05b5d5a8c1588a0bdbdbf815
Author: Andreas Oberritter <obi@opendreambox.org>
Date: Wed Dec 8 22:08:39 2010 +0000
ffmpeg: set default license to GPLv2+, because --enable-gpl is used.
* See http://www.ffmpeg.org/legal.html
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
The following changes were taken from meta-demo for ffmpeg.inc:
commit 33513db7658b9c72bb8c6d477c57b2ab62dab669
Author: Joshua Lock <josh@linux.intel.com>
Date: Tue Jan 25 18:00:00 2011 +0000
ffmpeg: Fix some path references that broke with latest master of poky
Signed-off-by: Joshua Lock <josh@linux.intel.com>
commit ef61afc110ee4444a1c893290079f11c96e0d560
Author: Joshua Lock <josh@linux.intel.com>
Date: Tue Mar 1 17:10:20 2011 +0000
ffmpeg: fix header installation
Change merged from OpenEmbedded
Signed-off-by: Joshua Lock <josh@linux.intel.com>
commit cae78e5c49423e9ce967f05a5a7c46920ca0cd6b
Author: Darren Hart <dvhart@linux.intel.com>
Date: Wed Nov 10 14:41:24 2010 -0800
License audit for meta-demo layer
Correct .bb and .inc files to include the proper LICENSE and LIC_FILES_CHKSUM
variables. Note that in most cases the "(at your option) a later version" clause
to the L?GPL is contained in a source file, not COPYING. In those case, add a
more or less core source file to the LIC_FILES_CHKSUM list.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Saul Wold <sgw@linux.intel.com>
To get the latest bug and security fixes:
- updated to ffmpeg-0.7.12
Some additional changes were made to simplify and remove components
that weren't strictly necessary for current needs:
- removed shroedinger and libgsm dependencies
- removed faac faad2 lame dependencies
- removed --libgsm, --libmp3lame, --libschroedinger
- removed RSUGGESTS mplayer
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-multimedia/ffmpeg/ffmpeg.inc | 108 +++++++++++++++++++++
common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | 41 ++++++++
2 files changed, 149 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg.inc
create mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
new file mode 100644
index 0000000..fc8b854
--- /dev/null
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
@@ -0,0 +1,108 @@
+DESCRIPTION = "FFmpeg is a complete solution to record, convert and stream audio and video"
+HOMEPAGE = "http://ffmpeg.mplayerhq.hu/"
+AUTHOR = "Fabrice Bellard ffmpeg-devel@mplayerhq.hu"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv2+ & LGPLv2.1+"
+
+ARM_INSTRUCTION_SET = "arm"
+
+DEPENDS = "zlib libogg libvorbis libtheora liba52"
+
+INC_PR = "r0"
+
+inherit autotools pkgconfig
+
+LEAD_SONAME = "libavcodec.so"
+
+EXTRA_OECONF = "\
+ \
+ --enable-pp \
+ --enable-shared \
+ --enable-pthreads \
+ --enable-gpl \
+ \
+ --cross-prefix=${TARGET_PREFIX} \
+ --disable-debug \
+ --disable-ffserver \
+ --disable-ffplay \
+ \
+"
+
+EXTRA_OECONF_append_powerpc += "--${@['disable-altivec','enable-altivec'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce600']]}"
+
+FFMPEG_LIBS = "libavcodec libavdevice libavformat \
+ libavutil libpostproc libswscale libavfilter"
+
+SYSROOT_PREPROCESS_FUNCS = " \
+ ffmpeg_stage_cleanup \
+ ffmpeg_create_compat_links"
+
+ffmpeg_create_compat_links() {
+ rm -rf ${SYSROOT_DESTDIR}${includedir}/ffmpeg
+ mkdir -m 0755 ${SYSROOT_DESTDIR}${includedir}/ffmpeg
+ cd ${SYSROOT_DESTDIR}${includedir}/ffmpeg
+
+ for lib in ${FFMPEG_LIBS}; do
+ ln -s ../$lib/*.h '.' || true
+ done
+}
+
+ffmpeg_stage_cleanup() {
+ rm -rf ${SYSROOT_DESTDIR}${libdir}/vhook \
+ ${SYSROOT_DESTDIR}${datadir}
+}
+
+PACKAGES += "${PN}-vhook-dbg ${PN}-vhook"
+
+FILES_${PN} = "${bindir}"
+FILES_${PN}-dev = "${includedir}/${PN}"
+
+FILES_${PN}-vhook = "${libdir}/vhook"
+FILES_${PN}-vhook-dbg += "${libdir}/vhook/.debug"
+
+PACKAGES += "ffmpeg-x264-presets \
+ libavcodec libavcodec-dev libavcodec-dbg \
+ libavdevice libavdevice-dev libavdevice-dbg \
+ libavformat libavformat-dev libavformat-dbg \
+ libavutil libavutil-dev libavutil-dbg \
+ libpostproc libpostproc-dev libpostproc-dbg \
+ libswscale libswscale-dev libswscale-dbg \
+ libavfilter libavfilter-dev libavfilter-dbg \
+ libavcore libavcore-dev libavcore-dbg \
+ "
+
+FILES_ffmpeg-x264-presets = "${datadir}/*.ffpreset"
+
+FILES_${PN}-dev = "${includedir}"
+FILES_libavcodec = "${libdir}/libavcodec*.so.*"
+FILES_libavcodec-dev = "${libdir}/libavcodec*.so ${libdir}/pkgconfig/libavcodec.pc ${libdir}/libavcodec*.a"
+FILES_libavcodec-dbg += "${libdir}/.debug/libavcodec*"
+
+FILES_libavdevice = "${libdir}/libavdevice*.so.*"
+FILES_libavdevice-dev = "${libdir}/libavdevice*.so ${libdir}/pkgconfig/libavdevice.pc ${libdir}/libavdevice*.a"
+FILES_libavdevice-dbg += "${libdir}/.debug/libavdevice*"
+
+FILES_libavformat = "${libdir}/libavformat*.so.*"
+FILES_libavformat-dev = "${libdir}/libavformat*.so ${libdir}/pkgconfig/libavformat.pc ${libdir}/libavformat*.a"
+FILES_libavformat-dbg += "${libdir}/.debug/libavformat*"
+
+FILES_libavutil = "${libdir}/libavutil*.so.*"
+FILES_libavutil-dev = "${libdir}/libavutil*.so ${libdir}/pkgconfig/libavutil.pc ${libdir}/libavutil*.a"
+FILES_libavutil-dbg += "${libdir}/.debug/libavutil*"
+
+FILES_libpostproc = "${libdir}/libpostproc*.so.*"
+FILES_libpostproc-dev = "${libdir}/libpostproc*.so ${libdir}/pkgconfig/libpostproc.pc ${libdir}/libpostproc*.a ${includedir}/postproc"
+FILES_libpostproc-dbg += "${libdir}/.debug/libpostproc*"
+
+FILES_libswscale = "${libdir}/libswscale*.so.*"
+FILES_libswscale-dev = "${libdir}/libswscale*.so ${libdir}/pkgconfig/libswscale.pc ${libdir}/libswscale*.a"
+FILES_libswscale-dbg += "${libdir}/.debug/libswscale*"
+
+FILES_libavfilter = "${libdir}/libavfilter*.so.*"
+FILES_libavfilter-dev = "${libdir}/libavfilter*.so ${libdir}/pkgconfig/libavfilter.pc ${libdir}/libavfilter*.a"
+FILES_libavfilter-dbg += "${libdir}/.debug/libavfilter*"
+
+FILES_libavcore = "${libdir}/libavcore*.so.*"
+FILES_libavcore-dev = "${libdir}/libavcore*.so ${libdir}/pkgconfig/libavcore.pc ${libdir}/libavcore*.a"
+FILES_libavcore-dbg += "${libdir}/.debug/libavcore*"
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
new file mode 100644
index 0000000..023c25f
--- /dev/null
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
@@ -0,0 +1,41 @@
+require ffmpeg.inc
+
+LICENSE = "LGPLv2.1+ & GPLv2+"
+PR = "${INC_PR}.1"
+
+SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
+SRC_URI[md5sum] = "e4d0c32c0a7cc763922ee8c34e688b5a"
+SRC_URI[sha256sum] = "4d383af2614fd55ab9e11ab3d5366b9a1453a4e4edf0ac2a1b1411927d577249"
+
+LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://libpostproc/postprocess.c;beginline=8;endline=21;md5=3163771dd725805aeda961a4e05173b5 \
+ file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
+ file://ffmpeg.c;beginline=7;endline=20;md5=9dee9cc51a9da6c3254d39ebf4d5aa03"
+
+EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"
+EXTRA_FFCONF_mipsel = "--arch=mips"
+
+EXTRA_OECONF = " \
+ --arch=${TARGET_ARCH} \
+ --cross-prefix=${TARGET_PREFIX} \
+ --disable-stripping \
+ --enable-cross-compile \
+ --enable-libtheora \
+ --enable-libvorbis \
+ --enable-pthreads \
+ --enable-shared \
+ --enable-swscale \
+ --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
+ --extra-ldflags="${TARGET_LDFLAGS}" \
+ --sysroot="${STAGING_DIR_TARGET}" \
+ --prefix=${prefix}/ \
+ --target-os=linux \
+ ${EXTRA_FFCONF} \
+"
+
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
+
+FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -ftree-vectorize -fomit-frame-pointer -O4 -ffast-math"
+BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 06/22] ffmpeg: add --enable-vaapi
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (4 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 05/22] ffmpeg: new recipe tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 07/22] ffmpeg: add --enable-gpl tom.zanussi
` (15 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Turn on vaapi support in ffmpeg to allow video acceleration via vaapi.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-multimedia/ffmpeg/ffmpeg.inc | 2 +-
common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
index fc8b854..aa11ee9 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+ & LGPLv2.1+"
ARM_INSTRUCTION_SET = "arm"
-DEPENDS = "zlib libogg libvorbis libtheora liba52"
+DEPENDS = "zlib libogg libvorbis libtheora liba52 libva"
INC_PR = "r0"
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
index 023c25f..5442b0d 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
@@ -25,6 +25,7 @@ EXTRA_OECONF = " \
--enable-pthreads \
--enable-shared \
--enable-swscale \
+ --enable-vaapi \
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS}" \
--sysroot="${STAGING_DIR_TARGET}" \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 07/22] ffmpeg: add --enable-gpl
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (5 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 06/22] ffmpeg: add --enable-vaapi tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 08/22] yasm: new recipe tom.zanussi
` (14 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
libpostproc needs --enable-gpl in order to be built. This essentially
changes ffmpeg's license to GPL v2+ as per the ffmpeg LICENSE file.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
index 5442b0d..0d316d0 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
@@ -26,6 +26,7 @@ EXTRA_OECONF = " \
--enable-shared \
--enable-swscale \
--enable-vaapi \
+ --enable-gpl \
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS}" \
--sysroot="${STAGING_DIR_TARGET}" \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 08/22] yasm: new recipe
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (6 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 07/22] ffmpeg: add --enable-gpl tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 09/22] ffmpeg: add --enable-yasm tom.zanussi
` (13 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
x86 (SSE) assembler supporting NASM and GAS-syntaxes, needed by
ffmpeg.
Taken from oe-classic (git://git.openembedded.org/openembedded):
commit 22f72e1751108cf5092332a952fcbadec5cd1a0d
Author: Khem Raj <raj.khem@gmail.com>
Date: Tue Mar 22 12:21:50 2011 -0700
yasm: Upgrade yasm_0.7.2.bb -> yasm_1.1.0.bb
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-support/yasm/yasm_1.1.0.bb | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-support/yasm/yasm_1.1.0.bb
diff --git a/common/recipes-support/yasm/yasm_1.1.0.bb b/common/recipes-support/yasm/yasm_1.1.0.bb
new file mode 100644
index 0000000..7c3fc86
--- /dev/null
+++ b/common/recipes-support/yasm/yasm_1.1.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
+LICENSE = "BSD"
+HOMEPAGE = "http://www.tortall.net/projects/yasm/"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=26c9f3d11f88911950f9ff62189d3d4f"
+
+SRC_URI = "http://www.tortall.net/projects/yasm/releases/yasm-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8392e5f2235c2c2a981e1a633f2698cb"
+SRC_URI[sha256sum] = "e5d56b582f3d0c30ed5c4fc221063e4175602307ea645520889458133671c232"
+
+S = "${WORKDIR}/yasm-${PV}"
+
+inherit autotools gettext
+
+BBCLASSEXTEND = "native"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 09/22] ffmpeg: add --enable-yasm
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (7 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 08/22] yasm: new recipe tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 10/22] gst-ffmpeg: add bbappend for external ffmpeg tom.zanussi
` (12 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Enable yasm for the ffmpeg build - we don't want a 'crippled build' or
lipsync problems.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-multimedia/ffmpeg/ffmpeg.inc | 2 +-
common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
index aa11ee9..96da7c2 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+ & LGPLv2.1+"
ARM_INSTRUCTION_SET = "arm"
-DEPENDS = "zlib libogg libvorbis libtheora liba52 libva"
+DEPENDS = "zlib libogg libvorbis libtheora liba52 libva yasm-native"
INC_PR = "r0"
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
index 0d316d0..31442cc 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
@@ -27,6 +27,7 @@ EXTRA_OECONF = " \
--enable-swscale \
--enable-vaapi \
--enable-gpl \
+ --enable-yasm \
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS}" \
--sysroot="${STAGING_DIR_TARGET}" \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 10/22] gst-ffmpeg: add bbappend for external ffmpeg
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (8 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 09/22] ffmpeg: add --enable-yasm tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 11/22] gst-va-intel: add conditional vaapi implementation tom.zanussi
` (11 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
We don't want gst-ffmpeg to use its own internal copy of ffmpeg, but
rather an updated external version with security updates and bugfixes.
So add a .bbappend that allows us to make use of --with-system-ffmpeg
for that purpose.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../gstreamer/gst-ffmpeg_0.10.13.bbappend | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend
diff --git a/common/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend b/common/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend
new file mode 100644
index 0000000..f17a3bc
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend
@@ -0,0 +1,2 @@
+DEPENDS += "ffmpeg"
+EXTRA_OECONF += "--with-system-ffmpeg"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 11/22] gst-va-intel: add conditional vaapi implementation
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (9 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 10/22] gst-ffmpeg: add bbappend for external ffmpeg tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 12/22] va-intel: new package tom.zanussi
` (10 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Use different versions of vaapi interface implementaion depending on
what a machine specifies. The default if no MACHINE_FEATURE is
specified is gstreamer-vaapi. Other machines may need a different
implementation e.g. a machine using emgd would specify
'gst-va-mixvideo' in its MACHINE_FEATURES in order to have the
implementation satisfied by emgd instead of gstreamer-vaapi, which
this also implements.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../recipes-multimedia/gstreamer/gst-va-intel.bb | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/common/recipes-multimedia/gstreamer/gst-va-intel.bb b/common/recipes-multimedia/gstreamer/gst-va-intel.bb
index 31bde4e..4f7fe9f 100644
--- a/common/recipes-multimedia/gstreamer/gst-va-intel.bb
+++ b/common/recipes-multimedia/gstreamer/gst-va-intel.bb
@@ -6,10 +6,14 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
PR = "r0"
+VAAPI_IMPL = "${@base_contains('MACHINE_FEATURES', 'gst-va-mixvideo', 'gst-va-mixvideo-vaapi', \
+ 'gst-va-intel-vaapi', d)}"
+
PACKAGES = "\
gst-va-intel \
gst-va-intel-general \
gst-va-intel-video \
+ ${VAAPI_IMPL} \
"
ALLOW_EMPTY = "1"
@@ -17,6 +21,7 @@ ALLOW_EMPTY = "1"
RDEPENDS_gst-va-intel = "\
gst-va-intel-general \
gst-va-intel-video \
+ ${VAAPI_IMPL} \
"
RDEPENDS_gst-va-intel-general = "\
@@ -26,3 +31,11 @@ RDEPENDS_gst-va-intel-general = "\
RDEPENDS_gst-va-intel-video = "\
gst-plugins-good-isomp4 \
"
+
+RDEPENDS_gst-va-intel-vaapi = "\
+ gstreamer-vaapi \
+ "
+
+RDEPENDS_gst-va-mixvideo-vaapi = "\
+ emgd-driver-bin \
+ "
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 12/22] va-intel: new package
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (10 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 11/22] gst-va-intel: add conditional vaapi implementation tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 13/22] gst-va-intel: clarify DESCRIPTION tom.zanussi
` (9 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
We need some libraries for video acceleration which depend on the
video implementation being used e.g. vanilla intel vs emgd, so create
a new 'va-intel' package group for them.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
common/recipes-multimedia/libva/va-intel.bb | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-multimedia/libva/va-intel.bb
diff --git a/common/recipes-multimedia/libva/va-intel.bb b/common/recipes-multimedia/libva/va-intel.bb
new file mode 100644
index 0000000..3ce857a
--- /dev/null
+++ b/common/recipes-multimedia/libva/va-intel.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Video Acceleration Add-ons for Intel BSPs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+PR = "r0"
+
+VA_IMPL = "${@base_contains('MACHINE_FEATURES', 'gst-va-mixvideo', \
+ 'libva libva-x11 libva-tpi libva-glx libva-egl', \
+ 'libva libva-intel-driver', d)}"
+
+PACKAGES = "\
+ va-intel \
+ "
+
+ALLOW_EMPTY = "1"
+
+RDEPENDS_va-intel = " \
+ ${VA_IMPL} \
+ "
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 13/22] gst-va-intel: clarify DESCRIPTION
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (11 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 12/22] va-intel: new package tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 14/22] meta-intel: remove video acceleration from emgd XSERVER tom.zanussi
` (8 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Modify the description to clarify that these are gstreamer addons.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../recipes-multimedia/gstreamer/gst-va-intel.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/recipes-multimedia/gstreamer/gst-va-intel.bb b/common/recipes-multimedia/gstreamer/gst-va-intel.bb
index 4f7fe9f..17cb7c8 100644
--- a/common/recipes-multimedia/gstreamer/gst-va-intel.bb
+++ b/common/recipes-multimedia/gstreamer/gst-va-intel.bb
@@ -1,4 +1,4 @@
-DESCRIPTION = "Video Acceleration Add-ons for Intel BSPs"
+DESCRIPTION = "GStreamer Video Acceleration Add-ons for Intel BSPs"
LICENSE = "MIT"
DEPENDS = "gst-meta-base"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 14/22] meta-intel: remove video acceleration from emgd XSERVER
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (12 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 13/22] gst-va-intel: clarify DESCRIPTION tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 15/22] meta-chiefriver: use gst-va-intel and va-intel tom.zanussi
` (7 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Video acceleration dependencies really don't belong in the XSERVER
variable - remove them; we'll add them back later via va-intel.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
conf/machine/include/ia32-base.inc | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/conf/machine/include/ia32-base.inc b/conf/machine/include/ia32-base.inc
index be1c8e0..99ac352 100644
--- a/conf/machine/include/ia32-base.inc
+++ b/conf/machine/include/ia32-base.inc
@@ -57,10 +57,6 @@ XSERVER_IA32_I965 = "xf86-video-intel \
"
XSERVER_IA32_EMGD = "emgd-driver-bin \
- libva-x11 \
- libva-tpi \
- libva-glx \
- libva-egl \
"
XSERVER_IA32_VESA = "xf86-video-vesa"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 15/22] meta-chiefriver: use gst-va-intel and va-intel
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (13 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 14/22] meta-intel: remove video acceleration from emgd XSERVER tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 16/22] meta-sugarbay: " tom.zanussi
` (6 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Have chiefriver use gst-va-intel and 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>
---
meta-chiefriver/conf/machine/chiefriver.conf | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta-chiefriver/conf/machine/chiefriver.conf b/meta-chiefriver/conf/machine/chiefriver.conf
index c9237f4..a78e4fd 100644
--- a/meta-chiefriver/conf/machine/chiefriver.conf
+++ b/meta-chiefriver/conf/machine/chiefriver.conf
@@ -13,3 +13,7 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
${XSERVER_IA32_EXT} \
${XSERVER_IA32_I965} \
"
+
+VA_FEATURES ?= "gst-va-intel va-intel"
+
+MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 16/22] meta-sugarbay: use gst-va-intel and va-intel
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (14 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 15/22] meta-chiefriver: use gst-va-intel and va-intel tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 17/22] meta-crownbay: use gst-va-intel and va-intel and gst-va-mixvideo tom.zanussi
` (5 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Have sugarbay use gst-va-intel and 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>
---
meta-sugarbay/conf/machine/sugarbay.conf | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta-sugarbay/conf/machine/sugarbay.conf b/meta-sugarbay/conf/machine/sugarbay.conf
index a44f918..adb1fa7 100644
--- a/meta-sugarbay/conf/machine/sugarbay.conf
+++ b/meta-sugarbay/conf/machine/sugarbay.conf
@@ -13,3 +13,7 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
${XSERVER_IA32_EXT} \
${XSERVER_IA32_I965} \
"
+
+VA_FEATURES ?= "gst-va-intel va-intel"
+
+MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 17/22] meta-crownbay: use gst-va-intel and va-intel and gst-va-mixvideo
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (15 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 16/22] meta-sugarbay: " tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 18/22] lms: new recipe tom.zanussi
` (4 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Have crownbay use gst-va-intel and va-intel so we can easily test and
make use of the video acceleration capabilities of this machine.
Also have it use the gst-va-mixvideo so the emgd mixvideo components
get selected.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
meta-crownbay/conf/machine/crownbay.conf | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/meta-crownbay/conf/machine/crownbay.conf b/meta-crownbay/conf/machine/crownbay.conf
index 0d432ca..a39d037 100644
--- a/meta-crownbay/conf/machine/crownbay.conf
+++ b/meta-crownbay/conf/machine/crownbay.conf
@@ -9,6 +9,8 @@ PREFERRED_VERSION_linux-yocto ?= "3.2%"
require conf/machine/include/tune-atom.inc
require conf/machine/include/ia32-base.inc
+MACHINE_FEATURES += "gst-va-mixvideo"
+
XSERVER ?= "${XSERVER_IA32_BASE} \
${XSERVER_IA32_EXT} \
${XSERVER_IA32_EMGD} \
@@ -20,4 +22,6 @@ PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
APPEND += "video=vesafb vga=0x318"
-MACHINE_EXTRA_RRECOMMENDS += "gst-va-intel"
+VA_FEATURES ?= "gst-va-intel va-intel"
+
+MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes
@ 2012-05-25 21:50 tom.zanussi
2012-05-25 21:50 ` [PATCH 01/22] meta-chiefriver: new layer for Chief River (Ivy Bridge/Panther Point) systems tom.zanussi
` (21 more replies)
0 siblings, 22 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
This patchset implements a new BSP for the 'Chief River' platform, which
consists of the Intel Ivy Bridge processor and Panther Point PCH. It
assumes that the Ivy Bridge integrated graphics are being used.
It also adds a few new recipes related to video acceleration which are
modified versions of oe-core or yocto meta-demo recipes (ffmpeg,
yasm-native, gstreamer-vaapi), along with tweaks needed to work with
intel video acceleration components.
There are also some new intel-specific video acceleration components
(libva-1.0.15, intel-driver-1.0.15, va-intel) either needed for video
acceleration on Intel platforms, or allowing for easier integration
with the existing meta-intel BSPs. These finally allow the chiefriver,
sugarbay, and crownbay BSPs to share a common set of video components,
and have been tested with all three.
Finally, there's a new recipe for the Intel Local Manageability Service
(LMS), which allows Intel BSPs to access the Intel Active Management
Technology (AMT) firmware via the Intel Management Engine Interface (MEI),
which is used by the Chief River BSP.
v2: added rc6 kernel feature usage and added chiefriver to MAINTAINERS
The following changes since commit a62c485edffed30ea95658760948fd50925adfb0:
Darren Hart (1):
linux-yocto_3.0: Update KMACHINE and KBRANCH to play nice with new kerntools
are available in the git repository at:
git://git.yoctoproject.org/meta-intel.git tzanussi/chiefriver.v2
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/chiefriver.v2
Tom Zanussi (22):
meta-chiefriver: new layer for Chief River (Ivy Bridge/Panther Point)
systems
meta-intel: add gstreamer-vaapi_git recipe
meta-intel: new libva-1.0.15 recipe
meta-intel: new intel-driver-1.0.15 recipe
ffmpeg: new recipe
ffmpeg: add --enable-vaapi
ffmpeg: add --enable-gpl
yasm: new recipe
ffmpeg: add --enable-yasm
gst-ffmpeg: add bbappend for external ffmpeg
gst-va-intel: add conditional vaapi implementation
va-intel: new package
gst-va-intel: clarify DESCRIPTION
meta-intel: remove video acceleration from emgd XSERVER
meta-chiefriver: use gst-va-intel and va-intel
meta-sugarbay: use gst-va-intel and va-intel
meta-crownbay: use gst-va-intel and va-intel and gst-va-mixvideo
lms: new recipe
meta-chiefriver: use lms
meta-chiefriver: use the mei kernel feature
meta-sugarbay: use rc6 kernel feature
meta-intel: add chiefriver BSP to MAINTAINERS
MAINTAINERS | 4 +
.../amt/lms/atnetworktool-printf-fix.patch | 14 +++
common/recipes-bsp/amt/lms_7.1.20.bb | 42 ++++++++
common/recipes-multimedia/ffmpeg/ffmpeg.inc | 108 ++++++++++++++++++++
common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | 44 ++++++++
.../gstreamer/gst-ffmpeg_0.10.13.bbappend | 2 +
.../recipes-multimedia/gstreamer/gst-va-intel.bb | 15 +++-
.../gstreamer/gstreamer-vaapi_git.bb | 26 +++++
.../libva/libva-intel-driver.inc | 24 +++++
.../libva/libva-intel-driver_1.0.15.bb | 8 ++
common/recipes-multimedia/libva/libva_1.0.15.bb | 8 ++
common/recipes-multimedia/libva/va-intel.bb | 20 ++++
common/recipes-support/yasm/yasm_1.1.0.bb | 17 +++
conf/machine/include/ia32-base.inc | 4 -
meta-chiefriver/COPYING.MIT | 17 +++
meta-chiefriver/README | 107 +++++++++++++++++++
meta-chiefriver/README.sources | 17 +++
meta-chiefriver/conf/layer.conf | 10 ++
meta-chiefriver/conf/machine/chiefriver.conf | 19 ++++
.../formfactor/formfactor/chiefriver/machconfig | 3 +
.../recipes-bsp/formfactor/formfactor_0.0.bbappend | 3 +
.../tasks/task-core-tools-profile.bbappend | 2 +
.../xserver-xf86-config/chiefriver/xorg.conf | 26 +++++
.../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 +
.../linux/linux-yocto-rt_3.2.bbappend | 8 ++
.../recipes-kernel/linux/linux-yocto_3.2.bbappend | 10 ++
meta-crownbay/conf/machine/crownbay.conf | 6 +-
meta-sugarbay/conf/machine/sugarbay.conf | 4 +
.../recipes-kernel/linux/linux-yocto_3.2.bbappend | 2 +
29 files changed, 567 insertions(+), 6 deletions(-)
create mode 100644 common/recipes-bsp/amt/lms/atnetworktool-printf-fix.patch
create mode 100644 common/recipes-bsp/amt/lms_7.1.20.bb
create mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg.inc
create mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
create mode 100644 common/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend
create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi_git.bb
create mode 100644 common/recipes-multimedia/libva/libva-intel-driver.inc
create mode 100644 common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb
create mode 100644 common/recipes-multimedia/libva/libva_1.0.15.bb
create mode 100644 common/recipes-multimedia/libva/va-intel.bb
create mode 100644 common/recipes-support/yasm/yasm_1.1.0.bb
create mode 100644 meta-chiefriver/COPYING.MIT
create mode 100644 meta-chiefriver/README
create mode 100644 meta-chiefriver/README.sources
create mode 100644 meta-chiefriver/conf/layer.conf
create mode 100644 meta-chiefriver/conf/machine/chiefriver.conf
create mode 100644 meta-chiefriver/recipes-bsp/formfactor/formfactor/chiefriver/machconfig
create mode 100644 meta-chiefriver/recipes-bsp/formfactor/formfactor_0.0.bbappend
create mode 100644 meta-chiefriver/recipes-core/tasks/task-core-tools-profile.bbappend
create mode 100644 meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config/chiefriver/xorg.conf
create mode 100644 meta-chiefriver/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
create mode 100644 meta-chiefriver/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
create mode 100644 meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
^ permalink raw reply [flat|nested] 23+ messages in thread
* [PATCH 18/22] lms: new recipe
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (16 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 17/22] meta-crownbay: use gst-va-intel and va-intel and gst-va-mixvideo tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 19/22] meta-chiefriver: use lms tom.zanussi
` (3 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Add support for the Intel Active Management Technology (AMT) Local
Manageability Service (LMS) daemon.
The Intel LMS daemon allows applications to access the Intel AMT
firmware via the Intel Management Engine Interface (MEI).
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../amt/lms/atnetworktool-printf-fix.patch | 14 +++++++
common/recipes-bsp/amt/lms_7.1.20.bb | 42 ++++++++++++++++++++
2 files changed, 56 insertions(+), 0 deletions(-)
create mode 100644 common/recipes-bsp/amt/lms/atnetworktool-printf-fix.patch
create mode 100644 common/recipes-bsp/amt/lms_7.1.20.bb
diff --git a/common/recipes-bsp/amt/lms/atnetworktool-printf-fix.patch b/common/recipes-bsp/amt/lms/atnetworktool-printf-fix.patch
new file mode 100644
index 0000000..d3a6284
--- /dev/null
+++ b/common/recipes-bsp/amt/lms/atnetworktool-printf-fix.patch
@@ -0,0 +1,14 @@
+Index: lms-7.1.20/src/tools/ATNetworkTool.cpp
+===================================================================
+--- lms-7.1.20.orig/src/tools/ATNetworkTool.cpp 2012-04-30 23:24:56.693879920 -0500
++++ lms-7.1.20/src/tools/ATNetworkTool.cpp 2012-04-30 23:25:32.363473948 -0500
+@@ -302,7 +302,9 @@
+ close(s);
+ return -1;
+ }
++#ifdef LMS_NET_DEBUG
+ printf("successfully binded local\n");
++#endif
+
+ }
+ if (bind(s, addr, addrlen) == -1) {
diff --git a/common/recipes-bsp/amt/lms_7.1.20.bb b/common/recipes-bsp/amt/lms_7.1.20.bb
new file mode 100644
index 0000000..fb1aaec
--- /dev/null
+++ b/common/recipes-bsp/amt/lms_7.1.20.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Intel Local Manageability Service allows applications \
+to access the Intel Active Management Technology (AMT) firmware via \
+the Intel Management Engine Interface (MEI)."
+HOMEPAGE = "http://software.intel.com/en-us/articles/download-the-latest-intel-amt-open-source-drivers"
+
+LICENSE = "Modified BSD"
+
+PR = "r0"
+SRC_URI = "http://software.intel.com/file/37962 \
+ file://atnetworktool-printf-fix.patch"
+
+COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=7264184cf88d9f27b719a9656255b47b"
+
+SRC_URI[md5sum] = "687b76e78bfdbcf567c0e842c1fe240a"
+SRC_URI[sha256sum] = "cc0457f0044e924794bb1aeae9a72c28666a525cd8a963d0d92970222946e75b"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "lms"
+INITSCRIPT_PARAMS = "defaults"
+
+PV_SUB = "25"
+
+do_unpack2() {
+ # The downloaded 37962 filename is actually lms+7.1.20.25.zip.
+ # It contains lms-7.1.20-25.tar.gz.
+ # It contains lms-7.1.20-25.tar.gz untars to lms-7.1.20
+ mv ${WORKDIR}/37962 ${WORKDIR}/${PN}+${PV}.${PV_SUB}.zip
+ unzip -o ${WORKDIR}/${PN}+${PV}.${PV_SUB}.zip
+ mv ${WORKDIR}/${PN}-${PV}/outputdir/${PN}-${PV}-${PV_SUB}.tar.gz ${WORKDIR}/
+ cd ${WORKDIR}
+ tar -xvzf ${PN}-${PV}-${PV_SUB}.tar.gz
+}
+
+addtask unpack2 after do_unpack before do_patch
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/${PN}-${PV}/scripts/lms ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 19/22] meta-chiefriver: use lms
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (17 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 18/22] lms: new recipe tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 20/22] meta-chiefriver: use the mei kernel feature tom.zanussi
` (2 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Chiefriver needs lms support for AMT, add it.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
meta-chiefriver/conf/machine/chiefriver.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta-chiefriver/conf/machine/chiefriver.conf b/meta-chiefriver/conf/machine/chiefriver.conf
index a78e4fd..4a35913 100644
--- a/meta-chiefriver/conf/machine/chiefriver.conf
+++ b/meta-chiefriver/conf/machine/chiefriver.conf
@@ -16,4 +16,4 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
VA_FEATURES ?= "gst-va-intel va-intel"
-MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"
+MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES} lms"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 20/22] meta-chiefriver: use the mei kernel feature
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (18 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 19/22] meta-chiefriver: use lms tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 21/22] meta-sugarbay: use rc6 " tom.zanussi
2012-05-25 21:50 ` [PATCH 22/22] meta-intel: add chiefriver BSP to MAINTAINERS tom.zanussi
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Add AMT/mei support as a kernel feature here instead of in the
linux-yocto metadata - mei support is currently a feature in staging,
and not everyone might want a tainted kernel.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../recipes-kernel/linux/linux-yocto_3.2.bbappend | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend b/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
index 0b707be..083ddfb 100644
--- a/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
+++ b/meta-chiefriver/recipes-kernel/linux/linux-yocto_3.2.bbappend
@@ -4,5 +4,7 @@ COMPATIBLE_MACHINE_chiefriver = "chiefriver"
KMACHINE_chiefriver = "chiefriver"
KBRANCH_chiefriver = "standard/default/common-pc-64/chiefriver"
+KERNEL_FEATURES_append_chiefriver = " features/amt/mei"
+
SRCREV_machine_pn-linux-yocto_chiefriver ?= "dbe820c277dfa6cbc249d410e8b083286ec484b7"
SRCREV_meta_pn-linux-yocto_chiefriver ?= "353d43d340e87996b4be4c5f6ddb4447e050b65c"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 21/22] meta-sugarbay: use rc6 kernel feature
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (19 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 20/22] meta-chiefriver: use the mei kernel feature tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
2012-05-25 21:50 ` [PATCH 22/22] meta-intel: add chiefriver BSP to MAINTAINERS tom.zanussi
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
According to the Intel graphics guys and Ubuntu, it's ok to now have
rc6 enabled by default (as long as rc6p is not also enabled).
Accordingly, we'll use the rc6 feature that enables it. If there are
problems, it can be easily disabled at build-time by removing tmp/rc6
from KERNEL_FEATURES, or can be disbled at run-time using the kernel
parameter i915_enable_rc6 = 0.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../recipes-kernel/linux/linux-yocto_3.2.bbappend | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.2.bbappend b/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.2.bbappend
index f1cfe21..6a47961 100644
--- a/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.2.bbappend
+++ b/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.2.bbappend
@@ -7,3 +7,5 @@ KBRANCH_sugarbay = "standard/default/common-pc-64/sugarbay"
SRCREV_machine_pn-linux-yocto_sugarbay ?= "0fe6d5d97c0a8d9e47716cb0da619deca07197e3"
SRCREV_meta_pn-linux-yocto_sugarbay ?= "49f931bc294d5b6be60502bbd448cff5aa766235"
+
+KERNEL_FEATURES_append_sugarbay = " features/tmp/rc6"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 22/22] meta-intel: add chiefriver BSP to MAINTAINERS
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
` (20 preceding siblings ...)
2012-05-25 21:50 ` [PATCH 21/22] meta-sugarbay: use rc6 " tom.zanussi
@ 2012-05-25 21:50 ` tom.zanussi
21 siblings, 0 replies; 23+ messages in thread
From: tom.zanussi @ 2012-05-25 21:50 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
MAINTAINERS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0f6cb27..a4df96d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -36,6 +36,10 @@ CEDARTRAIL
M: Kishore Bodke <kishore.k.bodke@intel.com>
F: meta-cedartrail/
+CHIEFRIVER
+M: Tom Zanussi <tom.zanussi@intel.com>
+F: meta-chiefriver/
+
COMMON
M: Tom Zanussi <tom.zanussi@intel.com>
F: common/recipes-core/
--
1.7.0.4
^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2012-05-25 21:51 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-25 21:50 [PATCH 00/22] meta-intel: new chiefriver BSP and supporting recipes tom.zanussi
2012-05-25 21:50 ` [PATCH 01/22] meta-chiefriver: new layer for Chief River (Ivy Bridge/Panther Point) systems tom.zanussi
2012-05-25 21:50 ` [PATCH 02/22] meta-intel: add gstreamer-vaapi_git recipe tom.zanussi
2012-05-25 21:50 ` [PATCH 03/22] meta-intel: new libva-1.0.15 recipe tom.zanussi
2012-05-25 21:50 ` [PATCH 04/22] meta-intel: new intel-driver-1.0.15 recipe tom.zanussi
2012-05-25 21:50 ` [PATCH 05/22] ffmpeg: new recipe tom.zanussi
2012-05-25 21:50 ` [PATCH 06/22] ffmpeg: add --enable-vaapi tom.zanussi
2012-05-25 21:50 ` [PATCH 07/22] ffmpeg: add --enable-gpl tom.zanussi
2012-05-25 21:50 ` [PATCH 08/22] yasm: new recipe tom.zanussi
2012-05-25 21:50 ` [PATCH 09/22] ffmpeg: add --enable-yasm tom.zanussi
2012-05-25 21:50 ` [PATCH 10/22] gst-ffmpeg: add bbappend for external ffmpeg tom.zanussi
2012-05-25 21:50 ` [PATCH 11/22] gst-va-intel: add conditional vaapi implementation tom.zanussi
2012-05-25 21:50 ` [PATCH 12/22] va-intel: new package tom.zanussi
2012-05-25 21:50 ` [PATCH 13/22] gst-va-intel: clarify DESCRIPTION tom.zanussi
2012-05-25 21:50 ` [PATCH 14/22] meta-intel: remove video acceleration from emgd XSERVER tom.zanussi
2012-05-25 21:50 ` [PATCH 15/22] meta-chiefriver: use gst-va-intel and va-intel tom.zanussi
2012-05-25 21:50 ` [PATCH 16/22] meta-sugarbay: " tom.zanussi
2012-05-25 21:50 ` [PATCH 17/22] meta-crownbay: use gst-va-intel and va-intel and gst-va-mixvideo tom.zanussi
2012-05-25 21:50 ` [PATCH 18/22] lms: new recipe tom.zanussi
2012-05-25 21:50 ` [PATCH 19/22] meta-chiefriver: use lms tom.zanussi
2012-05-25 21:50 ` [PATCH 20/22] meta-chiefriver: use the mei kernel feature tom.zanussi
2012-05-25 21:50 ` [PATCH 21/22] meta-sugarbay: use rc6 " tom.zanussi
2012-05-25 21:50 ` [PATCH 22/22] meta-intel: add chiefriver BSP to MAINTAINERS tom.zanussi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.