cedartrail patches to support pvr graphics
cover cedartrail patches to support pvr graphics
From: Kishore Bodke <[email protected]>
These patch set adds the support for the following pvr graphics driver
EFI support for pvr graphics version of build. updates the SRCREVS.
Please pull into meta-intel/master.
Thanks
Kishore.
The following changes since commit b669b9363197a6af2014c5d54b2c651894e62a5e:
Romley: Add new bbappend file for 3.2 kernel (2012-04-05 16:35:11 -0700)
are available in the git repository at:
git://git.pokylinux.org/meta-intel-contrib kishore/cedartrail-pvr
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/cedartrail-pvr
Kishore Bodke (9):
Cedartrail: Split machine.conf
Cedartrail: Update SRCREVS and add EFI Support.
Cedartrail: split xorg.conf files.
Cedartrail: Add PVR graphics support.
Cedartrail: Add Cedartrail-nopvr statement.
Cedartrail: separte machconfig in recipes-bsp.
Cedartrail: Add new recipes for audio and video samples.
Cedartrail: Add new recipe for test image.
Cedartrail: Update the README.
meta-cedartrail/README | 49 +++++++++- meta-cedartrail/conf/machine/cedartrail-nopvr.conf | 19 ++++ meta-cedartrail/conf/machine/cedartrail.conf | 10 ++- .../formfactor/cedartrail-nopvr/machconfig | 3 + .../images/core-image-cdv-media-sdk.bb | 12 +++ .../images/core-image-cdv-media.bb | 13 +++ .../tasks/task-core-tools-profile.bbappend | 1 + .../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 | 25 ++--- .../linux/linux-yocto-rt_3.0.bbappend | 8 ++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 14 +++- .../ogg-CC-BY-3.0-music-samples_0.1.bb | 21 ++++ .../video-samples/bigbuckbunny-ogg.bb | 22 ++++ 15 files changed, 342 insertions(+), 21 deletions(-) create mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf create mode 100644 meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig create mode 100644 meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb create mode 100644 meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb 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
Signature · 1 line
1.7.5.4
PATCH 1/9 Cedartrail: Split machine.conf
From: Kishore Bodke <[email protected]>
Have two machine.conf files.
One for pvr and the other for no-pvr.
PVR machine.conf has the both pcbios and efi support. no-pvr has only pcbios support.
--- meta-cedartrail/conf/machine/cedartrail-nopvr.conf | 19 +++++++++++++++++++ meta-cedartrail/conf/machine/cedartrail.conf | 10 ++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
meta-cedartrail/conf/machine/cedartrail-nopvr.conf new file +19 -0
@@ -0,0 +1,19 @@ +#@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} \ + " + +SYSLINUX_OPTS = "serial 0 115200" +SERIAL_CONSOLE = "115200 ttyS0" +APPEND += "console=ttyS0,115200 console=tty0" +APPEND += "video=vesafb vga=0x318" +
meta-cedartrail/conf/machine/cedartrail.conf +8 -2
@@ -7,9 +7,15 @@ 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} \ + cdv-pvr-driver \ " +PREFERRED_VERSION_xserver-xorg ?= "1.9.3" +PREFERRED_VERSION_mesa-dri ?= "7.11" -APPEND += "video=vesafb vga=0x318" +SYSLINUX_OPTS = "serial 0 115200" +SERIAL_CONSOLE = "115200 ttyS0" +APPEND += "console=ttyS0,115200 console=tty0"
Signature · 1 line
1.7.5.4
PATCH 2/9 Cedartrail: Update SRCREVS and add EFI Support.
From: Kishore Bodke <[email protected]>
Add EFI support and update the SRCREVS for pvr version of build.
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 | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-)
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +8 -0
@@ -3,6 +3,14 @@ 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 +12 -2
@@ -3,6 +3,16 @@ 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/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
Re: [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
Quoted 17 lines · On 04/10/2012 11:55 AM, [email protected] wrote:
From: Kishore Bodke <[email protected]>
Add EFI support and update the SRCREVS for pvr version of build.
Add pvr merge scc file to pull in the pvr patches.Signed-off-by Kishore Bodke <[email protected]>--- .../linux/linux-yocto-rt_3.0.bbappend | 8 ++++++++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-)meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +0
-0
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend COMPATIBLE_MACHINE_cedartrail = "cedartrail" · line 8
Quoted 6 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +3
-0@@ -3,6 +3,14 @@ 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"
I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space.
The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend COMPATIBLE_MACHINE_cedartrail = "cedartrail" · line 12
Quoted 3 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +3
-0+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail" +KMACHINE_cedartrail-nopvr = "cedartrail" +KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"
Same here.
--
Darren
Quoted 27 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +1
-0+ # 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 +12
-2@@ -3,6 +3,16 @@ 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/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 · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
Quoted 8 lines
Review
Quoted 4 lines
KERNEL_FEATURES_append_cedartrail+= " cfg/smp.scc"(quoted diff) +2
-0+KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc" +KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc"
Quoted 1 line
+KERNEL_FEATURES_append_cedartrail += " cfg/efi-ext.scc"
Quoted 8 lines
I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space.
The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta
Hi Darren,
All the above are specific to pvr only. (cfg/drm-cdvpvr.scc , bsp/cedartrail/cedartrail-pvr-merge.scc, and cfg/efi-ext.scc) These are not needed for without pvr versions of the BSP.
I think if I move them to Cedartrail.scc, these will get pulled in for no-pvr version of the build and may cause the build to fail.
Thanks
Kishore.
Quoted 15 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend COMPATIBLE_MACHINE_cedartrail = "cedartrail" · line 12
Quoted 5 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +3
-0+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail" +KMACHINE_cedartrail-nopvr = "cedartrail" +KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"Same here.
--
Darren--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Re: [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
Quoted 12 lines · Kishore K
Quoted 12 lines
Review
Quoted 4 lines
KERNEL_FEATURES_append_cedartrail+= " cfg/smp.scc"(quoted diff) +2
-0+KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc" +KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc"
Quoted 1 line
+KERNEL_FEATURES_append_cedartrail += " cfg/efi-ext.scc"
I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space.
Quoted 8 lines
Quoted 4 lines
The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta
Hi Darren,
All the above are specific to pvr only.
You can't use EFI to boot the system with the pvr driver?
--
Darren
Quoted 23 lines
(cfg/drm-cdvpvr.scc , bsp/cedartrail/cedartrail-pvr-merge.scc, and cfg/efi-ext.scc)
These are not needed for without pvr versions of the BSP.
I think if I move them to Cedartrail.scc, these will get pulled in for no-pvr version of the build and may cause the build to fail.Thanks
Kishore.Quoted 15 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend COMPATIBLE_MACHINE_cedartrail = "cedartrail" · line 12
Quoted 5 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +3
-0+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail" +KMACHINE_cedartrail-nopvr = "cedartrail" +KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"Same here.
--
Darren--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
Quoted 30 lines
-----Original Message-----
From: Hart, Darren
Sent: Monday, April 23, 2012 12:33 PM
To: Bodke, Kishore K
Cc: [email protected]; Zanussi, Tom
Subject: Re: [yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.Quoted 4 lines · Kishore K
Quoted 4 lines
Review
Quoted 4 lines
KERNEL_FEATURES_append_cedartrail+= " cfg/smp.scc"(quoted diff) +2
-0+KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc" +KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-
Quoted 6 lines
Quoted 6 lines
merge.scc"
Quoted 1 line
+KERNEL_FEATURES_append_cedartrail += " cfg/efi-ext.scc"
I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the
BSP,
Quoted 7 lines
Quoted 6 lines
they don't need to be easily changed from recipe-space.
The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta
Quoted 5 lines
Quoted 3 lines
Hi Darren,
All the above are specific to pvr only.
You can't use EFI to boot the system with the pvr driver?
EFI is also for pvr build only. For without pvr builds EFI boot is not supported.
Thanks
Kishore.
Quoted 35 lines
--
DarrenQuoted 1 line
(cfg/drm-cdvpvr.scc , bsp/cedartrail/cedartrail-pvr-merge.scc, and
cfg/efi-ext.scc)
Quoted 2 lines
These are not needed for without pvr versions of the BSP.
I think if I move them to Cedartrail.scc, these will get pulled in forno-pvr version of the build and may cause the build to fail.
Quoted 20 lines
Thanks
Kishore.Quoted 15 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend COMPATIBLE_MACHINE_cedartrail = "cedartrail" · line 12
Quoted 5 lines
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +3
-0+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail" +KMACHINE_cedartrail-nopvr = "cedartrail" +KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"Same here.
--
Darren--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
PATCH 3/9 Cedartrail: split xorg.conf files.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Have two xorg.conf files.
One for pvr-graphics driver.
One for vesa graphics driver.
--- .../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 ++++++++++++++++++++ .../xserver-xf86-config/cedartrail/xorg.conf | 25 +++++++------------ 2 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
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 +9 -16
@@ -1,26 +1,19 @@ 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" Option "DontZap" "0" Option "AutoAddDevices" "False" EndSection +
Signature · 1 line
1.7.5.4
PATCH 4/9 Cedartrail: Add PVR graphics support.
In reply to [email protected]From: Kishore Bodke <[email protected]>
New recipe for PVR graphics support.
--- .../xorg-driver/cdv-pvr-driver.inc | 39 ++++++++ .../xorg-driver/cdv-pvr-driver_1.0.bb | 101 ++++++++++++++++++++ 2 files changed, 140 insertions(+), 0 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
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
Signature · 1 line
1.7.5.4
PATCH 5/9 Cedartrail: Add Cedartrail-nopvr statement.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Cedartrail-nopvr statement added to support
both pvr and nopvr versions.
--- .../tasks/task-core-tools-profile.bbappend | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta-cedartrail/recipes-core/tasks/task-core-tools-profile.bbappend +1 -0
@@ -1,2 +1,3 @@ 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 6/9 Cedartrail: separte machconfig in recipes-bsp.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Have two separte machconfig for supporting both
pvr and vesa version.
--- .../formfactor/cedartrail-nopvr/machconfig | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) create mode 100644 meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
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
Signature · 1 line
1.7.5.4
PATCH 7/9 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 | 21 +++++++++++++++++++ .../video-samples/bigbuckbunny-ogg.bb | 22 ++++++++++++++++++++ 2 files changed, 43 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 +21 -0
@@ -0,0 +1,21 @@ +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" + +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 +22 -0
@@ -0,0 +1,22 @@ +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" + +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 8/9 Cedartrail: Add new recipe for test image.
In reply to [email protected]From: Kishore Bodke <[email protected]>
This recipes builds the custom images with builtin features like web-kit and adds the Audio and Video media samples.
--- .../images/core-image-cdv-media-sdk.bb | 12 ++++++++++++ .../images/core-image-cdv-media.bb | 13 +++++++++++++ 2 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb create mode 100644 meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb new file +12 -0
@@ -0,0 +1,12 @@ +# +# Copyright (C) 2011 Intel Corporation. +# Author: Kishore Bodke +# [email protected] + +require recipes-sato/images/core-image-sato-sdk.bb + +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" + +LICENSE = "MIT" + +PR = "r0"
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb new file +13 -0
@@ -0,0 +1,13 @@ +# +# Copyright (C) 2011 Intel Corporation. +# Author: Kishore Bodke +# [email protected] +# + +require recipes-sato/images/core-image-sato.bb + +IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" + +LICENSE = "MIT" + +PR = "r0"
Signature · 1 line
1.7.5.4
PATCH 9/9 Cedartrail: Update the README.
In reply to [email protected]From: Kishore Bodke <[email protected]>
Add instructions on how to build with pvr graphics support and how to build with custom image.
--- meta-cedartrail/README | 49 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 48 insertions(+), 1 deletions(-)
meta-cedartrail/README +48 -1
@@ -52,15 +52,38 @@ 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 $ bitbake core-image-sato +The above image will not give you the webkit feature and will not +have the Audio and Video media samples in the image. + +If you want the webkit feature and Audio , Video media samples built +into the image by default, You should build the custom image by +doing the following: + + $ source oe-init-build-env + $ bitbake core-image-cdv-media + At the end of a successful build, you should have a live image that you can boot from a USB flash drive (see instructions on how to do that below, in the section 'Booting the images from /binary').
@@ -109,3 +132,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 "tools-testapps" +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