Skip to contentSkip to conversation

meta-cedartrail: Update README, Fix Package Rename issue & Add dev headers

PATCH In review [email protected] 2 participants 5 messages Oct 18, 2012

lore
Share & tools
lore
#0 lore raw

cover meta-cedartrail: Update README, Fix Package Rename issue & Add dev headers

From: Rahul Saxena <[email protected]>

This patch series does the following:
-- Update README with product name and state Gfx acceleration support -- Fix package naming issue: Yocto bugzilla bug #3286. -- Add development headers in pvr driver recipe

Pl pull into master branch

Thanks
Rahul
--
The following changes since commit 5164713bfbef16e1a49bc599ec0d738df52ab254:

meta-crystalforest: Update SRCREV for meta. (2012-10-15 14:38:40 -0500)

are available in the git repository at:
git://git.pokylinux.org/meta-intel-contrib master16oct-rsaxena
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=master16oct-rsaxena

Rahul Saxena (3):
meta-cedartrail: Update README with product name and state Gfx
acceleration support
meta-cedartrail: Fix package naming issue
meta-cedartrail: Add development packages to pvr driver recipe

 meta-cedartrail/README                             |    7 ++++
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb            |   39 +++++++++++++++++++-
 2 files changed, 45 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/3 meta-cedartrail: Update README with product name and state Gfx acceleration support

From: Rahul Saxena <[email protected]>

Add CPU and Chipset product names. Explicitly state support for Gfx & Media acceleration.

---
 meta-cedartrail/README |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
meta-cedartrail/README +7 -0
index 81a1260..bd00d19 100755
@@ -2,6 +2,13 @@ This README file contains information on building the meta-cedartrail
 BSP layer, and booting the images contained in the /binary directory.
 Please see the corresponding sections below for details.
 
+The 'Cedar Trail' platform consists of the Cedarview (Intel® Atom™
+N2600, N2800 and D2550) processor, plus the Tiger Point
+(Intel® NM10 Express) Chipset. 
+
+It also supports on-chip SGX545 graphics and media accelerator
+via the Cedar Trail Power VR (PVR) graphics driver.
+
 Dependencies
 ============
 
Signature · 1 line
1.7.4.1
#2 lore raw

PATCH 2/3 meta-cedartrail: Fix package naming issue

From: Rahul Saxena <[email protected]>

cdv-pvr-driver was generating rpm packages with name "libwsbm" This name can potentialy clash with other package names. Fix this problem by specifying package names in the recipe with the PKG_ vars
This fixes bug: [YOCTO #3286]

---
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb            |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb +7 -1
index cd3407c..2f44649 100644
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \
 
 DEPENDS = "rpm-native libva"
 
-PR = "r2"
+PR = "r3"
 
 PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm"
 PSB-VIDEO-REV = "1.0.3"
@@ -44,6 +44,12 @@ SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c
 SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7"
 SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0"
 
+# make sure generated rpm packages get non conflicting names
+PKG_${PN} = "cdv-pvr-driver"
+PKG_${PN}-dev = "cdv-pvr-driver-dev"
+PKG_${PN}-dbg = "cdv-pvr-driver-dbg"
+PKG_${PN}-doc = "cdv-pvr-driver-doc"
+
 S  = "${WORKDIR}/cdv-graphics-drivers_${PV}"
 
 # These are closed binaries generated elsewhere so don't check ldflags
Signature · 1 line
1.7.4.1
#3 lore raw

PATCH 3/3 meta-cedartrail: Add development packages to pvr driver recipe

In reply to [email protected]

From: Rahul Saxena <[email protected]>

Add header files from development packages

---
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb            |   33 +++++++++++++++++++-
 1 files changed, 32 insertions(+), 1 deletions(-)
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb +32 -1
index 2f44649..e9d4ede 100644
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \
 
 DEPENDS = "rpm-native libva"
 
-PR = "r3"
+PR = "r4"
 
 PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm"
 PSB-VIDEO-REV = "1.0.3"
@@ -23,8 +23,10 @@ PVR-BIN = "pvr-bin-cdv-1.0.3-1.1.i586.rpm"
 PVR-BIN-REV = "1.7.862890"
 PVR-BIN-REV_N = "1.7.862890_05"
 PVR-BIN-REV_LIC = "1.0.3"
+PVR-BIN-DEV = "pvr-bin-cdv-devel-1.0.3-1.1.i586.rpm"
 
 LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm"
+LIBWSBM-DEV = "libwsbm-cdv-devel-1.1.0-3.1.i586.rpm"
 
 
 NON-OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/"
@@ -33,17 +35,26 @@ OSS-PATH =     "http://repo.meego.com/MeeGo/updates/1.2.0/repos/oss/ia32/package
 
 SRC_URI = "${NON-OSS-PATH}${PSB-VIDEO};name=psbrpm;unpack=0 \
 	   ${NON-OSS-PATH}${PVR-BIN};name=pvrrpm;unpack=0 \
+	   ${NON-OSS-PATH}${PVR-BIN-DEV};name=pvrrpmdev;unpack=0 \
 	   ${OSS-PATH}${LIBWSBM};name=wsbmrpm;unpack=0 \
+	   ${OSS-PATH}${LIBWSBM-DEV};name=wsbmrpmdev;unpack=0 \
 		"
 SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303"
 SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf"
 
+SRC_URI[pvrrpmdev.md5sum] = "e8f0815b5bbf94311a7cf229451f651f"
+SRC_URI[pvrrpmdev.sha256sum] = "facb67f6b8413504e7ba570a4e3e3ee20cb90d7bd02b303653f9ce5cc4fd7b20"
+
 SRC_URI[psbrpm.md5sum] =  "ec486193dc4b3f91bc7c5e18d9ca9d8a"
 SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac"
 
 SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7"
 SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0"
 
+SRC_URI[wsbmrpmdev.md5sum] = "895d0cafd878fcbe4e2f845b8e09eea3"
+SRC_URI[wsbmrpmdev.sha256sum] = "605ba605a2617ee67863d5becac114ce7f4ea440854543f75465e16f463bad70"
+
+
 # make sure generated rpm packages get non conflicting names
 PKG_${PN} = "cdv-pvr-driver"
 PKG_${PN}-dev = "cdv-pvr-driver-dev"
@@ -149,6 +160,26 @@ do_install() {
 	install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}
 	install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_N}
 
+        rpm2cpio.sh  ${S}/${PVR-BIN-DEV}  | cpio -id
+	install -d -m 0644 ${D}${includedir}
+	install -d -m 0644 ${D}${includedir}/GLES
+	install -d -m 0644 ${D}${includedir}/VG
+	install -d -m 0644 ${D}${includedir}/GLES2
+	install -d -m 0644 ${D}${includedir}/KHR
+	install -d -m 0644 ${D}${includedir}/EGL
+
+        install -m 0644 ${S}/${includedir}/GLES/*.h				${D}${includedir}/GLES
+        install -m 0644 ${S}/${includedir}/VG/*.h				${D}${includedir}/VG
+        install -m 0644 ${S}/${includedir}/GLES2/*.h				${D}${includedir}/GLES2
+        install -m 0644 ${S}/${includedir}/KHR/*.h				${D}${includedir}/KHR
+        install -m 0644 ${S}/${includedir}/EGL/*.h				${D}${includedir}/EGL
+
+	rpm2cpio.sh ${S}/${LIBWSBM-DEV} | cpio -id
+	install -d -m 0644 ${D}${includedir}/wsbm
+
+        install -m 0644 ${S}/${includedir}/wsbm/*.h				${D}${includedir}/wsbm
+        install -m 0644 ${S}/${libdir}/libwsbm.so				${D}${libdir}/libwsbm.so
+
 	install -m 0755 ${S}/usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt
 
 }
Signature · 1 line
1.7.4.1
#4 lore raw
In reply to [email protected]
Quoted 9 lines · On Wed, 2012-10-17 at 17:27 -0700, [email protected] wrote:

From: Rahul Saxena <[email protected]>

This patch series does the following:
-- Update README with product name and state Gfx acceleration support -- Fix package naming issue: Yocto bugzilla bug #3286. -- Add development headers in pvr driver recipe

Pl pull into master branch

Pulled into meta-intel/master.

Thanks,

Tom

Quoted 21 lines

Thanks
Rahul
--
The following changes since commit 5164713bfbef16e1a49bc599ec0d738df52ab254:

meta-crystalforest: Update SRCREV for meta. (2012-10-15 14:38:40 -0500)

are available in the git repository at:
git://git.pokylinux.org/meta-intel-contrib master16oct-rsaxena
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=master16oct-rsaxena

Rahul Saxena (3):
meta-cedartrail: Update README with product name and state Gfx
acceleration support
meta-cedartrail: Fix package naming issue
meta-cedartrail: Add development packages to pvr driver recipe

 meta-cedartrail/README                             |    7 ++++
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb            |   39 +++++++++++++++++++-
 2 files changed, 45 insertions(+), 1 deletions(-)