* [PATCH 1/7] Cedartrail: Add PVR graphics support.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-09 17:56 ` Tom Zanussi
2012-04-03 23:43 ` [PATCH 2/7] Cedartrail: Update SRCREVS and add EFI Support kishore.k.bodke
` (6 subsequent siblings)
7 siblings, 1 reply; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
Adding PVR Graphics support and separate out
xorg.conf for building both with pvr and no-pvr.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
conf/machine/include/ia32-base.inc | 2 +
.../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++
.../xorg-driver/cdv-pvr-driver_1.0.bb | 101 ++++++++++++++++++++
.../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 +++++
.../xserver-xf86-config/cedartrail/xorg.conf | 24 ++---
5 files changed, 176 insertions(+), 16 deletions(-)
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
create mode 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
diff --git a/conf/machine/include/ia32-base.inc b/conf/machine/include/ia32-base.inc
index 9b2ef5a..d1bd0d7 100644
--- a/conf/machine/include/ia32-base.inc
+++ b/conf/machine/include/ia32-base.inc
@@ -64,3 +64,5 @@ XSERVER_IA32_EMGD = "emgd-driver-bin \
"
XSERVER_IA32_VESA = "xf86-video-vesa"
+
+XSERVER_IA32_PVR = "cdv-pvr-driver"
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
new file mode 100644
index 0000000..0de6cbe
--- /dev/null
+++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
@@ -0,0 +1,39 @@
+SUMMARY = "Cedartrail PowerVR Graphics Driver version [Gold] 1.0 binaries"
+DESCRIPTION = "2D, 3D and Media user space driver for Cedartrail platform \
+The binaries are covered by the Intel Free Distribution Binary License. \
+The user must make himself/herself aware of the Licensing terms \
+before enabling build of the Cedartrail PowerVR Graphics Driver via \
+this recipe. Please see the README in meta-cedartrail for instructions \
+for enabling the build of the driver "
+
+MEEGO_MIRROR = "http://download.meego.com/live/MeeGo:/1.2.0:/CedarTrail:"
+
+LICENSE_FLAGS = "license_${PN}_${PV}"
+LICENSE = "Intel Free Distribution Binary License"
+LIC_FILES_CHKSUM = " \
+ file://${S}/usr/share/doc/psb-video-cdv-0.12/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \
+ file://${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
+
+
+INC_PR = "r0"
+
+DEPENDS = "rpm-native"
+
+FILES_${PN} += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/pvr/cdv ${libdir}/xorg/modules/drivers"
+FILES_${PN}-dev += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/xorg/modules/drivers"
+FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug ${libdir}/pvr/cdv/dri/.debug"
+
+FILES_${PN} += "${base_libdir}/firmware"
+FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d"
+
+FILES_${PN} += "${libdir}/lib*.so"
+FILES_${PN}-dev += "${libdir}/lib*.so"
+FILES_${PN}-dbg += "${libdir}/.debug"
+
+FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers"
+
+FILES_${PN} += "${datadir}/doc/psb-video-cdv-0.12/license.txt"
+FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt"
+
+
+
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
new file mode 100644
index 0000000..496da1e
--- /dev/null
+++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
@@ -0,0 +1,101 @@
+require cdv-pvr-driver.inc
+
+PR = "${INC_PR}.0"
+
+DEPENDS = "libva"
+
+SRC_URI = "${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/psb-video-cdv-0.12-1.1.i586.rpm;name=psbrpm \
+ ${MEEGO_MIRROR}/oss/standard/i586/libwsbm-cdv-1.1.0-3.1.i586.rpm;name=wsbmrpm \
+ ${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm;name=pvrrpm \
+ "
+
+SRC_URI[pvrrpm.md5sum] = "951fa9edcbc2a3ddb30450079869362e"
+SRC_URI[pvrrpm.sha256sum] = "537dd8a98ac2e3a101063abc62682c3be8c37ac29782a876eafce113ffa5b421"
+
+SRC_URI[psbrpm.md5sum] = "d4b6b383722264f3b781aeb240c88037"
+SRC_URI[psbrpm.sha256sum] = "e88f95fc73a79adf76ee33d3d9874cec23bb1afe8149d7dc5842d67e58da72f5"
+
+SRC_URI[wsbmrpm.md5sum] = "8d90436b151ddf72f620771f2552b597"
+SRC_URI[wsbmrpm.sha256sum] = "82f78f47c151f0e7d567574ee372504e5b395fb13796caa765f9c30754b5bf63"
+
+
+S = "${WORKDIR}/cdv-graphics-drivers_${PV}"
+
+do_configure () {
+
+# Extract license files from rpms
+rpm2cpio ${WORKDIR}/psb-video-cdv-0.12-1.1.i586.rpm |cpio -ivd ./usr/share/doc/psb-video-cdv-0.12/license.txt
+rpm2cpio ${WORKDIR}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm |cpio -ivd ./usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt
+
+}
+
+
+do_install() {
+
+
+ mv ${WORKDIR}/*.rpm ${S}
+
+ rpm2cpio ${S}/libwsbm-cdv-1.1.0-3.1.i586.rpm | cpio -id
+
+ install -d -m 0755 ${D}${libdir}/dri
+
+ install -m 0755 ${S}/usr/lib/* ${D}${libdir}/
+
+ rpm2cpio ${S}/psb-video-cdv-0.12-1.1.i586.rpm | cpio -id
+
+
+ install -d -m 0755 ${D}${base_libdir}/firmware
+
+ install -m 0755 ${S}/usr/lib/dri/* ${D}${libdir}/dri/
+
+ install -m 0755 ${S}/lib/firmware/* ${D}${base_libdir}/firmware
+
+ rpm2cpio ${S}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm | cpio -id
+
+ install -d -m 0755 ${D}${libdir}/pvr/cdv/dri
+
+ install -m 0755 ${S}/usr/lib/pvr/cdv/dri/* ${D}${libdir}/pvr/cdv/dri
+
+ install -d -m 0755 ${D}${sysconfdir}/X11/xorg.conf.d
+ install -m 0755 ${S}/etc/powervr.ini ${D}${sysconfdir}/
+ install -m 0755 ${S}/etc/X11/xorg.conf.d/* ${D}${sysconfdir}/X11/xorg.conf.d/
+ install -m 0755 ${S}/usr/lib/dri/pvr_dri.so ${D}${libdir}/dri/
+ install -m 0755 ${S}/usr/lib/*.so.* ${D}${libdir}/
+
+
+ install -m 0755 ${S}/usr/lib/libegl4ogl.so.1.7.788837 ${D}${libdir}/libegl4ogl.so
+ install -m 0755 ${S}/usr/lib/libEGL.so.1.7.788837 ${D}${libdir}/libEGL.so
+ install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837 ${D}${libdir}/libGLES_CM.so
+ install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837 ${D}${libdir}/libGLESv1_CM.so
+ install -m 0755 ${S}/usr/lib/libGLESv2.so.1.7.788837 ${D}${libdir}/libGLESv2.so
+ install -m 0755 ${S}/usr/lib/libglslcompiler.so.1.7.788837 ${D}${libdir}/libglslcompiler.so
+ install -m 0755 ${S}/usr/lib/libIMGegl.so.1.7.788837 ${D}${libdir}/libIMGegl.so
+ install -m 0755 ${S}/usr/lib/libOpenVG.so.1.7.788837 ${D}${libdir}/libOpenVG.so
+ install -m 0755 ${S}/usr/lib/libOpenVGU.so.1.7.788837 ${D}${libdir}/libOpenVGU.so
+ install -m 0755 ${S}/usr/lib/libpvr2d.so.1.7.788837 ${D}${libdir}/libpvr2d.so
+ install -m 0755 ${S}/usr/lib/libPVROGL_MESA.so.1.7.788837 ${D}${libdir}/libPVROGL_MESA.so
+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_BLITWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_BLITWSEGL.so
+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_DRIWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_DRIWSEGL.so
+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_FLIPWSEGL.so
+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_LINUXFBWSEGL.so
+ install -m 0755 ${S}/usr/lib/libPVRScopeServices.so.1.7.788837 ${D}${libdir}/libPVRScopeServices.so
+ install -m 0755 ${S}/usr/lib/libsrv_init.so.1.7.788837 ${D}${libdir}/libsrv_init.so
+ install -m 0755 ${S}/usr/lib/libsrv_um.so.1.7.788837 ${D}${libdir}/libsrv_um.so
+ install -m 0755 ${S}/usr/lib/libusc.so.1.7.788837 ${D}${libdir}/libusc.so
+
+ install -m 0755 ${S}/usr/lib/pvr/cdv/*.so.* ${D}${libdir}/pvr/cdv/
+
+ install -d -m 0755 ${D}${libdir}/pvr/cdv/xorg/modules/drivers
+ install -m 0755 ${S}/usr/lib/pvr/cdv/xorg/modules/drivers/* ${D}${libdir}/pvr/cdv/xorg/modules/drivers/
+
+ install -d -m 0755 ${D}${libdir}/xorg/modules/drivers
+
+ install -m 0755 ${S}/usr/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/
+
+ install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-0.12
+ install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05
+
+ install -m 0755 ${S}/usr/share/doc/psb-video-cdv-0.12/license.txt ${D}${datadir}/doc/psb-video-cdv-0.12/license.txt
+ install -m 0755 ${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt
+
+}
diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
new file mode 100644
index 0000000..da4fc3c
--- /dev/null
+++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
@@ -0,0 +1,26 @@
+Section "Device"
+ Identifier "Generic VESA"
+ Driver "vesa"
+EndSection
+
+Section "Monitor"
+ Identifier "Generic Monitor"
+ Option "DPMS"
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Device "Generic VESA"
+ 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-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
index da4fc3c..1d085a4 100644
--- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
+++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
@@ -1,23 +1,15 @@
Section "Device"
- Identifier "Generic VESA"
- Driver "vesa"
-EndSection
-
-Section "Monitor"
- Identifier "Generic Monitor"
- Option "DPMS"
-EndSection
-
-Section "Screen"
- Identifier "Default Screen"
- Device "Generic VESA"
- Monitor "Generic Monitor"
- DefaultDepth 24
+ Option "DRIDisableVSync" "False"
+ Identifier "Card0"
+ Driver "pvr"
+ BusID "PCI:0:2:0"
+ Option "SoftEXA" "Off"
+ Option "FlipChain" "On"
EndSection
Section "ServerLayout"
- Identifier "Default Layout"
- Screen "Default Screen"
+ Identifier "default screen"
+ Option "AIGLX" "on"
EndSection
Section "ServerFlags"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 2/7] Cedartrail: Update SRCREVS and add EFI Support.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
2012-04-03 23:43 ` [PATCH 1/7] Cedartrail: Add PVR graphics support kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-03 23:43 ` [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples kishore.k.bodke
` (5 subsequent siblings)
7 siblings, 0 replies; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
Add EFI support and update the SRCREVS.
Add pvr merge scc file to pull in the pvr patches.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
.../linux/linux-yocto-rt_3.0.bbappend | 8 ++++++++
.../recipes-kernel/linux/linux-yocto_3.0.bbappend | 16 +++++++++++++---
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
index 5a95d3e..eefaf6e 100644
--- a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
+++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
@@ -1,8 +1,16 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
COMPATIBLE_MACHINE_cedartrail = "cedartrail"
KMACHINE_cedartrail = "cedartrail"
KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc"
+KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc"
+KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc"
+KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc"
+
+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
+KMACHINE_cedartrail-nopvr = "cedartrail"
+KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"
# Update the following to use a different BSP branch or meta SRCREV
#KBRANCH_cedartrail = "yocto/standard/preempt-rt/base"
diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
index ca59e72..1d967fc 100644
--- a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -2,7 +2,17 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
COMPATIBLE_MACHINE_cedartrail = "cedartrail"
KMACHINE_cedartrail = "yocto/standard/cedartrail"
-KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc"
+KERNEL_FEATURES_append_cedartrail += "cfg/smp.scc"
+KERNEL_FEATURES_append_cedartrail += "cfg/drm-cdvpvr.scc"
+KERNEL_FEATURES_append_cedartrail += "bsp/cedartrail/cedartrail-pvr-merge.scc"
+KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc"
-SRCREV_machine_pn-linux-yocto_cedartrail ?= "f389d310965a56091f688b28ea8be6d9cbb7fbbe"
-SRCREV_meta_pn-linux-yocto_cedartrail ?= "04a52a32cbdf0972033b97b83eaa83eb275dfdc9"
+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
+KMACHINE_cedartrail-nopvr = "yocto/standard/cedartrail"
+KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"
+
+SRCREV_machine_pn-linux-yocto_cedartrail ?= "81fd8c307997aff37916828dc8b4ef72f5d35a94"
+SRCREV_meta_pn-linux-yocto_cedartrail ?= "a4ac64fe873f08ef718e2849b88914725dc99c1c"
+
+SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= "81fd8c307997aff37916828dc8b4ef72f5d35a94"
+SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= "a4ac64fe873f08ef718e2849b88914725dc99c1c"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
2012-04-03 23:43 ` [PATCH 1/7] Cedartrail: Add PVR graphics support kishore.k.bodke
2012-04-03 23:43 ` [PATCH 2/7] Cedartrail: Update SRCREVS and add EFI Support kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-09 17:57 ` Tom Zanussi
2012-04-03 23:43 ` [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files kishore.k.bodke
` (4 subsequent siblings)
7 siblings, 1 reply; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
This recipe adds sample Audio files and Video files
for testing with pvr Acceleration driver.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
.../ogg-CC-BY-3.0-music-samples_0.1.bb | 23 +++++++++++++++++++
.../video-samples/bigbuckbunny-ogg.bb | 24 ++++++++++++++++++++
2 files changed, 47 insertions(+), 0 deletions(-)
create mode 100644 meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
create mode 100644 meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
diff --git a/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb b/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
new file mode 100644
index 0000000..fd65cc7
--- /dev/null
+++ b/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
@@ -0,0 +1,23 @@
+SUMMARY = "ogg file format music samples"
+DESCRIPTION = "Installs ogg file format music samples in /home/Music dir"
+
+LICENSE = "CC-BY-3.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
+
+DEPENDS += " "
+
+PR = "r0"
+
+SRC_URI = "http://downloads.yoctoproject.org/releases/media/music/ogg-CC-BY-3.0-music-samples-${PV}.tar.bz2 \
+ "
+
+SRC_URI[md5sum] = "dc3dd4adca69996edaffe8828e1ee165"
+SRC_URI[sha256sum] = "86381f8474d5ac2c80f54c951a8c22f67d352daa977341d3dfb4161e39ca3975"
+
+do_install() {
+
+install -d ${D}${base_prefix}/home/music
+install -m 0644 ${WORKDIR}/ogg-CC-BY-3.0-music-samples-${PV}/*/*.ogg ${D}${base_prefix}/home/music
+}
+
+FILES_${PN} += "${base_prefix}/home/music/*.ogg"
diff --git a/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb b/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
new file mode 100644
index 0000000..036721c
--- /dev/null
+++ b/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Big Buck Bunny video OGG sample "
+DESCRIPTION = "Installs Big Buck Bunny Video OGG file samples in /home/video dir "
+
+LICENSE = "CC-BY-3.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
+
+DEPENDS += " "
+
+PR = "r0"
+
+SRC_URI = "http://blender-mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg \
+ "
+
+
+SRC_URI[md5sum] = "576424c653da53e31b86c027e55758ae"
+SRC_URI[sha256sum] = "785b09a585be55f81326a3fcef2cdeeb7ebbc33932b6305fd84209928df67f28"
+
+do_install() {
+
+install -d ${D}${base_prefix}/home/Videos
+install -m 0644 ${WORKDIR}/*.ogg ${D}${base_prefix}/home/Videos
+}
+
+FILES_${PN} += "${base_prefix}/home/Videos/*.ogg"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
` (2 preceding siblings ...)
2012-04-03 23:43 ` [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-09 18:00 ` Tom Zanussi
2012-04-03 23:43 ` [PATCH 5/7] Cedartrail: Separte out machine.conf files kishore.k.bodke
` (3 subsequent siblings)
7 siblings, 1 reply; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
These bbappend files pulls in the Audio, Video and Web Kit
into the Image with IMAGE_INSTALL.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
.../images/core-image-sato-dev.bbappend | 2 ++
.../images/core-image-sato-sdk.bbappend | 2 ++
.../recipes-sato/images/core-image-sato.bbappend | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
new file mode 100644
index 0000000..33283f4
--- /dev/null
+++ b/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
@@ -0,0 +1,2 @@
+IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
+
diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
new file mode 100644
index 0000000..33283f4
--- /dev/null
+++ b/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
@@ -0,0 +1,2 @@
+IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
+
diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
new file mode 100644
index 0000000..4c1ccac
--- /dev/null
+++ b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
@@ -0,0 +1 @@
+IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver
@ 2012-04-03 23:43 kishore.k.bodke
2012-04-03 23:43 ` [PATCH 1/7] Cedartrail: Add PVR graphics support kishore.k.bodke
` (7 more replies)
0 siblings, 8 replies; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
These patches are for adding the PVR graphics driver, EFI Support,
and to add Cedartrail Audio and Video files .
These also updates the SRCREVS for build with pvr and no-pvr versions.
Please pull into meta-intel/master.
Thanks
Kishore.
The following changes since commit f89405e115d73426c8a6450b6e795b5885d6bdf3:
MAINTAINERS: Add FRI2 maintainer (2012-03-23 09:46:15 -0700)
are available in the git repository at:
git://git.pokylinux.org/meta-intel-contrib kishore/cedartrail-pvr-updates
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/cedartrail-pvr-updates
Kishore Bodke (7):
Cedartrail: Add PVR graphics support.
Cedartrail: Update SRCREVS and add EFI Support.
Cedartrail: Add new recipes for audio and video samples.
Cedartrail: Add bbappend files to install Audio and Video files.
Cedartrail: Separte out machine.conf files.
Cedartrail: Add a new recipe for Audio.
Cedartrail: Update the README.
conf/machine/include/ia32-base.inc | 2 +
meta-cedartrail/README | 41 ++++++++-
meta-cedartrail/conf/machine/cedartrail-nopvr.conf | 21 ++++
meta-cedartrail/conf/machine/cedartrail.conf | 13 ++-
.../cedartrail-audio/cedartrail-audio.bb | 30 ++++++
.../cedartrail-audio/cedartrail-audio | 42 ++++++++
.../formfactor/cedartrail-nopvr/machconfig | 3 +
.../tasks/task-core-tools-profile.bbappend | 2 +-
.../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++
.../xorg-driver/cdv-pvr-driver_1.0.bb | 101 ++++++++++++++++++++
.../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 +++++
.../xserver-xf86-config/cedartrail/xorg.conf | 24 ++---
.../linux/linux-yocto-rt_3.0.bbappend | 8 ++
.../recipes-kernel/linux/linux-yocto_3.0.bbappend | 16 +++-
.../ogg-CC-BY-3.0-music-samples_0.1.bb | 23 +++++
.../video-samples/bigbuckbunny-ogg.bb | 24 +++++
.../images/core-image-sato-dev.bbappend | 2 +
.../images/core-image-sato-sdk.bbappend | 2 +
.../recipes-sato/images/core-image-sato.bbappend | 1 +
19 files changed, 396 insertions(+), 24 deletions(-)
create mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
create mode 100644 meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
create mode 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
create mode 100644 meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
create mode 100644 meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
--
1.7.5.4
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH 5/7] Cedartrail: Separte out machine.conf files.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
` (3 preceding siblings ...)
2012-04-03 23:43 ` [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-03 23:43 ` [PATCH 6/7] Cedartrail: Add a new recipe for Audio kishore.k.bodke
` (2 subsequent siblings)
7 siblings, 0 replies; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
Have two machine.conf files.
One for pvr and the other for no-pvr.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
meta-cedartrail/conf/machine/cedartrail-nopvr.conf | 21 ++++++++++++++++++++
meta-cedartrail/conf/machine/cedartrail.conf | 13 ++++++++++-
.../formfactor/cedartrail-nopvr/machconfig | 3 ++
.../tasks/task-core-tools-profile.bbappend | 2 +-
4 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
create mode 100644 meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
diff --git a/meta-cedartrail/conf/machine/cedartrail-nopvr.conf b/meta-cedartrail/conf/machine/cedartrail-nopvr.conf
new file mode 100644
index 0000000..5041a9a
--- /dev/null
+++ b/meta-cedartrail/conf/machine/cedartrail-nopvr.conf
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: Cedartrail
+
+#@DESCRIPTION: Machine configuration for Cedartrail systems
+# i.e. Cedarview processor + Tiger Point Chipset
+
+require conf/machine/include/tune-atom.inc
+require conf/machine/include/ia32-base.inc
+
+XSERVER ?= "${XSERVER_IA32_BASE} \
+ ${XSERVER_IA32_EXT} \
+ ${XSERVER_IA32_VESA} \
+ "
+
+APPEND += "video=vesafb vga=0x318"
+
+MACHINE_EXTRA_RRECOMMENDS = "cedartrail-audio"
+
+SYSLINUX_OPTS = "serial 0 115200"
+SERIAL_CONSOLE = "115200 ttyS0"
+APPEND += "console=ttyS0,115200 console=tty0"
diff --git a/meta-cedartrail/conf/machine/cedartrail.conf b/meta-cedartrail/conf/machine/cedartrail.conf
index 3bd5cf8..d0850f8 100644
--- a/meta-cedartrail/conf/machine/cedartrail.conf
+++ b/meta-cedartrail/conf/machine/cedartrail.conf
@@ -7,9 +7,18 @@
require conf/machine/include/tune-atom.inc
require conf/machine/include/ia32-base.inc
+MACHINE_FEATURES += "pcbios efi"
+
XSERVER ?= "${XSERVER_IA32_BASE} \
${XSERVER_IA32_EXT} \
- ${XSERVER_IA32_VESA} \
+ ${XSERVER_IA32_PVR} \
"
-APPEND += "video=vesafb vga=0x318"
+PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
+PREFERRED_VERSION_mesa-dri ?= "7.11"
+
+MACHINE_EXTRA_RRECOMMENDS = "cedartrail-audio"
+
+SYSLINUX_OPTS = "serial 0 115200"
+SERIAL_CONSOLE = "115200 ttyS0"
+APPEND += "console=ttyS0,115200 console=tty0"
diff --git a/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig b/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
new file mode 100644
index 0000000..ffce012
--- /dev/null
+++ b/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
@@ -0,0 +1,3 @@
+# Assume a USB mouse and keyboard are connected
+HAVE_TOUCHSCREEN=0
+HAVE_KEYBOARD=1
diff --git a/meta-cedartrail/recipes-core/tasks/task-core-tools-profile.bbappend b/meta-cedartrail/recipes-core/tasks/task-core-tools-profile.bbappend
index e972712..d49a3f5 100644
--- a/meta-cedartrail/recipes-core/tasks/task-core-tools-profile.bbappend
+++ b/meta-cedartrail/recipes-core/tasks/task-core-tools-profile.bbappend
@@ -1,2 +1,2 @@
RRECOMMENDS_task-core-tools-profile_append_cedartrail = " systemtap"
-
+RRECOMMENDS_task-core-tools-profile_append_cedartrail-nopvr = " systemtap"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 6/7] Cedartrail: Add a new recipe for Audio.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
` (4 preceding siblings ...)
2012-04-03 23:43 ` [PATCH 5/7] Cedartrail: Separte out machine.conf files kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-09 18:04 ` Tom Zanussi
2012-04-03 23:43 ` [PATCH 7/7] Cedartrail: Update the README kishore.k.bodke
2012-04-09 17:46 ` [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver Tom Zanussi
7 siblings, 1 reply; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
Adding a new recipe for including a Audio
feature for the cedartrail bsp.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
.../cedartrail-audio/cedartrail-audio.bb | 30 ++++++++++++++
.../cedartrail-audio/cedartrail-audio | 42 ++++++++++++++++++++
2 files changed, 72 insertions(+), 0 deletions(-)
create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
diff --git a/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
new file mode 100644
index 0000000..9a43f02
--- /dev/null
+++ b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Provide a basic init script to enable audio"
+DESCRIPTION = "Set the volume and unmute the Front mixer setting during boot."
+SECTION = "base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+PR = "r0"
+
+inherit update-rc.d
+
+RDEPENDS = "alsa-utils-amixer"
+
+SRC_URI = "file://cedartrail-audio"
+
+INITSCRIPT_NAME = "cedartrail-audio"
+INITSCRIPT_PARAMS = "defaults 90"
+
+do_install() {
+ install -d ${D}${sysconfdir} \
+ ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/cedartrail-audio ${D}${sysconfdir}/init.d
+ cat ${WORKDIR}/${INITSCRIPT_NAME} | \
+ sed -e 's,/etc,${sysconfdir},g' \
+ -e 's,/usr/sbin,${sbindir},g' \
+ -e 's,/var,${localstatedir},g' \
+ -e 's,/usr/bin,${bindir},g' \
+ -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+ chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+}
+
diff --git a/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
new file mode 100644
index 0000000..efd08d3
--- /dev/null
+++ b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
@@ -0,0 +1,42 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: cedartrail mixer setup
+# Required-Start: $syslog
+# Required-Stop: $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Initialize the cedartrail audio mixer
+# Description: Unmute FRONT and set volume
+### END INIT INFO
+
+# Author: Darren Hart <dvhart@linux.intel.com>
+# Based on /etc/init.d/skeleton
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="Audio mixer settings"
+NAME=cedartrail-audio
+AMIXER=`which amixer`
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if amixer is not installed
+[ -x "$AMIXER" ] || exit 0
+
+do_start() {
+ # Enable the "Front" simple controls (black phones jack)
+ $AMIXER sset Front 90 on > /dev/null
+}
+
+case "$1" in
+start)
+ echo "$NAME: setting default mixer settings."
+ do_start
+ ;;
+stop)
+ ;;
+*)
+ echo "Usage: $SCRIPTNAME {start|stop}" >&2
+ exit 3
+ ;;
+esac
+
+exit 0
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 7/7] Cedartrail: Update the README.
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
` (5 preceding siblings ...)
2012-04-03 23:43 ` [PATCH 6/7] Cedartrail: Add a new recipe for Audio kishore.k.bodke
@ 2012-04-03 23:43 ` kishore.k.bodke
2012-04-09 18:06 ` Tom Zanussi
2012-04-09 17:46 ` [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver Tom Zanussi
7 siblings, 1 reply; 22+ messages in thread
From: kishore.k.bodke @ 2012-04-03 23:43 UTC (permalink / raw)
To: tom.zanussi, yocto
From: Kishore Bodke <kishore.k.bodke@intel.com>
Update the README file with instructions to build
with pvr graphics driver.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
---
meta-cedartrail/README | 41 +++++++++++++++++++++++++++++++++++++++--
1 files changed, 39 insertions(+), 2 deletions(-)
diff --git a/meta-cedartrail/README b/meta-cedartrail/README
index 295e9ff..f482cca 100755
--- a/meta-cedartrail/README
+++ b/meta-cedartrail/README
@@ -52,10 +52,23 @@ common metadata shared between BSPs) e.g.:
yocto/meta-intel \
yocto/meta-intel/meta-cedartrail \
-To enable the cedartrail layer, add the cedartrail MACHINE to local.conf:
+To enable the cedartrail layer that supports Power VR graphics,
+add the cedartrail MACHINE to local.conf:
MACHINE ?= "cedartrail"
+
+Power VR Graphics user-space driver binaries are covered by a
+"Intel Free Distribution Binary License". The build of this driver
+can be enabled by adding the following line to the local.conf file:
+
+LICENSE_FLAGS_WHITELIST += "license_cdv-pvr-driver_1.0"
+
+To enable the layer that does not support Power VR graphics
+add the following to the local.conf file:
+
+ MACHINE ?= "cedartrail-nopvr"
+
You should then be able to build a cedartrail image as such:
$ source oe-init-build-env
@@ -85,7 +98,7 @@ 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-cedartrail-20120105232035.hddimg of=/dev/sdf
+# dd if=core-image-sato-cedartrail-20120403210525.hddimg of=/dev/sdf
# sync
# eject /dev/sdf
@@ -109,3 +122,27 @@ 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
+
+Miscellaneous Notes
+====================
+
+Video and Music Samples
+-----------------------
+This BSP includes recipes to download Ogg format video and
+music files that can be played-back with the Video and music players
+included in the sato images. The sample files are installed in
+/home/Music and /home/Videos directories.
+
+
+Adding Glxgears to image
+-------------------------
+Glxgears can be added to the generated image by adding "debug-tweaks"
+option to the extra image features variable in the default local.conf
+before building the BSP.
+
+e.g. to add Glxgears, locate the following line in local.conf
+EXTRA_IMAGE_FEATURES = "debug-tweaks"
+
+and change above line to..
+
+EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
` (6 preceding siblings ...)
2012-04-03 23:43 ` [PATCH 7/7] Cedartrail: Update the README kishore.k.bodke
@ 2012-04-09 17:46 ` Tom Zanussi
2012-04-09 18:17 ` Bodke, Kishore K
7 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 17:46 UTC (permalink / raw)
To: kishore.k.bodke; +Cc: yocto
On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke@intel.com>
>
> These patches are for adding the PVR graphics driver, EFI Support,
> and to add Cedartrail Audio and Video files .
>
> These also updates the SRCREVS for build with pvr and no-pvr versions.
>
> Please pull into meta-intel/master.
>
Hi Kishore,
Sorry this has been delayed, just getting back to things now after being
out last week for conferences.
In general, thanks for breaking things up more this time, but there are
still a couple things I think should be done, which I'll comment on in
those patches.
Also, I don't think it makes sense to pull in the audio recipe since
that has changed between edison and master - I think the way to do the
same thing you're doing there is using asound.state (see
meta-intel/meta-n450/recipes-bsp/alsa-state/alsa-state/n450/asound.state
as an example).
Also, I'm wondering if it makes sense to have the image bbappends rather
than just differently-named image recipes - otherwise, you can't build a
regular sato image for example without also including all the test
files.
Finally, as a new BSP in master, I think there should also be support
for the 3.2 kernel, or is there some reason you couldn't do that?
Thanks,
Tom
> Thanks
> Kishore.
>
> The following changes since commit f89405e115d73426c8a6450b6e795b5885d6bdf3:
>
> MAINTAINERS: Add FRI2 maintainer (2012-03-23 09:46:15 -0700)
>
> are available in the git repository at:
> git://git.pokylinux.org/meta-intel-contrib kishore/cedartrail-pvr-updates
> http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/cedartrail-pvr-updates
>
> Kishore Bodke (7):
> Cedartrail: Add PVR graphics support.
> Cedartrail: Update SRCREVS and add EFI Support.
> Cedartrail: Add new recipes for audio and video samples.
> Cedartrail: Add bbappend files to install Audio and Video files.
> Cedartrail: Separte out machine.conf files.
> Cedartrail: Add a new recipe for Audio.
> Cedartrail: Update the README.
>
> conf/machine/include/ia32-base.inc | 2 +
> meta-cedartrail/README | 41 ++++++++-
> meta-cedartrail/conf/machine/cedartrail-nopvr.conf | 21 ++++
> meta-cedartrail/conf/machine/cedartrail.conf | 13 ++-
> .../cedartrail-audio/cedartrail-audio.bb | 30 ++++++
> .../cedartrail-audio/cedartrail-audio | 42 ++++++++
> .../formfactor/cedartrail-nopvr/machconfig | 3 +
> .../tasks/task-core-tools-profile.bbappend | 2 +-
> .../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++
> .../xorg-driver/cdv-pvr-driver_1.0.bb | 101 ++++++++++++++++++++
> .../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 +++++
> .../xserver-xf86-config/cedartrail/xorg.conf | 24 ++---
> .../linux/linux-yocto-rt_3.0.bbappend | 8 ++
> .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 16 +++-
> .../ogg-CC-BY-3.0-music-samples_0.1.bb | 23 +++++
> .../video-samples/bigbuckbunny-ogg.bb | 24 +++++
> .../images/core-image-sato-dev.bbappend | 2 +
> .../images/core-image-sato-sdk.bbappend | 2 +
> .../recipes-sato/images/core-image-sato.bbappend | 1 +
> 19 files changed, 396 insertions(+), 24 deletions(-)
> create mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
> create mode 100644 meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
> create mode 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
> create mode 100644 meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
> create mode 100644 meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 1/7] Cedartrail: Add PVR graphics support.
2012-04-03 23:43 ` [PATCH 1/7] Cedartrail: Add PVR graphics support kishore.k.bodke
@ 2012-04-09 17:56 ` Tom Zanussi
2012-04-09 18:22 ` Bodke, Kishore K
0 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 17:56 UTC (permalink / raw)
To: kishore.k.bodke; +Cc: yocto
Hi Kishore,
Comments below...
On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke@intel.com>
>
> Adding PVR Graphics support and separate out
> xorg.conf for building both with pvr and no-pvr.
>
> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
> ---
> conf/machine/include/ia32-base.inc | 2 +
> .../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++
> .../xorg-driver/cdv-pvr-driver_1.0.bb | 101 ++++++++++++++++++++
> .../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 +++++
> .../xserver-xf86-config/cedartrail/xorg.conf | 24 ++---
> 5 files changed, 176 insertions(+), 16 deletions(-)
> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
> create mode 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
>
> diff --git a/conf/machine/include/ia32-base.inc b/conf/machine/include/ia32-base.inc
> index 9b2ef5a..d1bd0d7 100644
> --- a/conf/machine/include/ia32-base.inc
> +++ b/conf/machine/include/ia32-base.inc
> @@ -64,3 +64,5 @@ XSERVER_IA32_EMGD = "emgd-driver-bin \
> "
>
> XSERVER_IA32_VESA = "xf86-video-vesa"
> +
> +XSERVER_IA32_PVR = "cdv-pvr-driver"
Since this is modifying a common file, can you please add this as a
separate commit?
Also, since you're adding this to common code, it won't work for any
other BSP since the recipe is in meta-cedartrail only. Is this meant to
be usable by other BSPs, maybe in the near future? If so, you should
move this to common/ to match the above definition, otherwise, just keep
it all local to your BSP.
Also, either way, since the cdv-pvr-driver is a new recipe, please keep
that as a separate commit as well.
> diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
> new file mode 100644
> index 0000000..0de6cbe
> --- /dev/null
> +++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
> @@ -0,0 +1,39 @@
> +SUMMARY = "Cedartrail PowerVR Graphics Driver version [Gold] 1.0 binaries"
> +DESCRIPTION = "2D, 3D and Media user space driver for Cedartrail platform \
> +The binaries are covered by the Intel Free Distribution Binary License. \
> +The user must make himself/herself aware of the Licensing terms \
> +before enabling build of the Cedartrail PowerVR Graphics Driver via \
> +this recipe. Please see the README in meta-cedartrail for instructions \
> +for enabling the build of the driver "
> +
> +MEEGO_MIRROR = "http://download.meego.com/live/MeeGo:/1.2.0:/CedarTrail:"
> +
> +LICENSE_FLAGS = "license_${PN}_${PV}"
> +LICENSE = "Intel Free Distribution Binary License"
> +LIC_FILES_CHKSUM = " \
> + file://${S}/usr/share/doc/psb-video-cdv-0.12/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \
> + file://${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
> +
> +
> +INC_PR = "r0"
> +
> +DEPENDS = "rpm-native"
> +
> +FILES_${PN} += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/pvr/cdv ${libdir}/xorg/modules/drivers"
> +FILES_${PN}-dev += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/xorg/modules/drivers"
> +FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug ${libdir}/pvr/cdv/dri/.debug"
> +
> +FILES_${PN} += "${base_libdir}/firmware"
> +FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d"
> +
> +FILES_${PN} += "${libdir}/lib*.so"
> +FILES_${PN}-dev += "${libdir}/lib*.so"
> +FILES_${PN}-dbg += "${libdir}/.debug"
> +
> +FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers"
> +
> +FILES_${PN} += "${datadir}/doc/psb-video-cdv-0.12/license.txt"
> +FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt"
> +
> +
> +
> diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
> new file mode 100644
> index 0000000..496da1e
> --- /dev/null
> +++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
> @@ -0,0 +1,101 @@
> +require cdv-pvr-driver.inc
> +
> +PR = "${INC_PR}.0"
> +
> +DEPENDS = "libva"
> +
> +SRC_URI = "${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/psb-video-cdv-0.12-1.1.i586.rpm;name=psbrpm \
> + ${MEEGO_MIRROR}/oss/standard/i586/libwsbm-cdv-1.1.0-3.1.i586.rpm;name=wsbmrpm \
> + ${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm;name=pvrrpm \
> + "
> +
> +SRC_URI[pvrrpm.md5sum] = "951fa9edcbc2a3ddb30450079869362e"
> +SRC_URI[pvrrpm.sha256sum] = "537dd8a98ac2e3a101063abc62682c3be8c37ac29782a876eafce113ffa5b421"
> +
> +SRC_URI[psbrpm.md5sum] = "d4b6b383722264f3b781aeb240c88037"
> +SRC_URI[psbrpm.sha256sum] = "e88f95fc73a79adf76ee33d3d9874cec23bb1afe8149d7dc5842d67e58da72f5"
> +
> +SRC_URI[wsbmrpm.md5sum] = "8d90436b151ddf72f620771f2552b597"
> +SRC_URI[wsbmrpm.sha256sum] = "82f78f47c151f0e7d567574ee372504e5b395fb13796caa765f9c30754b5bf63"
> +
> +
> +S = "${WORKDIR}/cdv-graphics-drivers_${PV}"
> +
> +do_configure () {
> +
> +# Extract license files from rpms
> +rpm2cpio ${WORKDIR}/psb-video-cdv-0.12-1.1.i586.rpm |cpio -ivd ./usr/share/doc/psb-video-cdv-0.12/license.txt
> +rpm2cpio ${WORKDIR}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm |cpio -ivd ./usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt
> +
> +}
> +
> +
> +do_install() {
> +
> +
> + mv ${WORKDIR}/*.rpm ${S}
> +
> + rpm2cpio ${S}/libwsbm-cdv-1.1.0-3.1.i586.rpm | cpio -id
> +
> + install -d -m 0755 ${D}${libdir}/dri
> +
> + install -m 0755 ${S}/usr/lib/* ${D}${libdir}/
> +
> + rpm2cpio ${S}/psb-video-cdv-0.12-1.1.i586.rpm | cpio -id
> +
> +
> + install -d -m 0755 ${D}${base_libdir}/firmware
> +
> + install -m 0755 ${S}/usr/lib/dri/* ${D}${libdir}/dri/
> +
> + install -m 0755 ${S}/lib/firmware/* ${D}${base_libdir}/firmware
> +
> + rpm2cpio ${S}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm | cpio -id
> +
> + install -d -m 0755 ${D}${libdir}/pvr/cdv/dri
> +
> + install -m 0755 ${S}/usr/lib/pvr/cdv/dri/* ${D}${libdir}/pvr/cdv/dri
> +
> + install -d -m 0755 ${D}${sysconfdir}/X11/xorg.conf.d
> + install -m 0755 ${S}/etc/powervr.ini ${D}${sysconfdir}/
> + install -m 0755 ${S}/etc/X11/xorg.conf.d/* ${D}${sysconfdir}/X11/xorg.conf.d/
> + install -m 0755 ${S}/usr/lib/dri/pvr_dri.so ${D}${libdir}/dri/
> + install -m 0755 ${S}/usr/lib/*.so.* ${D}${libdir}/
> +
> +
> + install -m 0755 ${S}/usr/lib/libegl4ogl.so.1.7.788837 ${D}${libdir}/libegl4ogl.so
> + install -m 0755 ${S}/usr/lib/libEGL.so.1.7.788837 ${D}${libdir}/libEGL.so
> + install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837 ${D}${libdir}/libGLES_CM.so
> + install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837 ${D}${libdir}/libGLESv1_CM.so
> + install -m 0755 ${S}/usr/lib/libGLESv2.so.1.7.788837 ${D}${libdir}/libGLESv2.so
> + install -m 0755 ${S}/usr/lib/libglslcompiler.so.1.7.788837 ${D}${libdir}/libglslcompiler.so
> + install -m 0755 ${S}/usr/lib/libIMGegl.so.1.7.788837 ${D}${libdir}/libIMGegl.so
> + install -m 0755 ${S}/usr/lib/libOpenVG.so.1.7.788837 ${D}${libdir}/libOpenVG.so
> + install -m 0755 ${S}/usr/lib/libOpenVGU.so.1.7.788837 ${D}${libdir}/libOpenVGU.so
> + install -m 0755 ${S}/usr/lib/libpvr2d.so.1.7.788837 ${D}${libdir}/libpvr2d.so
> + install -m 0755 ${S}/usr/lib/libPVROGL_MESA.so.1.7.788837 ${D}${libdir}/libPVROGL_MESA.so
> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_BLITWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_BLITWSEGL.so
> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_DRIWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_DRIWSEGL.so
> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_FLIPWSEGL.so
> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.7.788837 ${D}${libdir}/libpvrPVR2D_LINUXFBWSEGL.so
> + install -m 0755 ${S}/usr/lib/libPVRScopeServices.so.1.7.788837 ${D}${libdir}/libPVRScopeServices.so
> + install -m 0755 ${S}/usr/lib/libsrv_init.so.1.7.788837 ${D}${libdir}/libsrv_init.so
> + install -m 0755 ${S}/usr/lib/libsrv_um.so.1.7.788837 ${D}${libdir}/libsrv_um.so
> + install -m 0755 ${S}/usr/lib/libusc.so.1.7.788837 ${D}${libdir}/libusc.so
> +
> + install -m 0755 ${S}/usr/lib/pvr/cdv/*.so.* ${D}${libdir}/pvr/cdv/
> +
> + install -d -m 0755 ${D}${libdir}/pvr/cdv/xorg/modules/drivers
> + install -m 0755 ${S}/usr/lib/pvr/cdv/xorg/modules/drivers/* ${D}${libdir}/pvr/cdv/xorg/modules/drivers/
> +
> + install -d -m 0755 ${D}${libdir}/xorg/modules/drivers
> +
> + install -m 0755 ${S}/usr/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/
> +
> + install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-0.12
> + install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05
> +
> + install -m 0755 ${S}/usr/share/doc/psb-video-cdv-0.12/license.txt ${D}${datadir}/doc/psb-video-cdv-0.12/license.txt
> + install -m 0755 ${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt
> +
> +}
> diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
> new file mode 100644
> index 0000000..da4fc3c
> --- /dev/null
> +++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
> @@ -0,0 +1,26 @@
> +Section "Device"
> + Identifier "Generic VESA"
> + Driver "vesa"
> +EndSection
> +
> +Section "Monitor"
> + Identifier "Generic Monitor"
> + Option "DPMS"
> +EndSection
> +
> +Section "Screen"
> + Identifier "Default Screen"
> + Device "Generic VESA"
> + 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-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
> index da4fc3c..1d085a4 100644
> --- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
> +++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
> @@ -1,23 +1,15 @@
> Section "Device"
> - Identifier "Generic VESA"
> - Driver "vesa"
> -EndSection
> -
> -Section "Monitor"
> - Identifier "Generic Monitor"
> - Option "DPMS"
> -EndSection
> -
> -Section "Screen"
> - Identifier "Default Screen"
> - Device "Generic VESA"
> - Monitor "Generic Monitor"
> - DefaultDepth 24
> + Option "DRIDisableVSync" "False"
> + Identifier "Card0"
> + Driver "pvr"
> + BusID "PCI:0:2:0"
> + Option "SoftEXA" "Off"
> + Option "FlipChain" "On"
> EndSection
>
> Section "ServerLayout"
> - Identifier "Default Layout"
> - Screen "Default Screen"
> + Identifier "default screen"
> + Option "AIGLX" "on"
> EndSection
>
> Section "ServerFlags"
Also, please keep the xorg.conf changes separate as well...
Thanks,
Tom
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples.
2012-04-03 23:43 ` [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples kishore.k.bodke
@ 2012-04-09 17:57 ` Tom Zanussi
2012-04-09 18:25 ` Bodke, Kishore K
0 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 17:57 UTC (permalink / raw)
To: kishore.k.bodke; +Cc: yocto
On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke@intel.com>
>
> This recipe adds sample Audio files and Video files
> for testing with pvr Acceleration driver.
>
> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
> ---
> .../ogg-CC-BY-3.0-music-samples_0.1.bb | 23 +++++++++++++++++++
> .../video-samples/bigbuckbunny-ogg.bb | 24 ++++++++++++++++++++
> 2 files changed, 47 insertions(+), 0 deletions(-)
> create mode 100644 meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
> create mode 100644 meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
>
> diff --git a/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb b/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
> new file mode 100644
> index 0000000..fd65cc7
> --- /dev/null
> +++ b/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "ogg file format music samples"
> +DESCRIPTION = "Installs ogg file format music samples in /home/Music dir"
> +
> +LICENSE = "CC-BY-3.0"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
> +
> +DEPENDS += " "
> +
Does this empty DEPENDS do anything? Same thing in a couple other
places...
Tom
> +PR = "r0"
> +
> +SRC_URI = "http://downloads.yoctoproject.org/releases/media/music/ogg-CC-BY-3.0-music-samples-${PV}.tar.bz2 \
> + "
> +
> +SRC_URI[md5sum] = "dc3dd4adca69996edaffe8828e1ee165"
> +SRC_URI[sha256sum] = "86381f8474d5ac2c80f54c951a8c22f67d352daa977341d3dfb4161e39ca3975"
> +
> +do_install() {
> +
> +install -d ${D}${base_prefix}/home/music
> +install -m 0644 ${WORKDIR}/ogg-CC-BY-3.0-music-samples-${PV}/*/*.ogg ${D}${base_prefix}/home/music
> +}
> +
> +FILES_${PN} += "${base_prefix}/home/music/*.ogg"
> diff --git a/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb b/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
> new file mode 100644
> index 0000000..036721c
> --- /dev/null
> +++ b/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb
> @@ -0,0 +1,24 @@
> +SUMMARY = "Big Buck Bunny video OGG sample "
> +DESCRIPTION = "Installs Big Buck Bunny Video OGG file samples in /home/video dir "
> +
> +LICENSE = "CC-BY-3.0"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
> +
> +DEPENDS += " "
> +
> +PR = "r0"
> +
> +SRC_URI = "http://blender-mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg \
> + "
> +
> +
> +SRC_URI[md5sum] = "576424c653da53e31b86c027e55758ae"
> +SRC_URI[sha256sum] = "785b09a585be55f81326a3fcef2cdeeb7ebbc33932b6305fd84209928df67f28"
> +
> +do_install() {
> +
> +install -d ${D}${base_prefix}/home/Videos
> +install -m 0644 ${WORKDIR}/*.ogg ${D}${base_prefix}/home/Videos
> +}
> +
> +FILES_${PN} += "${base_prefix}/home/Videos/*.ogg"
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
2012-04-03 23:43 ` [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files kishore.k.bodke
@ 2012-04-09 18:00 ` Tom Zanussi
2012-04-09 18:29 ` Bodke, Kishore K
0 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 18:00 UTC (permalink / raw)
To: kishore.k.bodke; +Cc: yocto
On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke@intel.com>
>
> These bbappend files pulls in the Audio, Video and Web Kit
> into the Image with IMAGE_INSTALL.
>
> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
> ---
> .../images/core-image-sato-dev.bbappend | 2 ++
> .../images/core-image-sato-sdk.bbappend | 2 ++
> .../recipes-sato/images/core-image-sato.bbappend | 1 +
> 3 files changed, 5 insertions(+), 0 deletions(-)
> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
>
> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
> new file mode 100644
> index 0000000..33283f4
> --- /dev/null
> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
> @@ -0,0 +1,2 @@
> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
> +
> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
> new file mode 100644
> index 0000000..33283f4
> --- /dev/null
> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
> @@ -0,0 +1,2 @@
> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
> +
> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
> new file mode 100644
> index 0000000..4c1ccac
> --- /dev/null
> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
> @@ -0,0 +1 @@
> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
These will always add the media files etc whenever anyone builds any of
these. Is that really what you want?
Maybe creating separate test image recipes that do this would be more
along the lines of what you wanted...
Tom
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 6/7] Cedartrail: Add a new recipe for Audio.
2012-04-03 23:43 ` [PATCH 6/7] Cedartrail: Add a new recipe for Audio kishore.k.bodke
@ 2012-04-09 18:04 ` Tom Zanussi
2012-04-09 18:31 ` Bodke, Kishore K
0 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 18:04 UTC (permalink / raw)
To: kishore.k.bodke; +Cc: yocto
On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke@intel.com>
>
> Adding a new recipe for including a Audio
> feature for the cedartrail bsp.
>
As mentioned, I think the new way to do this is using asound.state (see
meta-intel/meta-n450/recipes-bsp/alsa-state/alsa-state/n450/asound.state
as an example).
Tom
> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
> ---
> .../cedartrail-audio/cedartrail-audio.bb | 30 ++++++++++++++
> .../cedartrail-audio/cedartrail-audio | 42 ++++++++++++++++++++
> 2 files changed, 72 insertions(+), 0 deletions(-)
> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
>
> diff --git a/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
> new file mode 100644
> index 0000000..9a43f02
> --- /dev/null
> +++ b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
> @@ -0,0 +1,30 @@
> +SUMMARY = "Provide a basic init script to enable audio"
> +DESCRIPTION = "Set the volume and unmute the Front mixer setting during boot."
> +SECTION = "base"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
> +
> +PR = "r0"
> +
> +inherit update-rc.d
> +
> +RDEPENDS = "alsa-utils-amixer"
> +
> +SRC_URI = "file://cedartrail-audio"
> +
> +INITSCRIPT_NAME = "cedartrail-audio"
> +INITSCRIPT_PARAMS = "defaults 90"
> +
> +do_install() {
> + install -d ${D}${sysconfdir} \
> + ${D}${sysconfdir}/init.d
> + install -m 0755 ${WORKDIR}/cedartrail-audio ${D}${sysconfdir}/init.d
> + cat ${WORKDIR}/${INITSCRIPT_NAME} | \
> + sed -e 's,/etc,${sysconfdir},g' \
> + -e 's,/usr/sbin,${sbindir},g' \
> + -e 's,/var,${localstatedir},g' \
> + -e 's,/usr/bin,${bindir},g' \
> + -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
> + chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
> +}
> +
> diff --git a/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
> new file mode 100644
> index 0000000..efd08d3
> --- /dev/null
> +++ b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
> @@ -0,0 +1,42 @@
> +#!/bin/sh
> +### BEGIN INIT INFO
> +# Provides: cedartrail mixer setup
> +# Required-Start: $syslog
> +# Required-Stop: $syslog
> +# Default-Start: 2 3 4 5
> +# Default-Stop: 0 1 6
> +# Short-Description: Initialize the cedartrail audio mixer
> +# Description: Unmute FRONT and set volume
> +### END INIT INFO
> +
> +# Author: Darren Hart <dvhart@linux.intel.com>
> +# Based on /etc/init.d/skeleton
> +
> +PATH=/sbin:/usr/sbin:/bin:/usr/bin
> +DESC="Audio mixer settings"
> +NAME=cedartrail-audio
> +AMIXER=`which amixer`
> +SCRIPTNAME=/etc/init.d/$NAME
> +
> +# Exit if amixer is not installed
> +[ -x "$AMIXER" ] || exit 0
> +
> +do_start() {
> + # Enable the "Front" simple controls (black phones jack)
> + $AMIXER sset Front 90 on > /dev/null
> +}
> +
> +case "$1" in
> +start)
> + echo "$NAME: setting default mixer settings."
> + do_start
> + ;;
> +stop)
> + ;;
> +*)
> + echo "Usage: $SCRIPTNAME {start|stop}" >&2
> + exit 3
> + ;;
> +esac
> +
> +exit 0
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 7/7] Cedartrail: Update the README.
2012-04-03 23:43 ` [PATCH 7/7] Cedartrail: Update the README kishore.k.bodke
@ 2012-04-09 18:06 ` Tom Zanussi
2012-04-09 18:35 ` Bodke, Kishore K
0 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 18:06 UTC (permalink / raw)
To: kishore.k.bodke; +Cc: yocto
On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke@intel.com>
>
> Update the README file with instructions to build
> with pvr graphics driver.
>
> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
> ---
> meta-cedartrail/README | 41 +++++++++++++++++++++++++++++++++++++++--
> 1 files changed, 39 insertions(+), 2 deletions(-)
>
> diff --git a/meta-cedartrail/README b/meta-cedartrail/README
> index 295e9ff..f482cca 100755
> --- a/meta-cedartrail/README
> +++ b/meta-cedartrail/README
> @@ -52,10 +52,23 @@ common metadata shared between BSPs) e.g.:
> yocto/meta-intel \
> yocto/meta-intel/meta-cedartrail \
>
> -To enable the cedartrail layer, add the cedartrail MACHINE to local.conf:
> +To enable the cedartrail layer that supports Power VR graphics,
> +add the cedartrail MACHINE to local.conf:
>
> MACHINE ?= "cedartrail"
>
> +
> +Power VR Graphics user-space driver binaries are covered by a
> +"Intel Free Distribution Binary License". The build of this driver
> +can be enabled by adding the following line to the local.conf file:
> +
> +LICENSE_FLAGS_WHITELIST += "license_cdv-pvr-driver_1.0"
> +
> +To enable the layer that does not support Power VR graphics
> +add the following to the local.conf file:
> +
> + MACHINE ?= "cedartrail-nopvr"
> +
> You should then be able to build a cedartrail image as such:
>
> $ source oe-init-build-env
> @@ -85,7 +98,7 @@ 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-cedartrail-20120105232035.hddimg of=/dev/sdf
> +# dd if=core-image-sato-cedartrail-20120403210525.hddimg of=/dev/sdf
> # sync
> # eject /dev/sdf
>
> @@ -109,3 +122,27 @@ 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
> +
> +Miscellaneous Notes
> +====================
> +
> +Video and Music Samples
> +-----------------------
> +This BSP includes recipes to download Ogg format video and
> +music files that can be played-back with the Video and music players
> +included in the sato images. The sample files are installed in
> +/home/Music and /home/Videos directories.
> +
> +
> +Adding Glxgears to image
> +-------------------------
> +Glxgears can be added to the generated image by adding "debug-tweaks"
> +option to the extra image features variable in the default local.conf
> +before building the BSP.
I think the thing that adds glxgears is tools-testapps and not
debug-tweaks. You have tools-testapps below which is probably why it
works, but you might want to verify that and change the README text if
so.
Tom
> +
> +e.g. to add Glxgears, locate the following line in local.conf
> +EXTRA_IMAGE_FEATURES = "debug-tweaks"
> +
> +and change above line to..
> +
> +EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver
2012-04-09 17:46 ` [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver Tom Zanussi
@ 2012-04-09 18:17 ` Bodke, Kishore K
0 siblings, 0 replies; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:17 UTC (permalink / raw)
To: Zanussi, Tom; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 10:47 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: Re: [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr
>Graphics driver
>
>
>On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> From: Kishore Bodke <kishore.k.bodke@intel.com>
>>
>> These patches are for adding the PVR graphics driver, EFI Support,
>> and to add Cedartrail Audio and Video files .
>>
>> These also updates the SRCREVS for build with pvr and no-pvr versions.
>>
>> Please pull into meta-intel/master.
>>
>
>Hi Kishore,
>
>Sorry this has been delayed, just getting back to things now after being
>out last week for conferences.
>
>In general, thanks for breaking things up more this time, but there are
>still a couple things I think should be done, which I'll comment on in
>those patches.
>
>Also, I don't think it makes sense to pull in the audio recipe since
>that has changed between edison and master - I think the way to do the
>same thing you're doing there is using asound.state (see
>meta-intel/meta-n450/recipes-bsp/alsa-state/alsa-state/n450/asound.state
>as an example).
I will change this audio recipe as per the new changes in the master.
>
>Also, I'm wondering if it makes sense to have the image bbappends rather
>than just differently-named image recipes - otherwise, you can't build a
>regular sato image for example without also including all the test
>files.
We put these in image bbappends because we wanted a regular sato image has
all the needed files builtin by default.
>
>Finally, as a new BSP in master, I think there should also be support
>for the 3.2 kernel, or is there some reason you couldn't do that?
Pvr patches have not yet got into 3.2 kernel, as this has not been tested for 3.2.
So, currently we are supporting 3.0 kernel only.
For the current release we are only targeting 3.0 kernel.
With 3.2 kernel we are planning to add couple of new features added.
Thanks
Kishore.
>
>Thanks,
>
>Tom
>
>> Thanks
>> Kishore.
>>
>> The following changes since commit
>f89405e115d73426c8a6450b6e795b5885d6bdf3:
>>
>> MAINTAINERS: Add FRI2 maintainer (2012-03-23 09:46:15 -0700)
>>
>> are available in the git repository at:
>> git://git.pokylinux.org/meta-intel-contrib kishore/cedartrail-pvr-
>updates
>> http://git.pokylinux.org/cgit.cgi/meta-intel-
>contrib/log/?h=kishore/cedartrail-pvr-updates
>>
>> Kishore Bodke (7):
>> Cedartrail: Add PVR graphics support.
>> Cedartrail: Update SRCREVS and add EFI Support.
>> Cedartrail: Add new recipes for audio and video samples.
>> Cedartrail: Add bbappend files to install Audio and Video files.
>> Cedartrail: Separte out machine.conf files.
>> Cedartrail: Add a new recipe for Audio.
>> Cedartrail: Update the README.
>>
>> conf/machine/include/ia32-base.inc | 2 +
>> meta-cedartrail/README | 41 ++++++++-
>> meta-cedartrail/conf/machine/cedartrail-nopvr.conf | 21 ++++
>> meta-cedartrail/conf/machine/cedartrail.conf | 13 ++-
>> .../cedartrail-audio/cedartrail-audio.bb | 30 ++++++
>> .../cedartrail-audio/cedartrail-audio | 42 ++++++++
>> .../formfactor/cedartrail-nopvr/machconfig | 3 +
>> .../tasks/task-core-tools-profile.bbappend | 2 +-
>> .../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++
>> .../xorg-driver/cdv-pvr-driver_1.0.bb | 101
>++++++++++++++++++++
>> .../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 +++++
>> .../xserver-xf86-config/cedartrail/xorg.conf | 24 ++---
>> .../linux/linux-yocto-rt_3.0.bbappend | 8 ++
>> .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 16 +++-
>> .../ogg-CC-BY-3.0-music-samples_0.1.bb | 23 +++++
>> .../video-samples/bigbuckbunny-ogg.bb | 24 +++++
>> .../images/core-image-sato-dev.bbappend | 2 +
>> .../images/core-image-sato-sdk.bbappend | 2 +
>> .../recipes-sato/images/core-image-sato.bbappend | 1 +
>> 19 files changed, 396 insertions(+), 24 deletions(-)
>> create mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
>> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-
>audio/cedartrail-audio.bb
>> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-
>audio/cedartrail-audio/cedartrail-audio
>> create mode 100644 meta-cedartrail/recipes-
>bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
>> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-
>pvr-driver.inc
>> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-
>pvr-driver_1.0.bb
>> create mode 100644 meta-cedartrail/recipes-graphics/xorg-
>xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
>> create mode 100644 meta-cedartrail/recipes-mediasamples/music-
>samples/ogg-CC-BY-3.0-music-samples_0.1.bb
>> create mode 100644 meta-cedartrail/recipes-mediasamples/video-
>samples/bigbuckbunny-ogg.bb
>> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>sato-dev.bbappend
>> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>sato-sdk.bbappend
>> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>sato.bbappend
>>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 1/7] Cedartrail: Add PVR graphics support.
2012-04-09 17:56 ` Tom Zanussi
@ 2012-04-09 18:22 ` Bodke, Kishore K
0 siblings, 0 replies; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:22 UTC (permalink / raw)
To: Zanussi, Tom; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 10:56 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: Re: [PATCH 1/7] Cedartrail: Add PVR graphics support.
>
>Hi Kishore,
>
>Comments below...
>
>On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> From: Kishore Bodke <kishore.k.bodke@intel.com>
>>
>> Adding PVR Graphics support and separate out
>> xorg.conf for building both with pvr and no-pvr.
>>
>> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
>> ---
>> conf/machine/include/ia32-base.inc | 2 +
>> .../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++
>> .../xorg-driver/cdv-pvr-driver_1.0.bb | 101
>++++++++++++++++++++
>> .../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 +++++
>> .../xserver-xf86-config/cedartrail/xorg.conf | 24 ++---
>> 5 files changed, 176 insertions(+), 16 deletions(-)
>> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-
>pvr-driver.inc
>> create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-
>pvr-driver_1.0.bb
>> create mode 100644 meta-cedartrail/recipes-graphics/xorg-
>xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
>>
>> diff --git a/conf/machine/include/ia32-base.inc
>b/conf/machine/include/ia32-base.inc
>> index 9b2ef5a..d1bd0d7 100644
>> --- a/conf/machine/include/ia32-base.inc
>> +++ b/conf/machine/include/ia32-base.inc
>> @@ -64,3 +64,5 @@ XSERVER_IA32_EMGD = "emgd-driver-bin \
>> "
>>
>> XSERVER_IA32_VESA = "xf86-video-vesa"
>> +
>> +XSERVER_IA32_PVR = "cdv-pvr-driver"
>
>Since this is modifying a common file, can you please add this as a
>separate commit?
>
>Also, since you're adding this to common code, it won't work for any
>other BSP since the recipe is in meta-cedartrail only. Is this meant to
>be usable by other BSPs, maybe in the near future? If so, you should
>move this to common/ to match the above definition, otherwise, just keep
>it all local to your BSP.
At this point, only Cedartrail uses this. So, I think it is better make
this local to BSP.
I will change this.
>
>Also, either way, since the cdv-pvr-driver is a new recipe, please keep
>that as a separate commit as well.
I will make this as a separate commit.
Thanks
Kishore.
>
>> diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-
>driver.inc b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-
>driver.inc
>> new file mode 100644
>> index 0000000..0de6cbe
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
>> @@ -0,0 +1,39 @@
>> +SUMMARY = "Cedartrail PowerVR Graphics Driver version [Gold] 1.0
>binaries"
>> +DESCRIPTION = "2D, 3D and Media user space driver for Cedartrail
>platform \
>> +The binaries are covered by the Intel Free Distribution Binary
>License. \
>> +The user must make himself/herself aware of the Licensing terms \
>> +before enabling build of the Cedartrail PowerVR Graphics Driver via \
>> +this recipe. Please see the README in meta-cedartrail for
>instructions \
>> +for enabling the build of the driver "
>> +
>> +MEEGO_MIRROR =
>"http://download.meego.com/live/MeeGo:/1.2.0:/CedarTrail:"
>> +
>> +LICENSE_FLAGS = "license_${PN}_${PV}"
>> +LICENSE = "Intel Free Distribution Binary License"
>> +LIC_FILES_CHKSUM = " \
>> + file://${S}/usr/share/doc/psb-video-cdv-
>0.12/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \
>> + file://${S}/usr/share/doc/pvr-bin-cdv-
>1.7.788837_05/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
>> +
>> +
>> +INC_PR = "r0"
>> +
>> +DEPENDS = "rpm-native"
>> +
>> +FILES_${PN} += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/pvr/cdv
>${libdir}/xorg/modules/drivers"
>> +FILES_${PN}-dev += "${libdir}/dri ${libdir}/pvr/cdv/dri
>${libdir}/xorg/modules/drivers"
>> +FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug
>${libdir}/dri/.debug ${libdir}/pvr/cdv/dri/.debug"
>> +
>> +FILES_${PN} += "${base_libdir}/firmware"
>> +FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d"
>> +
>> +FILES_${PN} += "${libdir}/lib*.so"
>> +FILES_${PN}-dev += "${libdir}/lib*.so"
>> +FILES_${PN}-dbg += "${libdir}/.debug"
>> +
>> +FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers"
>> +
>> +FILES_${PN} += "${datadir}/doc/psb-video-cdv-0.12/license.txt"
>> +FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt"
>> +
>> +
>> +
>> diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-
>driver_1.0.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-
>driver_1.0.bb
>> new file mode 100644
>> index 0000000..496da1e
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-
>driver_1.0.bb
>> @@ -0,0 +1,101 @@
>> +require cdv-pvr-driver.inc
>> +
>> +PR = "${INC_PR}.0"
>> +
>> +DEPENDS = "libva"
>> +
>> +SRC_URI = "${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/psb-
>video-cdv-0.12-1.1.i586.rpm;name=psbrpm \
>> + ${MEEGO_MIRROR}/oss/standard/i586/libwsbm-cdv-1.1.0-
>3.1.i586.rpm;name=wsbmrpm \
>> + ${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/pvr-bin-
>cdv-1.7.788837_05-1.1.i586.rpm;name=pvrrpm \
>> + "
>> +
>> +SRC_URI[pvrrpm.md5sum] = "951fa9edcbc2a3ddb30450079869362e"
>> +SRC_URI[pvrrpm.sha256sum] =
>"537dd8a98ac2e3a101063abc62682c3be8c37ac29782a876eafce113ffa5b421"
>> +
>> +SRC_URI[psbrpm.md5sum] = "d4b6b383722264f3b781aeb240c88037"
>> +SRC_URI[psbrpm.sha256sum] =
>"e88f95fc73a79adf76ee33d3d9874cec23bb1afe8149d7dc5842d67e58da72f5"
>> +
>> +SRC_URI[wsbmrpm.md5sum] = "8d90436b151ddf72f620771f2552b597"
>> +SRC_URI[wsbmrpm.sha256sum] =
>"82f78f47c151f0e7d567574ee372504e5b395fb13796caa765f9c30754b5bf63"
>> +
>> +
>> +S = "${WORKDIR}/cdv-graphics-drivers_${PV}"
>> +
>> +do_configure () {
>> +
>> +# Extract license files from rpms
>> +rpm2cpio ${WORKDIR}/psb-video-cdv-0.12-1.1.i586.rpm |cpio -ivd
>./usr/share/doc/psb-video-cdv-0.12/license.txt
>> +rpm2cpio ${WORKDIR}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm |cpio -ivd
>./usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt
>> +
>> +}
>> +
>> +
>> +do_install() {
>> +
>> +
>> + mv ${WORKDIR}/*.rpm ${S}
>> +
>> + rpm2cpio ${S}/libwsbm-cdv-1.1.0-3.1.i586.rpm | cpio -id
>> +
>> + install -d -m 0755
>${D}${libdir}/dri
>> +
>> + install -m 0755 ${S}/usr/lib/*
>${D}${libdir}/
>> +
>> + rpm2cpio ${S}/psb-video-cdv-0.12-1.1.i586.rpm | cpio -id
>> +
>> +
>> + install -d -m 0755
>${D}${base_libdir}/firmware
>> +
>> + install -m 0755 ${S}/usr/lib/dri/*
>${D}${libdir}/dri/
>> +
>> + install -m 0755 ${S}/lib/firmware/*
>${D}${base_libdir}/firmware
>> +
>> + rpm2cpio ${S}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm | cpio -id
>> +
>> + install -d -m 0755
>${D}${libdir}/pvr/cdv/dri
>> +
>> + install -m 0755 ${S}/usr/lib/pvr/cdv/dri/*
>${D}${libdir}/pvr/cdv/dri
>> +
>> + install -d -m 0755
>${D}${sysconfdir}/X11/xorg.conf.d
>> + install -m 0755 ${S}/etc/powervr.ini
>${D}${sysconfdir}/
>> + install -m 0755 ${S}/etc/X11/xorg.conf.d/*
>${D}${sysconfdir}/X11/xorg.conf.d/
>> + install -m 0755 ${S}/usr/lib/dri/pvr_dri.so
>${D}${libdir}/dri/
>> + install -m 0755 ${S}/usr/lib/*.so.*
>${D}${libdir}/
>> +
>> +
>> + install -m 0755 ${S}/usr/lib/libegl4ogl.so.1.7.788837
> ${D}${libdir}/libegl4ogl.so
>> + install -m 0755 ${S}/usr/lib/libEGL.so.1.7.788837
> ${D}${libdir}/libEGL.so
>> + install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837
> ${D}${libdir}/libGLES_CM.so
>> + install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837
> ${D}${libdir}/libGLESv1_CM.so
>> + install -m 0755 ${S}/usr/lib/libGLESv2.so.1.7.788837
> ${D}${libdir}/libGLESv2.so
>> + install -m 0755 ${S}/usr/lib/libglslcompiler.so.1.7.788837
> ${D}${libdir}/libglslcompiler.so
>> + install -m 0755 ${S}/usr/lib/libIMGegl.so.1.7.788837
> ${D}${libdir}/libIMGegl.so
>> + install -m 0755 ${S}/usr/lib/libOpenVG.so.1.7.788837
> ${D}${libdir}/libOpenVG.so
>> + install -m 0755 ${S}/usr/lib/libOpenVGU.so.1.7.788837
> ${D}${libdir}/libOpenVGU.so
>> + install -m 0755 ${S}/usr/lib/libpvr2d.so.1.7.788837
> ${D}${libdir}/libpvr2d.so
>> + install -m 0755 ${S}/usr/lib/libPVROGL_MESA.so.1.7.788837
> ${D}${libdir}/libPVROGL_MESA.so
>> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_BLITWSEGL.so.1.7.788837
> ${D}${libdir}/libpvrPVR2D_BLITWSEGL.so
>> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_DRIWSEGL.so.1.7.788837
> ${D}${libdir}/libpvrPVR2D_DRIWSEGL.so
>> + install -m 0755 ${S}/usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.7.788837
> ${D}${libdir}/libpvrPVR2D_FLIPWSEGL.so
>> + install -m 0755
>${S}/usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.7.788837
> ${D}${libdir}/libpvrPVR2D_LINUXFBWSEGL.so
>> + install -m 0755 ${S}/usr/lib/libPVRScopeServices.so.1.7.788837
> ${D}${libdir}/libPVRScopeServices.so
>> + install -m 0755 ${S}/usr/lib/libsrv_init.so.1.7.788837
> ${D}${libdir}/libsrv_init.so
>> + install -m 0755 ${S}/usr/lib/libsrv_um.so.1.7.788837
> ${D}${libdir}/libsrv_um.so
>> + install -m 0755 ${S}/usr/lib/libusc.so.1.7.788837
> ${D}${libdir}/libusc.so
>> +
>> + install -m 0755 ${S}/usr/lib/pvr/cdv/*.so.*
> ${D}${libdir}/pvr/cdv/
>> +
>> + install -d -m 0755 ${D}${libdir}/pvr/cdv/xorg/modules/drivers
>> + install -m 0755 ${S}/usr/lib/pvr/cdv/xorg/modules/drivers/*
> ${D}${libdir}/pvr/cdv/xorg/modules/drivers/
>> +
>> + install -d -m 0755
> ${D}${libdir}/xorg/modules/drivers
>> +
>> + install -m 0755 ${S}/usr/lib/xorg/modules/drivers/*
> ${D}${libdir}/xorg/modules/drivers/
>> +
>> + install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-0.12
>> + install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05
>> +
>> + install -m 0755 ${S}/usr/share/doc/psb-video-cdv-
>0.12/license.txt ${D}${datadir}/doc/psb-video-cdv-
>0.12/license.txt
>> + install -m 0755 ${S}/usr/share/doc/pvr-bin-cdv-
>1.7.788837_05/license.txt ${D}${datadir}/doc/pvr-bin-cdv-
>1.7.788837_05/license.txt
>> +
>> +}
>
>> diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-
>xf86-config/cedartrail-nopvr/xorg.conf b/meta-cedartrail/recipes-
>graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
>> new file mode 100644
>> index 0000000..da4fc3c
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-
>config/cedartrail-nopvr/xorg.conf
>> @@ -0,0 +1,26 @@
>> +Section "Device"
>> + Identifier "Generic VESA"
>> + Driver "vesa"
>> +EndSection
>> +
>> +Section "Monitor"
>> + Identifier "Generic Monitor"
>> + Option "DPMS"
>> +EndSection
>> +
>> +Section "Screen"
>> + Identifier "Default Screen"
>> + Device "Generic VESA"
>> + 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-cedartrail/recipes-graphics/xorg-xserver/xserver-
>xf86-config/cedartrail/xorg.conf b/meta-cedartrail/recipes-
>graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
>> index da4fc3c..1d085a4 100644
>> --- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-
>config/cedartrail/xorg.conf
>> +++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-
>config/cedartrail/xorg.conf
>> @@ -1,23 +1,15 @@
>> Section "Device"
>> - Identifier "Generic VESA"
>> - Driver "vesa"
>> -EndSection
>> -
>> -Section "Monitor"
>> - Identifier "Generic Monitor"
>> - Option "DPMS"
>> -EndSection
>> -
>> -Section "Screen"
>> - Identifier "Default Screen"
>> - Device "Generic VESA"
>> - Monitor "Generic Monitor"
>> - DefaultDepth 24
>> + Option "DRIDisableVSync" "False"
>> + Identifier "Card0"
>> + Driver "pvr"
>> + BusID "PCI:0:2:0"
>> + Option "SoftEXA" "Off"
>> + Option "FlipChain" "On"
>> EndSection
>>
>> Section "ServerLayout"
>> - Identifier "Default Layout"
>> - Screen "Default Screen"
>> + Identifier "default screen"
>> + Option "AIGLX" "on"
>> EndSection
>>
>> Section "ServerFlags"
>
>Also, please keep the xorg.conf changes separate as well...
>
>Thanks,
>
>Tom
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples.
2012-04-09 17:57 ` Tom Zanussi
@ 2012-04-09 18:25 ` Bodke, Kishore K
0 siblings, 0 replies; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:25 UTC (permalink / raw)
To: Zanussi, Tom; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 10:57 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: Re: [PATCH 3/7] Cedartrail: Add new recipes for audio and video
>samples.
>
>On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> From: Kishore Bodke <kishore.k.bodke@intel.com>
>>
>> This recipe adds sample Audio files and Video files
>> for testing with pvr Acceleration driver.
>>
>> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
>> ---
>> .../ogg-CC-BY-3.0-music-samples_0.1.bb | 23
>+++++++++++++++++++
>> .../video-samples/bigbuckbunny-ogg.bb | 24
>++++++++++++++++++++
>> 2 files changed, 47 insertions(+), 0 deletions(-)
>> create mode 100644 meta-cedartrail/recipes-mediasamples/music-
>samples/ogg-CC-BY-3.0-music-samples_0.1.bb
>> create mode 100644 meta-cedartrail/recipes-mediasamples/video-
>samples/bigbuckbunny-ogg.bb
>>
>> diff --git a/meta-cedartrail/recipes-mediasamples/music-samples/ogg-
>CC-BY-3.0-music-samples_0.1.bb b/meta-cedartrail/recipes-
>mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
>> new file mode 100644
>> index 0000000..fd65cc7
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-
>3.0-music-samples_0.1.bb
>> @@ -0,0 +1,23 @@
>> +SUMMARY = "ogg file format music samples"
>> +DESCRIPTION = "Installs ogg file format music samples in /home/Music
>dir"
>> +
>> +LICENSE = "CC-BY-3.0"
>> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-
>3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
>> +
>> +DEPENDS += " "
>> +
>
>Does this empty DEPENDS do anything? Same thing in a couple other
>places...
It does nothing. I might have forgotten this to remove.
Thanks
Kishore.
>
>Tom
>
>
>> +PR = "r0"
>> +
>> +SRC_URI =
>"http://downloads.yoctoproject.org/releases/media/music/ogg-CC-BY-3.0-
>music-samples-${PV}.tar.bz2 \
>> + "
>> +
>> +SRC_URI[md5sum] = "dc3dd4adca69996edaffe8828e1ee165"
>> +SRC_URI[sha256sum] =
>"86381f8474d5ac2c80f54c951a8c22f67d352daa977341d3dfb4161e39ca3975"
>> +
>> +do_install() {
>> +
>> +install -d ${D}${base_prefix}/home/music
>> +install -m 0644 ${WORKDIR}/ogg-CC-BY-3.0-music-samples-${PV}/*/*.ogg
>${D}${base_prefix}/home/music
>> +}
>> +
>> +FILES_${PN} += "${base_prefix}/home/music/*.ogg"
>> diff --git a/meta-cedartrail/recipes-mediasamples/video-
>samples/bigbuckbunny-ogg.bb b/meta-cedartrail/recipes-
>mediasamples/video-samples/bigbuckbunny-ogg.bb
>> new file mode 100644
>> index 0000000..036721c
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-
>ogg.bb
>> @@ -0,0 +1,24 @@
>> +SUMMARY = "Big Buck Bunny video OGG sample "
>> +DESCRIPTION = "Installs Big Buck Bunny Video OGG file samples in
>/home/video dir "
>> +
>> +LICENSE = "CC-BY-3.0"
>> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-
>3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
>> +
>> +DEPENDS += " "
>> +
>> +PR = "r0"
>> +
>> +SRC_URI = "http://blender-
>mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.o
>gg \
>> + "
>> +
>> +
>> +SRC_URI[md5sum] = "576424c653da53e31b86c027e55758ae"
>> +SRC_URI[sha256sum] =
>"785b09a585be55f81326a3fcef2cdeeb7ebbc33932b6305fd84209928df67f28"
>> +
>> +do_install() {
>> +
>> +install -d ${D}${base_prefix}/home/Videos
>> +install -m 0644 ${WORKDIR}/*.ogg ${D}${base_prefix}/home/Videos
>> +}
>> +
>> +FILES_${PN} += "${base_prefix}/home/Videos/*.ogg"
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
2012-04-09 18:00 ` Tom Zanussi
@ 2012-04-09 18:29 ` Bodke, Kishore K
2012-04-09 18:41 ` Tom Zanussi
0 siblings, 1 reply; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:29 UTC (permalink / raw)
To: Zanussi, Tom; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 11:01 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio
>and Video files.
>
>On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> From: Kishore Bodke <kishore.k.bodke@intel.com>
>>
>> These bbappend files pulls in the Audio, Video and Web Kit
>> into the Image with IMAGE_INSTALL.
>>
>> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
>> ---
>> .../images/core-image-sato-dev.bbappend | 2 ++
>> .../images/core-image-sato-sdk.bbappend | 2 ++
>> .../recipes-sato/images/core-image-sato.bbappend | 1 +
>> 3 files changed, 5 insertions(+), 0 deletions(-)
>> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>sato-dev.bbappend
>> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>sato-sdk.bbappend
>> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>sato.bbappend
>>
>> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-
>dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-
>dev.bbappend
>> new file mode 100644
>> index 0000000..33283f4
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
>> @@ -0,0 +1,2 @@
>> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
>samples"
>> +
>> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-
>sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-
>sdk.bbappend
>> new file mode 100644
>> index 0000000..33283f4
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
>> @@ -0,0 +1,2 @@
>> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
>samples"
>> +
>> diff --git a/meta-cedartrail/recipes-sato/images/core-image-
>sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image-
>sato.bbappend
>> new file mode 100644
>> index 0000000..4c1ccac
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
>> @@ -0,0 +1 @@
>> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
>samples"
>
>These will always add the media files etc whenever anyone builds any of
>these. Is that really what you want?
Yes. By default we wanted to have all these included when customer builds
a regular sato image.
So, I think it would be good if it remains unchanged.
Thanks
Kishore.
>
>Maybe creating separate test image recipes that do this would be more
>along the lines of what you wanted...
>
>Tom
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 6/7] Cedartrail: Add a new recipe for Audio.
2012-04-09 18:04 ` Tom Zanussi
@ 2012-04-09 18:31 ` Bodke, Kishore K
0 siblings, 0 replies; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:31 UTC (permalink / raw)
To: Zanussi, Tom; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 11:04 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: Re: [PATCH 6/7] Cedartrail: Add a new recipe for Audio.
>
>On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> From: Kishore Bodke <kishore.k.bodke@intel.com>
>>
>> Adding a new recipe for including a Audio
>> feature for the cedartrail bsp.
>>
>
>As mentioned, I think the new way to do this is using asound.state (see
>meta-intel/meta-n450/recipes-bsp/alsa-state/alsa-state/n450/asound.state
>as an example).
I will modify this recipe as per the new changes in the master.
Thanks
Kishore.
>
>Tom
>
>> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
>> ---
>> .../cedartrail-audio/cedartrail-audio.bb | 30
>++++++++++++++
>> .../cedartrail-audio/cedartrail-audio | 42
>++++++++++++++++++++
>> 2 files changed, 72 insertions(+), 0 deletions(-)
>> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-
>audio/cedartrail-audio.bb
>> create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-
>audio/cedartrail-audio/cedartrail-audio
>>
>> diff --git a/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-
>audio.bb b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-
>audio.bb
>> new file mode 100644
>> index 0000000..9a43f02
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
>> @@ -0,0 +1,30 @@
>> +SUMMARY = "Provide a basic init script to enable audio"
>> +DESCRIPTION = "Set the volume and unmute the Front mixer setting
>during boot."
>> +SECTION = "base"
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM =
>"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
>> +
>> +PR = "r0"
>> +
>> +inherit update-rc.d
>> +
>> +RDEPENDS = "alsa-utils-amixer"
>> +
>> +SRC_URI = "file://cedartrail-audio"
>> +
>> +INITSCRIPT_NAME = "cedartrail-audio"
>> +INITSCRIPT_PARAMS = "defaults 90"
>> +
>> +do_install() {
>> + install -d ${D}${sysconfdir} \
>> + ${D}${sysconfdir}/init.d
>> + install -m 0755 ${WORKDIR}/cedartrail-audio
>${D}${sysconfdir}/init.d
>> + cat ${WORKDIR}/${INITSCRIPT_NAME} | \
>> + sed -e 's,/etc,${sysconfdir},g' \
>> + -e 's,/usr/sbin,${sbindir},g' \
>> + -e 's,/var,${localstatedir},g' \
>> + -e 's,/usr/bin,${bindir},g' \
>> + -e 's,/usr,${prefix},g' >
>${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
>> + chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
>> +}
>> +
>> diff --git a/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-
>audio/cedartrail-audio b/meta-cedartrail/recipes-bsp/cedartrail-
>audio/cedartrail-audio/cedartrail-audio
>> new file mode 100644
>> index 0000000..efd08d3
>> --- /dev/null
>> +++ b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-
>audio/cedartrail-audio
>> @@ -0,0 +1,42 @@
>> +#!/bin/sh
>> +### BEGIN INIT INFO
>> +# Provides: cedartrail mixer setup
>> +# Required-Start: $syslog
>> +# Required-Stop: $syslog
>> +# Default-Start: 2 3 4 5
>> +# Default-Stop: 0 1 6
>> +# Short-Description: Initialize the cedartrail audio mixer
>> +# Description: Unmute FRONT and set volume
>> +### END INIT INFO
>> +
>> +# Author: Darren Hart <dvhart@linux.intel.com>
>> +# Based on /etc/init.d/skeleton
>> +
>> +PATH=/sbin:/usr/sbin:/bin:/usr/bin
>> +DESC="Audio mixer settings"
>> +NAME=cedartrail-audio
>> +AMIXER=`which amixer`
>> +SCRIPTNAME=/etc/init.d/$NAME
>> +
>> +# Exit if amixer is not installed
>> +[ -x "$AMIXER" ] || exit 0
>> +
>> +do_start() {
>> + # Enable the "Front" simple controls (black phones jack)
>> + $AMIXER sset Front 90 on > /dev/null
>> +}
>> +
>> +case "$1" in
>> +start)
>> + echo "$NAME: setting default mixer settings."
>> + do_start
>> + ;;
>> +stop)
>> + ;;
>> +*)
>> + echo "Usage: $SCRIPTNAME {start|stop}" >&2
>> + exit 3
>> + ;;
>> +esac
>> +
>> +exit 0
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 7/7] Cedartrail: Update the README.
2012-04-09 18:06 ` Tom Zanussi
@ 2012-04-09 18:35 ` Bodke, Kishore K
0 siblings, 0 replies; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:35 UTC (permalink / raw)
To: Zanussi, Tom, Saxena, Rahul; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 11:07 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: Re: [PATCH 7/7] Cedartrail: Update the README.
>
>On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> From: Kishore Bodke <kishore.k.bodke@intel.com>
>>
>> Update the README file with instructions to build
>> with pvr graphics driver.
>>
>> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
>> ---
>> meta-cedartrail/README | 41
>+++++++++++++++++++++++++++++++++++++++--
>> 1 files changed, 39 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta-cedartrail/README b/meta-cedartrail/README
>> index 295e9ff..f482cca 100755
>> --- a/meta-cedartrail/README
>> +++ b/meta-cedartrail/README
>> @@ -52,10 +52,23 @@ common metadata shared between BSPs) e.g.:
>> yocto/meta-intel \
>> yocto/meta-intel/meta-cedartrail \
>>
>> -To enable the cedartrail layer, add the cedartrail MACHINE to
>local.conf:
>> +To enable the cedartrail layer that supports Power VR graphics,
>> +add the cedartrail MACHINE to local.conf:
>>
>> MACHINE ?= "cedartrail"
>>
>> +
>> +Power VR Graphics user-space driver binaries are covered by a
>> +"Intel Free Distribution Binary License". The build of this driver
>> +can be enabled by adding the following line to the local.conf file:
>> +
>> +LICENSE_FLAGS_WHITELIST += "license_cdv-pvr-driver_1.0"
>> +
>> +To enable the layer that does not support Power VR graphics
>> +add the following to the local.conf file:
>> +
>> + MACHINE ?= "cedartrail-nopvr"
>> +
>> You should then be able to build a cedartrail image as such:
>>
>> $ source oe-init-build-env
>> @@ -85,7 +98,7 @@ 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-cedartrail-20120105232035.hddimg of=/dev/sdf
>> +# dd if=core-image-sato-cedartrail-20120403210525.hddimg of=/dev/sdf
>> # sync
>> # eject /dev/sdf
>>
>> @@ -109,3 +122,27 @@ 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
>> +
>> +Miscellaneous Notes
>> +====================
>> +
>> +Video and Music Samples
>> +-----------------------
>> +This BSP includes recipes to download Ogg format video and
>> +music files that can be played-back with the Video and music players
>> +included in the sato images. The sample files are installed in
>> +/home/Music and /home/Videos directories.
>> +
>> +
>> +Adding Glxgears to image
>> +-------------------------
>> +Glxgears can be added to the generated image by adding "debug-tweaks"
>> +option to the extra image features variable in the default local.conf
>> +before building the BSP.
>
>I think the thing that adds glxgears is tools-testapps and not
>debug-tweaks. You have tools-testapps below which is probably why it
>works, but you might want to verify that and change the README text if
>so.
Yeah, you are right. I copied from Edison branch.
Rahul, could you also change this README in the Edison branch.
Thanks
Kishore.
>
>Tom
>
>> +
>> +e.g. to add Glxgears, locate the following line in local.conf
>> +EXTRA_IMAGE_FEATURES = "debug-tweaks"
>> +
>> +and change above line to..
>> +
>> +EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
2012-04-09 18:29 ` Bodke, Kishore K
@ 2012-04-09 18:41 ` Tom Zanussi
2012-04-09 18:57 ` Bodke, Kishore K
0 siblings, 1 reply; 22+ messages in thread
From: Tom Zanussi @ 2012-04-09 18:41 UTC (permalink / raw)
To: Bodke, Kishore K; +Cc: yocto@yoctoproject.org
On Mon, 2012-04-09 at 11:29 -0700, Bodke, Kishore K wrote:
>
> >-----Original Message-----
> >From: Zanussi, Tom
> >Sent: Monday, April 09, 2012 11:01 AM
> >To: Bodke, Kishore K
> >Cc: yocto@yoctoproject.org
> >Subject: Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio
> >and Video files.
> >
> >On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
> >> From: Kishore Bodke <kishore.k.bodke@intel.com>
> >>
> >> These bbappend files pulls in the Audio, Video and Web Kit
> >> into the Image with IMAGE_INSTALL.
> >>
> >> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
> >> ---
> >> .../images/core-image-sato-dev.bbappend | 2 ++
> >> .../images/core-image-sato-sdk.bbappend | 2 ++
> >> .../recipes-sato/images/core-image-sato.bbappend | 1 +
> >> 3 files changed, 5 insertions(+), 0 deletions(-)
> >> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
> >sato-dev.bbappend
> >> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
> >sato-sdk.bbappend
> >> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
> >sato.bbappend
> >>
> >> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-
> >dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-
> >dev.bbappend
> >> new file mode 100644
> >> index 0000000..33283f4
> >> --- /dev/null
> >> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
> >> @@ -0,0 +1,2 @@
> >> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
> >samples"
> >> +
> >> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-
> >sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-
> >sdk.bbappend
> >> new file mode 100644
> >> index 0000000..33283f4
> >> --- /dev/null
> >> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
> >> @@ -0,0 +1,2 @@
> >> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
> >samples"
> >> +
> >> diff --git a/meta-cedartrail/recipes-sato/images/core-image-
> >sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image-
> >sato.bbappend
> >> new file mode 100644
> >> index 0000000..4c1ccac
> >> --- /dev/null
> >> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
> >> @@ -0,0 +1 @@
> >> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
> >samples"
> >
> >These will always add the media files etc whenever anyone builds any of
> >these. Is that really what you want?
>
> Yes. By default we wanted to have all these included when customer builds
> a regular sato image.
> So, I think it would be good if it remains unchanged.
>
But what if I wanted to build a sato image that didn't include those
media files? I can no longer type 'bitbake core-image-sato' and get
that.
Tom
> Thanks
> Kishore.
>
> >
> >Maybe creating separate test image recipes that do this would be more
> >along the lines of what you wanted...
> >
> >Tom
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
2012-04-09 18:41 ` Tom Zanussi
@ 2012-04-09 18:57 ` Bodke, Kishore K
0 siblings, 0 replies; 22+ messages in thread
From: Bodke, Kishore K @ 2012-04-09 18:57 UTC (permalink / raw)
To: Zanussi, Tom; +Cc: yocto@yoctoproject.org
>-----Original Message-----
>From: Zanussi, Tom
>Sent: Monday, April 09, 2012 11:42 AM
>To: Bodke, Kishore K
>Cc: yocto@yoctoproject.org
>Subject: RE: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio
>and Video files.
>
>On Mon, 2012-04-09 at 11:29 -0700, Bodke, Kishore K wrote:
>>
>> >-----Original Message-----
>> >From: Zanussi, Tom
>> >Sent: Monday, April 09, 2012 11:01 AM
>> >To: Bodke, Kishore K
>> >Cc: yocto@yoctoproject.org
>> >Subject: Re: [PATCH 4/7] Cedartrail: Add bbappend files to install
>Audio
>> >and Video files.
>> >
>> >On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke@intel.com wrote:
>> >> From: Kishore Bodke <kishore.k.bodke@intel.com>
>> >>
>> >> These bbappend files pulls in the Audio, Video and Web Kit
>> >> into the Image with IMAGE_INSTALL.
>> >>
>> >> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
>> >> ---
>> >> .../images/core-image-sato-dev.bbappend | 2 ++
>> >> .../images/core-image-sato-sdk.bbappend | 2 ++
>> >> .../recipes-sato/images/core-image-sato.bbappend | 1 +
>> >> 3 files changed, 5 insertions(+), 0 deletions(-)
>> >> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>> >sato-dev.bbappend
>> >> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>> >sato-sdk.bbappend
>> >> create mode 100644 meta-cedartrail/recipes-sato/images/core-image-
>> >sato.bbappend
>> >>
>> >> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-
>> >dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-
>> >dev.bbappend
>> >> new file mode 100644
>> >> index 0000000..33283f4
>> >> --- /dev/null
>> >> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-
>dev.bbappend
>> >> @@ -0,0 +1,2 @@
>> >> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
>> >samples"
>> >> +
>> >> diff --git a/meta-cedartrail/recipes-sato/images/core-image-sato-
>> >sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato-
>> >sdk.bbappend
>> >> new file mode 100644
>> >> index 0000000..33283f4
>> >> --- /dev/null
>> >> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato-
>sdk.bbappend
>> >> @@ -0,0 +1,2 @@
>> >> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
>> >samples"
>> >> +
>> >> diff --git a/meta-cedartrail/recipes-sato/images/core-image-
>> >sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image-
>> >sato.bbappend
>> >> new file mode 100644
>> >> index 0000000..4c1ccac
>> >> --- /dev/null
>> >> +++ b/meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
>> >> @@ -0,0 +1 @@
>> >> +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-
>music-
>> >samples"
>> >
>> >These will always add the media files etc whenever anyone builds any
>of
>> >these. Is that really what you want?
>>
>> Yes. By default we wanted to have all these included when customer
>builds
>> a regular sato image.
>> So, I think it would be good if it remains unchanged.
>>
>
>But what if I wanted to build a sato image that didn't include those
>media files? I can no longer type 'bitbake core-image-sato' and get
>that.
Ok. I will change this to a new test image recipe.
Thanks
Kishore.
>
>Tom
>
>> Thanks
>> Kishore.
>>
>> >
>> >Maybe creating separate test image recipes that do this would be more
>> >along the lines of what you wanted...
>> >
>> >Tom
>>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2012-04-09 18:57 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-03 23:43 [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver kishore.k.bodke
2012-04-03 23:43 ` [PATCH 1/7] Cedartrail: Add PVR graphics support kishore.k.bodke
2012-04-09 17:56 ` Tom Zanussi
2012-04-09 18:22 ` Bodke, Kishore K
2012-04-03 23:43 ` [PATCH 2/7] Cedartrail: Update SRCREVS and add EFI Support kishore.k.bodke
2012-04-03 23:43 ` [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples kishore.k.bodke
2012-04-09 17:57 ` Tom Zanussi
2012-04-09 18:25 ` Bodke, Kishore K
2012-04-03 23:43 ` [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files kishore.k.bodke
2012-04-09 18:00 ` Tom Zanussi
2012-04-09 18:29 ` Bodke, Kishore K
2012-04-09 18:41 ` Tom Zanussi
2012-04-09 18:57 ` Bodke, Kishore K
2012-04-03 23:43 ` [PATCH 5/7] Cedartrail: Separte out machine.conf files kishore.k.bodke
2012-04-03 23:43 ` [PATCH 6/7] Cedartrail: Add a new recipe for Audio kishore.k.bodke
2012-04-09 18:04 ` Tom Zanussi
2012-04-09 18:31 ` Bodke, Kishore K
2012-04-03 23:43 ` [PATCH 7/7] Cedartrail: Update the README kishore.k.bodke
2012-04-09 18:06 ` Tom Zanussi
2012-04-09 18:35 ` Bodke, Kishore K
2012-04-09 17:46 ` [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driver Tom Zanussi
2012-04-09 18:17 ` Bodke, Kishore K
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.