Cedartrail BSP updates with pvr Graphics driver
PATCH 1/7 Cedartrail: Add PVR graphics support.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Adding PVR Graphics support and separate out
xorg.conf for building both with pvr and no-pvr.
--- 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
conf/machine/include/ia32-base.inc +2 -0
@@ -64,3 +64,5 @@ XSERVER_IA32_EMGD = "emgd-driver-bin \ " XSERVER_IA32_VESA = "xf86-video-vesa" + +XSERVER_IA32_PVR = "cdv-pvr-driver"
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +39 -0
@@ -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" + + +
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb new file +101 -0
101 lines not on this page · raw message
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf new file +26 -0
@@ -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
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf +8 -16
@@ -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"
Signature · 1 line
1.7.5.4
PATCH 2/7 Cedartrail: Update SRCREVS and add EFI Support.
From: Kishore Bodke <[email protected]>
Add EFI support and update the SRCREVS. Add pvr merge scc file to pull in the pvr patches.
--- .../linux/linux-yocto-rt_3.0.bbappend | 8 ++++++++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-)
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +8 -0
@@ -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"
meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend +13 -3
@@ -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"
Signature · 1 line
1.7.5.4
cover Cedartrail BSP updates with pvr Graphics driver
From: Kishore Bodke <[email protected]>
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
Signature · 1 line
1.7.5.4
PATCH 3/7 Cedartrail: Add new recipes for audio and video samples.
In reply to [email protected]From: Kishore Bodke <[email protected]>
This recipe adds sample Audio files and Video files for testing with pvr Acceleration driver.
--- .../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
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb new file +23 -0
@@ -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"
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb new file +24 -0
@@ -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"
Signature · 1 line
1.7.5.4
PATCH 4/7 Cedartrail: Add bbappend files to install Audio and Video files.
In reply to [email protected]From: Kishore Bodke <[email protected]>
These bbappend files pulls in the Audio, Video and Web Kit into the Image with IMAGE_INSTALL.
--- .../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
meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend new file +2 -0
@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" +
meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend new file +2 -0
@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" +
meta-cedartrail/recipes-sato/images/core-image-sato.bbappend new file +1 -0
@@ -0,0 +1 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Signature · 1 line
1.7.5.4
PATCH 6/7 Cedartrail: Add a new recipe for Audio.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Adding a new recipe for including a Audio
feature for the cedartrail bsp.
--- .../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
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +30 -0
@@ -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} +} +
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 5/7 Cedartrail: Separte out machine.conf files.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Have two machine.conf files.
One for pvr and the other for no-pvr.
--- 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
meta-cedartrail/conf/machine/cedartrail-nopvr.conf new file +21 -0
@@ -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"
meta-cedartrail/conf/machine/cedartrail.conf +11 -2
@@ -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"
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig new file +3 -0
@@ -0,0 +1,3 @@ +# Assume a USB mouse and keyboard are connected +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1
meta-cedartrail/recipes-core/tasks/task-core-tools-profile.bbappend +1 -1
@@ -1,2 +1,2 @@ RRECOMMENDS_task-core-tools-profile_append_cedartrail = " systemtap" - +RRECOMMENDS_task-core-tools-profile_append_cedartrail-nopvr = " systemtap"
Signature · 1 line
1.7.5.4
PATCH 7/7 Cedartrail: Update the README.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Update the README file with instructions to build
with pvr graphics driver.
--- meta-cedartrail/README | 41 +++++++++++++++++++++++++++++++++++++++-- 1 files changed, 39 insertions(+), 2 deletions(-)
meta-cedartrail/README +39 -2
@@ -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"
Signature · 1 line
1.7.5.4
Quoted 9 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
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
Quoted 53 lines
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-contribkishore/cedartrail-pvr-updates
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/cedartrail-pvr-updatesKishore 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
Re: [PATCH 1/7] Cedartrail: Add PVR graphics support.
In reply to [email protected]Hi Kishore,
Comments below...
Quoted 22 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
Adding PVR Graphics support and separate out
xorg.conf for building both with pvr and no-pvr.Signed-off-by Kishore Bodke <[email protected]>--- 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.confconf/machine/include/ia32-base.inc +0
-0
conf/machine/include/ia32-base.inc XSERVER_IA32_EMGD = "emgd-driver-bin \ · line 68
Quoted 5 lines
conf/machine/include/ia32-base.inc +2
-0@@ -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.
Quoted 211 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +39
-0@@ -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" + + +meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb new file +101
-0@@ -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 + +}meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf new file +26
-0@@ -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" +EndSectionmeta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf +6
-14@@ -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"
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf line 15
Quoted 10 lines
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf +2
-2EndSection 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
Re: [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples.
In reply to [email protected]Quoted 19 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
This recipe adds sample Audio files and Video files for testing with pvr Acceleration driver.
Signed-off-by Kishore Bodke <[email protected]>--- .../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.bbmeta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb new file +0
-0
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb line 8
Quoted 8 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb new file +8
-0@@ -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
Quoted 45 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb new file +15
-0+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"meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb new file +24
-0@@ -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"
Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
In reply to [email protected]Quoted 37 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
These bbappend files pulls in the Audio, Video and Web Kit into the Image with
IMAGE_INSTALL.Signed-off-by Kishore Bodke <[email protected]>--- .../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.bbappendmeta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend new file +2
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" +meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend new file +2
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" +meta-cedartrail/recipes-sato/images/core-image-sato.bbappend new file +0
-0
meta-cedartrail/recipes-sato/images/core-image-sato.bbappend line 1
Quoted 1 line
meta-cedartrail/recipes-sato/images/core-image-sato.bbappend new file +1
-0@@ -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
Re: [PATCH 6/7] Cedartrail: Add a new recipe for Audio.
In reply to [email protected]Quoted 5 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
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
Quoted 92 lines
Signed-off-by Kishore Bodke <[email protected]>--- .../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-audiometa-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +30
-0@@ -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} +} +meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio new file +42
-0@@ -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 <[email protected]> +# 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
Re: [PATCH 7/7] Cedartrail: Update the README.
In reply to [email protected]Quoted 59 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
Update the README file with instructions to build
with pvr graphics driver.Signed-off-by Kishore Bodke <[email protected]>--- meta-cedartrail/README | 41 +++++++++++++++++++++++++++++++++++++++-- 1 files changed, 39 insertions(+), 2 deletions(-)meta-cedartrail/README +22
-2@@ -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
meta-cedartrail/README the syslinux boot: prompt, or the boot: prompt contains strange · line 141
Quoted 10 lines
meta-cedartrail/README +10
-0+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
Quoted 7 lines
meta-cedartrail/README +7
-0+ +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"
Quoted 31 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 10:47 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 0/7] [meta-intel] Cedartrail BSP updates with pvr Graphics driverQuoted 9 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
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.
Quoted 5 lines
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.
Quoted 5 lines
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.
Quoted 3 lines
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.
Quoted 74 lines
Thanks,
Tom
Quoted 4 lines
Thanks
Kishore.The following changes since commit
f89405e115d73426c8a6450b6e795b5885d6bdf3:Quoted 5 lines
MAINTAINERS: Add FRI2 maintainer (2012-03-23 09:46:15 -0700)are available in the git repository at:
git://git.pokylinux.org/meta-intel-contribkishore/cedartrail-pvr-updates
Quoted 1 line
contrib/log/?h=kishore/cedartrail-pvr-updates
Quoted 10 lines
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.Quoted 10 lines
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++++++++++++++++++++
Quoted 4 lines
.../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 +++-Quoted 8 lines
.../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
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-graphics/xorg-
xserver/xserver-xf86-config/cedartrail-nopvr/xorg.confQuoted 1 line
create mode 100644 meta-cedartrail/recipes-mediasamples/music-
samples/ogg-CC-BY-3.0-music-samples_0.1.bbQuoted 1 line
create mode 100644 meta-cedartrail/recipes-mediasamples/video-
samples/bigbuckbunny-ogg.bbQuoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
Quoted 1 line
Re: [PATCH 1/7] Cedartrail: Add PVR graphics support.
In reply to Tom ZanussiQuoted 50 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 10:56 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 1/7] Cedartrail: Add PVR graphics support.Hi Kishore,
Comments below...
Quoted 10 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
Adding PVR Graphics support and separate out
xorg.conf for building both with pvr and no-pvr.Signed-off-by Kishore Bodke <[email protected]>--- conf/machine/include/ia32-base.inc | 2 + .../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++ .../xorg-driver/cdv-pvr-driver_1.0.bb | 101++++++++++++++++++++
Quoted 4 lines
.../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
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-graphics/xorg-
xserver/xserver-xf86-config/cedartrail-nopvr/xorg.confReview
Quoted 2 lines
(quoted diff) +0
-0b/conf/machine/include/ia32-base.inc
conf/machine/include/ia32-base.inc XSERVER_IA32_EMGD = "emgd-driver-bin \ · line 68
Quoted 9 lines
index 9b2ef5a..d1bd0d7 100644
conf/machine/include/ia32-base.inc +2
-0@@ -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?
Quoted 5 lines
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.
Quoted 3 lines
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.
Quoted 298 lines
Review
Quoted 2 lines
(quoted diff) +0
-0driver.inc b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- driver.inc
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc line 1
Quoted 6 lines
new file mode 100644
index 0000000..0de6cbemeta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +1
-0@@ -0,0 +1,39 @@ +SUMMARY = "Cedartrail PowerVR Graphics Driver version [Gold] 1.0binaries"
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc line 2
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +1
-0+DESCRIPTION = "2D, 3D and Media user space driver for Cedartrailplatform \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc line 3
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +1
-0+The binaries are covered by the Intel Free Distribution BinaryLicense. \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
Quoted 3 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +3
-0+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 forinstructions \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
Quoted 3 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +3
-0+for enabling the build of the driver " + +MEEGO_MIRROR =meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
Quoted 5 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +5
-0+ +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 \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc line 15
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +1
-0+ file://${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
Quoted 7 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +7
-0+ + +INC_PR = "r0" + +DEPENDS = "rpm-native" + +FILES_${PN} += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/pvr/cdv${libdir}/xorg/modules/drivers"
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc line 23
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +1
-0+FILES_${PN}-dev += "${libdir}/dri ${libdir}/pvr/cdv/dri${libdir}/xorg/modules/drivers"
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc line 24
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +1
-0+FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug${libdir}/dri/.debug ${libdir}/pvr/cdv/dri/.debug"
Review
Quoted 16 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc new file +15
-0+ +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" + + +(quoted diff) +0
-0driver_1.0.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- driver_1.0.bb
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-
Quoted 4 lines
new file mode 100644
index 0000000..496da1emeta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +0
-0driver_1.0.bb
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 7
Quoted 8 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +7
-0@@ -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 \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 8
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ ${MEEGO_MIRROR}/oss/standard/i586/libwsbm-cdv-1.1.0-3.1.i586.rpm;name=wsbmrpm \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 9
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ ${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm;name=pvrrpm \
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 13
Quoted 4 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +4
-0+ " + +SRC_URI[pvrrpm.md5sum] = "951fa9edcbc2a3ddb30450079869362e" +SRC_URI[pvrrpm.sha256sum] ="
537dd8a98ac2e3a101063abc62682c3be8c37ac29782a876eafce113ffa5b421"meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 16
Quoted 3 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +3
-0+ +SRC_URI[psbrpm.md5sum] = "d4b6b383722264f3b781aeb240c88037" +SRC_URI[psbrpm.sha256sum] ="
e88f95fc73a79adf76ee33d3d9874cec23bb1afe8149d7dc5842d67e58da72f5"meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 19
Quoted 3 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +3
-0+ +SRC_URI[wsbmrpm.md5sum] = "8d90436b151ddf72f620771f2552b597" +SRC_URI[wsbmrpm.sha256sum] ="
82f78f47c151f0e7d567574ee372504e5b395fb13796caa765f9c30754b5bf63"meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 27
Quoted 8 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +8
-0+ + +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.txtmeta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 28
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+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.txtmeta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 40
Quoted 12 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +12
-0+ +} + + +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
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 42
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -m 0755 ${S}/usr/lib/*${D}${libdir}/
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 47
Quoted 5 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +5
-0+ + rpm2cpio ${S}/psb-video-cdv-0.12-1.1.i586.rpm | cpio -id + + + install -d -m 0755${D}${base_libdir}/firmware
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 49
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -m 0755 ${S}/usr/lib/dri/*${D}${libdir}/dri/
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 51
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -m 0755 ${S}/lib/firmware/*${D}${base_libdir}/firmware
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 55
Quoted 4 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +4
-0+ + rpm2cpio ${S}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm | cpio -id + + install -d -m 0755${D}${libdir}/pvr/cdv/dri
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 57
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -m 0755 ${S}/usr/lib/pvr/cdv/dri/*${D}${libdir}/pvr/cdv/dri
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 59
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -d -m 0755${D}${sysconfdir}/X11/xorg.conf.d
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 60
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/etc/powervr.ini${D}${sysconfdir}/
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 61
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/etc/X11/xorg.conf.d/*${D}${sysconfdir}/X11/xorg.conf.d/
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 62
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/dri/pvr_dri.so${D}${libdir}/dri/
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 63
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/*.so.*${D}${libdir}/
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 66
Quoted 3 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +3
-0+ + + install -m 0755 ${S}/usr/lib/libegl4ogl.so.1.7.788837${D}${libdir}/libegl4ogl.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 67
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libEGL.so.1.7.788837${D}${libdir}/libEGL.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 68
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837${D}${libdir}/libGLES_CM.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 69
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libGLES_CM.so.1.7.788837${D}${libdir}/libGLESv1_CM.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 70
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libGLESv2.so.1.7.788837${D}${libdir}/libGLESv2.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 71
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libglslcompiler.so.1.7.788837${D}${libdir}/libglslcompiler.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 72
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libIMGegl.so.1.7.788837${D}${libdir}/libIMGegl.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 73
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libOpenVG.so.1.7.788837${D}${libdir}/libOpenVG.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 74
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libOpenVGU.so.1.7.788837${D}${libdir}/libOpenVGU.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 75
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libpvr2d.so.1.7.788837${D}${libdir}/libpvr2d.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 76
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libPVROGL_MESA.so.1.7.788837${D}${libdir}/libPVROGL_MESA.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 77
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_BLITWSEGL.so.1.7.788837${D}${libdir}/libpvrPVR2D_BLITWSEGL.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 78
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_DRIWSEGL.so.1.7.788837${D}${libdir}/libpvrPVR2D_DRIWSEGL.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 79
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.7.788837${D}${libdir}/libpvrPVR2D_FLIPWSEGL.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 80
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755${S}/usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.7.788837
${D}${libdir}/libpvrPVR2D_LINUXFBWSEGL.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 81
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libPVRScopeServices.so.1.7.788837${D}${libdir}/libPVRScopeServices.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 82
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libsrv_init.so.1.7.788837${D}${libdir}/libsrv_init.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 83
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libsrv_um.so.1.7.788837${D}${libdir}/libsrv_um.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 84
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ install -m 0755 ${S}/usr/lib/libusc.so.1.7.788837${D}${libdir}/libusc.someta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 86
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -m 0755 ${S}/usr/lib/pvr/cdv/*.so.*${D}${libdir}/pvr/cdv/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 89
Quoted 3 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +3
-0+ + 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/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 91
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -d -m 0755${D}${libdir}/xorg/modules/driversmeta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 93
Quoted 2 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ + install -m 0755 ${S}/usr/lib/xorg/modules/drivers/*${D}${libdir}/xorg/modules/drivers/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 98
Quoted 5 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +5
-0+ + 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.txtmeta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- line 99
Quoted 1 line
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +1
-0+ 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.txtReview
Quoted 4 lines
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr- new file +2
-0+ +}(quoted diff) +0
-0
xf86-config/cedartrail-nopvr/xorg.confb/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.confmeta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-
Quoted 4 lines
new file mode 100644
index 0000000..da4fc3cmeta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86- new file +0
-0
config/cedartrail-nopvr/xorg.confReview
Quoted 28 lines
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86- new file +26
-0@@ -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(quoted diff) +0
-0
xf86-config/cedartrail/xorg.confb/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.confQuoted 2 lines
index da4fc3c..1d085a4 100644
--- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-
config/cedartrail/xorg.confQuoted 1 line
+++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-
config/cedartrail/xorg.confQuoted 22 lines
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf +6
-14@@ -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"meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf line 15
Quoted 10 lines
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf +2
-2EndSection 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
Re: [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples.
In reply to Tom ZanussiQuoted 44 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 10:57 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 3/7] Cedartrail: Add new recipes for audio and video samples.Quoted 8 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
This recipe adds sample Audio files and Video files for testing with pvr Acceleration driver.
Signed-off-by Kishore Bodke <[email protected]>--- .../ogg-CC-BY-3.0-music-samples_0.1.bb | 23+++++++++++++++++++
Quoted 1 line
.../video-samples/bigbuckbunny-ogg.bb | 24++++++++++++++++++++
Quoted 2 lines
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.bbQuoted 1 line
create mode 100644 meta-cedartrail/recipes-mediasamples/video-
samples/bigbuckbunny-ogg.bbReview
Quoted 2 lines
(quoted diff) +0
-0CC-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
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-
Quoted 4 lines
new file mode 100644
index 0000000..fd65cc7meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +0
-03.0-music-samples_0.1.bb
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- line 2
Quoted 3 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +2
-0@@ -0,0 +1,23 @@ +SUMMARY = "ogg file format music samples" +DESCRIPTION = "Installs ogg file format music samples in /home/Musicdir"
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- line 5
Quoted 3 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +3
-0+ +LICENSE = "CC-BY-3.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
Quoted 6 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- line 8
Quoted 3 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +3
-0+ +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.
Quoted 62 lines
Tom
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- line 11
Quoted 3 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +3
-0+PR = "r0" + +SRC_URI ="http://downloads.yoctoproject.org/releases/media/music/ogg-CC-BY-3.0- music-samples-${PV}.tar.bz2 \
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- line 15
Quoted 4 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +4
-0+ " + +SRC_URI[md5sum] = "dc3dd4adca69996edaffe8828e1ee165" +SRC_URI[sha256sum] ="
86381f8474d5ac2c80f54c951a8c22f67d352daa977341d3dfb4161e39ca3975"meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- line 20
Quoted 5 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +5
-0+ +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
Review
Quoted 4 lines
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY- new file +3
-0+} + +FILES_${PN} += "${base_prefix}/home/music/*.ogg"(quoted diff) +0
-0
samples/bigbuckbunny-ogg.bbb/meta-cedartrail/recipes- mediasamples/video-samples/bigbuckbunny-ogg.bbmeta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-
Quoted 4 lines
new file mode 100644
index 0000000..036721cmeta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- new file +0
-0ogg.bb
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- line 2
Quoted 3 lines
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- new file +2
-0@@ -0,0 +1,24 @@ +SUMMARY = "Big Buck Bunny video OGG sample " +DESCRIPTION = "Installs Big Buck Bunny Video OGG file samples in
/home/videodir "meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- line 5
Quoted 3 lines
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- new file +3
-0+ +LICENSE = "CC-BY-3.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- line 11
Quoted 6 lines
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- new file +6
-0+ +DEPENDS += " " + +PR = "r0" + +SRC_URI = "http://blender-
mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg \meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- line 16
Quoted 5 lines
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- new file +5
-0+ " + + +SRC_URI[md5sum] = "576424c653da53e31b86c027e55758ae" +SRC_URI[sha256sum] ="
785b09a585be55f81326a3fcef2cdeeb7ebbc33932b6305fd84209928df67f28"Quoted 8 lines
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny- new file +8
-0+ +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"
Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
In reply to Tom ZanussiQuoted 62 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 11:01 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.Quoted 5 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
These bbappend files pulls in the Audio, Video and Web Kit into the Image with
IMAGE_INSTALL.Quoted 7 lines
Signed-off-by Kishore Bodke <[email protected]>--- .../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
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
Review
Quoted 2 lines
(quoted diff) +0
-0dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato- dev.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..33283f4meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend new file +1
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Review
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend new file +1
-0+(quoted diff) +0
-0sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato- sdk.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..33283f4meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend new file +1
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Review
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend new file +1
-0+(quoted diff) +0
-0sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image- sato.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..4c1ccacmeta-cedartrail/recipes-sato/images/core-image-sato.bbappend new file +1
-0@@ -0,0 +1 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Quoted 2 lines
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.
Quoted 5 lines
Maybe creating separate test image recipes that do this would be more along the lines of what you wanted...
Tom
Re: [PATCH 6/7] Cedartrail: Add a new recipe for Audio.
In reply to Tom ZanussiQuoted 12 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 11:04 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 6/7] Cedartrail: Add a new recipe for Audio.Quoted 2 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
Quoted 7 lines
Quoted 3 lines
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.
Quoted 109 lines
Tom
Quoted 3 lines
Signed-off-by Kishore Bodke <[email protected]>--- .../cedartrail-audio/cedartrail-audio.bb | 30++++++++++++++
Quoted 1 line
.../cedartrail-audio/cedartrail-audio | 42++++++++++++++++++++
Quoted 2 lines
2 files changed, 72 insertions(+), 0 deletions(-) create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio/cedartrail-audio
Review
Quoted 2 lines
(quoted diff) +0
-0audio.bb b/meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail- audio.bb
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb line 2
Quoted 7 lines
new file mode 100644
index 0000000..9a43f02meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +2
-0@@ -0,0 +1,30 @@ +SUMMARY = "Provide a basic init script to enable audio" +DESCRIPTION = "Set the volume and unmute the Front mixer settingduring boot."
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
Quoted 3 lines
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +3
-0+SECTION = "base" +LICENSE = "MIT" +LIC_FILES_CHKSUM ="file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
Quoted 6 lines
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +6
-0+ +PR = "r0" + +inherit update-rc.d + +RDEPENDS = "alsa-utils-amixer"meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
Quoted 10 lines
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +10
-0+ +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
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb
Quoted 6 lines
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +6
-0+ 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}
Review
Quoted 4 lines
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-audio.bb new file +3
-0+ chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} +} +(quoted diff) +0
-0audio/cedartrail-audio b/meta-cedartrail/recipes-bsp/cedartrail- audio/cedartrail-audio/cedartrail-audio
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail-
Quoted 4 lines
new file mode 100644
index 0000000..efd08d3meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail- new file +0
-0audio/cedartrail-audio
Quoted 43 lines
meta-cedartrail/recipes-bsp/cedartrail-audio/cedartrail- new file +42
-0@@ -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 <[email protected]> +# 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
Re: [PATCH 7/7] Cedartrail: Update the README.
In reply to Tom ZanussiQuoted 80 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 11:07 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 7/7] Cedartrail: Update the README.Quoted 8 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
Update the README file with instructions to build
with pvr graphics driver.Signed-off-by Kishore Bodke <[email protected]>--- meta-cedartrail/README | 41+++++++++++++++++++++++++++++++++++++++--
meta-cedartrail/README common metadata shared between BSPs) e.g.: · line 55
Quoted 11 lines
1 files changed, 39 insertions(+), 2 deletions(-)meta-cedartrail/README +0
-1@@ -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 tolocal.conf:
meta-cedartrail/README Under Linux, insert a USB flash drive. Assuming the
Quoted 21 lines
meta-cedartrail/README +14
-0+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 theUSB flash drive
meta-cedartrail/README the syslinux boot: prompt, or the boot: prompt
Quoted 9 lines
meta-cedartrail/README +1
-1takes 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: promptcontains strange
Quoted 17 lines
meta-cedartrail/README +14
-0characters), 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 +-------------------------
Quoted 8 lines
meta-cedartrail/README the syslinux boot: prompt, or the boot: prompt contains strange · line 141
Quoted 3 lines
meta-cedartrail/README +3
-0+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.
Quoted 11 lines
Tom
Quoted 7 lines
meta-cedartrail/README +7
-0+ +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"
Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
In reply to Bodke, Kishore KQuoted 61 lines · Kishore K
Quoted 61 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 11:01 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.Quoted 5 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
These bbappend files pulls in the Audio, Video and Web Kit into the Image with
IMAGE_INSTALL.Quoted 7 lines
Signed-off-by Kishore Bodke <[email protected]>--- .../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
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
Review
Quoted 2 lines
(quoted diff) +0
-0dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato- dev.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..33283f4meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend new file +1
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Review
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato-dev.bbappend new file +1
-0+(quoted diff) +0
-0sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato- sdk.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..33283f4meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend new file +1
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Review
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend new file +1
-0+(quoted diff) +0
-0sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image- sato.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..4c1ccacmeta-cedartrail/recipes-sato/images/core-image-sato.bbappend new file +1
-0@@ -0,0 +1 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Quoted 7 lines
Quoted 2 lines
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
Quoted 9 lines
Thanks
Kishore.Quoted 5 lines
Maybe creating separate test image recipes that do this would be more along the lines of what you wanted...
Tom
Re: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.
Quoted 81 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 11:42 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: RE: [PATCH 4/7] Cedartrail: Add bbappend files to install Audio and Video files.Quoted 7 lines · Kishore K
Quoted 7 lines
-----Original Message-----
From: Zanussi, Tom
Sent: Monday, April 09, 2012 11:01 AM
To: Bodke, Kishore K
Cc: [email protected]
Subject: Re: [PATCH 4/7] Cedartrail: Add bbappend files to installAudio
Quoted 21 lines
Quoted 21 lines
and Video files.
Quoted 5 lines · On Tue, 2012-04-03 at 16:43 -0700, [email protected] wrote:
From: Kishore Bodke <[email protected]>
These bbappend files pulls in the Audio, Video and Web Kit into the Image with
IMAGE_INSTALL.Quoted 7 lines
Signed-off-by Kishore Bodke <[email protected]>--- .../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
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato-sdk.bbappend
Quoted 1 line
create mode 100644 meta-cedartrail/recipes-sato/images/core-image-sato.bbappend
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Review
Quoted 1 line
(quoted diff) +0
-0dev.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato- dev.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato-
Quoted 4 lines
new file mode 100644
index 0000000..33283f4meta-cedartrail/recipes-sato/images/core-image-sato- new file +0
-0dev.bbappend
Quoted 11 lines
Quoted 11 lines
meta-cedartrail/recipes-sato/images/core-image-sato- line 1
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato- new file +1
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Review
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato- new file +1
-0+(quoted diff) +0
-0sdk.bbappend b/meta-cedartrail/recipes-sato/images/core-image-sato- sdk.bbappend
meta-cedartrail/recipes-sato/images/core-image-sato-
Quoted 4 lines
new file mode 100644
index 0000000..33283f4meta-cedartrail/recipes-sato/images/core-image-sato- new file +0
-0sdk.bbappend
Quoted 7 lines
Quoted 7 lines
meta-cedartrail/recipes-sato/images/core-image-sato- line 1
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato- new file +1
-0@@ -0,0 +1,2 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples"
Review
Quoted 2 lines
meta-cedartrail/recipes-sato/images/core-image-sato- new file +1
-0+(quoted diff) +0
-0sato.bbappend b/meta-cedartrail/recipes-sato/images/core-image- sato.bbappend
Quoted 6 lines
Quoted 6 lines
meta-cedartrail/recipes-sato/images/core-image-sato.bbappend line 1
Quoted 6 lines
new file mode 100644
index 0000000..4c1ccacmeta-cedartrail/recipes-sato/images/core-image-sato.bbappend new file +1
-0@@ -0,0 +1 @@ +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-
Quoted 3 lines
Quoted 3 lines
samples"
These will always add the media files etc whenever anyone builds any
of
Quoted 3 lines
Quoted 1 line
these. Is that really what you want?
Yes. By default we wanted to have all these included when customer
Quoted 8 lines
builds
Quoted 3 lines
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.
Quoted 13 lines
Tom
Quoted 9 lines
Thanks
Kishore.Quoted 5 lines
Maybe creating separate test image recipes that do this would be more along the lines of what you wanted...
Tom