diff options
author | Kishore Bodke <kishore.k.bodke@intel.com> | 2013-02-08 14:18:58 -0800 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-02-16 10:01:30 -0600 |
commit | 1d6b218a45e43441ca6299b899c4d84ec976082c (patch) | |
tree | 1152df28cfdc2e0327ccf361afd241f0d111d004 /meta-cedartrail | |
parent | bfa92b97a9d8e4e19d770a87b42a59c16460c1b4 (diff) | |
download | meta-intel-1d6b218a45e43441ca6299b899c4d84ec976082c.tar.gz |
cedartrail: remove BSP
Cedartrail will not be supported in the Yocto 1.4 Release.
Remove it from meta-intel.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'meta-cedartrail')
20 files changed, 0 insertions, 656 deletions
diff --git a/meta-cedartrail/COPYING.MIT b/meta-cedartrail/COPYING.MIT deleted file mode 100755 index fb950dc6..00000000 --- a/meta-cedartrail/COPYING.MIT +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
2 | of this software and associated documentation files (the "Software"), to deal | ||
3 | in the Software without restriction, including without limitation the rights | ||
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
5 | copies of the Software, and to permit persons to whom the Software is | ||
6 | furnished to do so, subject to the following conditions: | ||
7 | |||
8 | The above copyright notice and this permission notice shall be included in | ||
9 | all copies or substantial portions of the Software. | ||
10 | |||
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
17 | THE SOFTWARE. | ||
diff --git a/meta-cedartrail/README b/meta-cedartrail/README deleted file mode 100755 index fe84c2de..00000000 --- a/meta-cedartrail/README +++ /dev/null | |||
@@ -1,199 +0,0 @@ | |||
1 | This README file contains information on building the meta-cedartrail | ||
2 | BSP layer, and booting the images contained in the /binary directory. | ||
3 | Please see the corresponding sections below for details. | ||
4 | |||
5 | The 'Cedar Trail' platform consists of the Intel® Atom™ | ||
6 | N2600/N2800/D2550 processor, plus the Intel® NM10 Express Chispset | ||
7 | (Cedarview + Tiger Point). | ||
8 | |||
9 | It also supports on-chip SGX545 graphics and media accelerator | ||
10 | via the Cedar Trail Power VR (PVR) graphics driver. | ||
11 | |||
12 | Further information about the platforms supported by this BSP can be | ||
13 | found here: | ||
14 | |||
15 | http://www.intel.com/p/en_US/embedded/hwsw/hardware/atom-n2000-d2000/overview | ||
16 | |||
17 | Information on all Intel® embedded platforms can be found here: | ||
18 | |||
19 | http://www.intel.com/p/en_US/embedded/hwsw/hardware | ||
20 | |||
21 | |||
22 | Compliance | ||
23 | ========== | ||
24 | |||
25 | This BSP is compliant with the Yocto Project as per the requirements | ||
26 | listed here: | ||
27 | |||
28 | https://www.yoctoproject.org/webform/yocto-project-compatible-registration | ||
29 | |||
30 | |||
31 | Dependencies | ||
32 | ============ | ||
33 | |||
34 | This layer depends on: | ||
35 | |||
36 | URI: git://git.openembedded.org/bitbake | ||
37 | branch: master | ||
38 | |||
39 | URI: git://git.openembedded.org/openembedded-core | ||
40 | layers: meta | ||
41 | branch: master | ||
42 | |||
43 | URI: git://git.yoctoproject.org/meta-intel | ||
44 | layers: intel | ||
45 | branch: master | ||
46 | |||
47 | |||
48 | Patches | ||
49 | ======= | ||
50 | |||
51 | Please submit any patches against this BSP to the Yocto mailing list | ||
52 | (yocto@yoctoproject.org) and cc: the maintainer: | ||
53 | |||
54 | Maintainer: Kishore Bodke <kishore.k.bodke@intel.com> | ||
55 | |||
56 | Please see the meta-intel/MAINTAINERS file for more details. | ||
57 | |||
58 | Table of Contents | ||
59 | ================= | ||
60 | |||
61 | I. Building the meta-cedartrail BSP layer | ||
62 | II. Booting the images in /binary | ||
63 | |||
64 | |||
65 | I. Building the meta-cedartrail BSP layer | ||
66 | ========================================= | ||
67 | |||
68 | In order to build an image with BSP support for a given release, you | ||
69 | need to download the corresponding BSP tarball from the 'Board Support | ||
70 | Package (BSP) Downloads' page of the Yocto Project website. | ||
71 | |||
72 | Having done that, and assuming you extracted the BSP tarball contents | ||
73 | at the top-level of your yocto build tree, you can build a cedartrail | ||
74 | image by adding the location of the meta-cedartrail layer to | ||
75 | bblayers.conf, along with the meta-intel layer itself (to access | ||
76 | common metadata shared between BSPs) e.g.: | ||
77 | |||
78 | yocto/meta-intel \ | ||
79 | yocto/meta-intel/meta-cedartrail \ | ||
80 | |||
81 | To enable the cedartrail layer that supports Power VR graphics, | ||
82 | add the cedartrail MACHINE to local.conf: | ||
83 | |||
84 | MACHINE ?= "cedartrail" | ||
85 | |||
86 | Power VR Graphics user-space driver binaries are covered by a | ||
87 | "Intel Free Distribution Binary License". The build of this driver | ||
88 | can be enabled by adding the following line to the local.conf file: | ||
89 | |||
90 | LICENSE_FLAGS_WHITELIST += "license_cdv-pvr-driver_1.0.3" | ||
91 | |||
92 | To enable the layer that does not support Power VR graphics | ||
93 | add the following to the local.conf file: | ||
94 | |||
95 | MACHINE ?= "cedartrail-nopvr" | ||
96 | |||
97 | |||
98 | You should then be able to build a cedartrail image as such: | ||
99 | |||
100 | $ source oe-init-build-env | ||
101 | $ bitbake core-image-sato | ||
102 | |||
103 | The above image will not give you the webkit feature and will not | ||
104 | have the Audio and Video media samples in the image. | ||
105 | |||
106 | If you want the webkit feature and Audio , Video media samples built | ||
107 | into the image by default, You should build the custom image by | ||
108 | doing the following: | ||
109 | |||
110 | $ source oe-init-build-env | ||
111 | $ bitbake core-image-cdv-media | ||
112 | |||
113 | At the end of a successful build, you should have a live image that | ||
114 | you can boot from a USB flash drive (see instructions on how to do | ||
115 | that below, in the section 'Booting the images from /binary'). | ||
116 | |||
117 | NOTE: The 'cedartrail' machine will include support for hardware video | ||
118 | acceleration via gstreamer if and only if the "commercial" string is | ||
119 | added to the the LICENSE_FLAGS_WHITELIST variable in your local.conf. | ||
120 | |||
121 | For example: | ||
122 | |||
123 | LICENSE_FLAGS_WHITELIST = "license_cdv-pvr-driver_1.0.3 commercial" | ||
124 | |||
125 | The reason this is needed is to prevent the image from including | ||
126 | anything that might violate the license terms of the packages used to | ||
127 | implement the the video acceleration feature, such as gst-ffmpeg and | ||
128 | ffmpeg. As always, please consult the licenses included in the | ||
129 | specific packages for details if you use packages that require | ||
130 | particular LICENSE_FLAGS. | ||
131 | |||
132 | As an alternative to downloading the BSP tarball, you can also work | ||
133 | directly from the meta-intel git repository. For each BSP in the | ||
134 | 'meta-intel' repository, there are multiple branches, one | ||
135 | corresponding to each major release starting with 'laverne' (0.90), in | ||
136 | addition to the latest code which tracks the current master. Instead | ||
137 | of extracting a BSP tarball at the top level of your yocto build tree, | ||
138 | you can equivalently check out the appropriate branch from the | ||
139 | meta-intel repository at the same location. | ||
140 | |||
141 | |||
142 | II. Booting the images in /binary | ||
143 | ================================== | ||
144 | |||
145 | This BSP contains bootable live images, which can be used to directly | ||
146 | boot Yocto off of a USB flash drive. | ||
147 | |||
148 | Under Linux, insert a USB flash drive. Assuming the USB flash drive | ||
149 | takes device /dev/sdf, use dd to copy the live image to it. For | ||
150 | example: | ||
151 | |||
152 | # dd if=core-image-sato-cedartrail-20120105232035.hddimg of=/dev/sdf | ||
153 | # sync | ||
154 | # eject /dev/sdf | ||
155 | |||
156 | This should give you a bootable USB flash device. Insert the device | ||
157 | into a bootable USB socket on the target, and power on. This should | ||
158 | result in a system booted to the Sato graphical desktop. | ||
159 | |||
160 | If you want a terminal, use the arrows at the top of the UI to move to | ||
161 | different pages of available applications, one of which is named | ||
162 | 'Terminal'. Clicking that should give you a root terminal. | ||
163 | |||
164 | If you want to ssh into the system, you can use the root terminal to | ||
165 | ifconfig the IP address and use that to ssh in. The root password is | ||
166 | empty, so to log in type 'root' for the user name and hit 'Enter' at | ||
167 | the Password prompt: and you should be in. | ||
168 | |||
169 | ---- | ||
170 | |||
171 | If you find you're getting corrupt images on the USB (it doesn't show | ||
172 | the syslinux boot: prompt, or the boot: prompt contains strange | ||
173 | characters), try doing this first: | ||
174 | |||
175 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 | ||
176 | |||
177 | Miscellaneous Notes | ||
178 | ==================== | ||
179 | |||
180 | Video and Music Samples | ||
181 | ----------------------- | ||
182 | This BSP includes recipes to download Ogg format video and | ||
183 | music files that can be played-back with the Video and music players | ||
184 | included in the sato images. The sample files are installed in | ||
185 | /home/Music and /home/Videos directories. | ||
186 | |||
187 | |||
188 | Adding Glxgears to image | ||
189 | ------------------------- | ||
190 | Glxgears can be added to the generated image by adding "tools-testapps" | ||
191 | option to the extra image features variable in the default local.conf | ||
192 | before building the BSP. | ||
193 | |||
194 | e.g. to add Glxgears, locate the following line in local.conf | ||
195 | EXTRA_IMAGE_FEATURES = "debug-tweaks" | ||
196 | |||
197 | and change above line to.. | ||
198 | |||
199 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps" | ||
diff --git a/meta-cedartrail/README.sources b/meta-cedartrail/README.sources deleted file mode 100755 index 0d4d849a..00000000 --- a/meta-cedartrail/README.sources +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | The sources for the packages comprising the images shipped with this | ||
2 | BSP can be found at the following location: | ||
3 | |||
4 | http://downloads.yoctoproject.org/mirror/sources/ | ||
5 | |||
6 | The metadata used to generate the images shipped with this BSP, in | ||
7 | addition to the code contained in this BSP, can be found at the | ||
8 | following location: | ||
9 | |||
10 | http://downloads.yoctoproject.org/releases/yocto/yocto-1.3/poky-danny-8.0.tar.bz2 | ||
11 | |||
12 | The metadata used to generate the images shipped with this BSP, in | ||
13 | addition to the code contained in this BSP, can also be found at the | ||
14 | following locations: | ||
15 | |||
16 | git://git.yoctoproject.org/poky.git | ||
17 | git://git.yoctoproject.org/meta-intel | ||
diff --git a/meta-cedartrail/binary/.gitignore b/meta-cedartrail/binary/.gitignore deleted file mode 100644 index e69de29b..00000000 --- a/meta-cedartrail/binary/.gitignore +++ /dev/null | |||
diff --git a/meta-cedartrail/conf/layer.conf b/meta-cedartrail/conf/layer.conf deleted file mode 100644 index 0166b35c..00000000 --- a/meta-cedartrail/conf/layer.conf +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have a recipes directory, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
7 | |||
8 | BBFILE_COLLECTIONS += "cedartrail" | ||
9 | BBFILE_PATTERN_cedartrail := "^${LAYERDIR}/" | ||
10 | BBFILE_PRIORITY_cedartrail = "6" | ||
11 | |||
12 | LAYERDEPENDS_cedartrail = "intel" | ||
diff --git a/meta-cedartrail/conf/machine/cedartrail-nopvr.conf b/meta-cedartrail/conf/machine/cedartrail-nopvr.conf deleted file mode 100644 index 7ccc6e16..00000000 --- a/meta-cedartrail/conf/machine/cedartrail-nopvr.conf +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: cedartrail-nopvr | ||
3 | |||
4 | #@WEBTITLE: Intel Atom N2600/N2800/D2550 (Formerly Cedarview) Processor with NM10 Chipset (Cedar Trail Platform) with Open Source VESA Graphics | ||
5 | |||
6 | #@DESCRIPTION: Machine configuration for Cedar Trail systems | ||
7 | # i.e. N2600/N2800/D2550 + NM10 | ||
8 | |||
9 | require conf/machine/include/tune-atom.inc | ||
10 | require conf/machine/include/ia32-base.inc | ||
11 | |||
12 | XSERVER ?= "${XSERVER_IA32_BASE} \ | ||
13 | ${XSERVER_IA32_EXT} \ | ||
14 | ${XSERVER_IA32_VESA} \ | ||
15 | " | ||
16 | |||
17 | SYSLINUX_OPTS = "serial 0 115200" | ||
18 | SERIAL_CONSOLE = "115200 ttyS0" | ||
19 | APPEND += "console=ttyS0,115200 console=tty0" | ||
20 | APPEND += "video=vesafb vga=0x318" | ||
21 | |||
diff --git a/meta-cedartrail/conf/machine/cedartrail.conf b/meta-cedartrail/conf/machine/cedartrail.conf deleted file mode 100644 index a5fa0f0b..00000000 --- a/meta-cedartrail/conf/machine/cedartrail.conf +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: cedartrail | ||
3 | |||
4 | #@WEBTITLE: Intel Atom N2600/N2800/D2550 (Formerly Cedarview) Processor with NM10 Chipset (Cedar Trail Platform) and PVR Accelerated Graphics | ||
5 | |||
6 | #@DESCRIPTION: Machine configuration for Cedar Trail systems | ||
7 | # i.e. N2600/N2800/D2550 + NM10 | ||
8 | |||
9 | require conf/machine/include/tune-atom.inc | ||
10 | require conf/machine/include/ia32-base.inc | ||
11 | |||
12 | MACHINE_FEATURES += "pcbios efi va-impl-intel" | ||
13 | |||
14 | XSERVER ?= "${XSERVER_IA32_BASE} \ | ||
15 | ${XSERVER_IA32_EXT} \ | ||
16 | cdv-pvr-driver \ | ||
17 | " | ||
18 | PREFERRED_VERSION_linux-yocto ?= "3.0%" | ||
19 | PREFERRED_VERSION_xserver-xorg ?= "1.9.3" | ||
20 | PREFERRED_VERSION_mesa-dri ?= "8.0.4" | ||
21 | PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0" | ||
22 | |||
23 | SYSLINUX_OPTS = "serial 0 115200" | ||
24 | SERIAL_CONSOLE = "115200 ttyS0" | ||
25 | APPEND += "console=ttyS0,115200 console=tty0" | ||
26 | |||
27 | VA_FEATURES ?= "gst-va-intel va-intel" | ||
28 | |||
29 | MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}" | ||
diff --git a/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig b/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig deleted file mode 100644 index ffce0122..00000000 --- a/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # Assume a USB mouse and keyboard are connected | ||
2 | HAVE_TOUCHSCREEN=0 | ||
3 | HAVE_KEYBOARD=1 | ||
diff --git a/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig b/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig deleted file mode 100644 index ffce0122..00000000 --- a/meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # Assume a USB mouse and keyboard are connected | ||
2 | HAVE_TOUCHSCREEN=0 | ||
3 | HAVE_KEYBOARD=1 | ||
diff --git a/meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend deleted file mode 100644 index 2a3ee7a2..00000000 --- a/meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | PRINC := "${@int(PRINC) + 2}" | ||
diff --git a/meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb b/meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb deleted file mode 100644 index 364d7b78..00000000 --- a/meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | # | ||
2 | # Copyright (C) 2011 Intel Corporation. | ||
3 | # Author: Kishore Bodke | ||
4 | # kishore.k.bodke@intel.com | ||
5 | |||
6 | require recipes-sato/images/core-image-sato-sdk.bb | ||
7 | |||
8 | IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" | ||
9 | |||
10 | LICENSE = "MIT" | ||
11 | |||
12 | PR = "r0" | ||
diff --git a/meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb b/meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb deleted file mode 100644 index a13ea099..00000000 --- a/meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | # | ||
2 | # Copyright (C) 2011 Intel Corporation. | ||
3 | # Author: Kishore Bodke | ||
4 | # kishore.k.bodke@intel.com | ||
5 | # | ||
6 | |||
7 | require recipes-sato/images/core-image-sato.bb | ||
8 | |||
9 | IMAGE_INSTALL += "web-webkit bigbuckbunny-ogg ogg-CC-BY-3.0-music-samples" | ||
10 | |||
11 | LICENSE = "MIT" | ||
12 | |||
13 | PR = "r0" | ||
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb deleted file mode 100644 index ebb58911..00000000 --- a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb +++ /dev/null | |||
@@ -1,197 +0,0 @@ | |||
1 | SUMMARY = "Cedartrail PowerVR Graphics Driver version 1.0.3 binaries" | ||
2 | DESCRIPTION = "2D, 3D and Media user space driver for Cedartrail platform \ | ||
3 | The binaries are covered by the Intel Free Distribution Binary License. \ | ||
4 | The user must make himself/herself aware of the Licensing terms \ | ||
5 | before enabling build of the Cedartrail PowerVR Graphics Driver via \ | ||
6 | this recipe. Please see the README in meta-cedartrail for instructions \ | ||
7 | for enabling the build of the driver " | ||
8 | |||
9 | LICENSE_FLAGS = "license_${PN}_${PV}" | ||
10 | LICENSE = "Intel Free Distribution Binary License" | ||
11 | LIC_FILES_CHKSUM = " \ | ||
12 | file://${S}/usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \ | ||
13 | file://${S}/usr/share/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65" | ||
14 | |||
15 | DEPENDS = "rpm-native libva" | ||
16 | |||
17 | PR = "r5" | ||
18 | |||
19 | PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm" | ||
20 | PSB-VIDEO-REV = "1.0.3" | ||
21 | |||
22 | PVR-BIN = "pvr-bin-cdv-1.0.3-1.1.i586.rpm" | ||
23 | PVR-BIN-REV = "1.7.862890" | ||
24 | PVR-BIN-REV_N = "1.7.862890_05" | ||
25 | PVR-BIN-REV_LIC = "1.0.3" | ||
26 | PVR-BIN-DEV = "pvr-bin-cdv-devel-1.0.3-1.1.i586.rpm" | ||
27 | |||
28 | LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm" | ||
29 | LIBWSBM-DEV = "libwsbm-cdv-devel-1.1.0-3.1.i586.rpm" | ||
30 | |||
31 | |||
32 | NON-OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/" | ||
33 | OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/oss/ia32/packages/" | ||
34 | |||
35 | |||
36 | SRC_URI = "${NON-OSS-PATH}${PSB-VIDEO};name=psbrpm;unpack=0 \ | ||
37 | ${NON-OSS-PATH}${PVR-BIN};name=pvrrpm;unpack=0 \ | ||
38 | ${NON-OSS-PATH}${PVR-BIN-DEV};name=pvrrpmdev;unpack=0 \ | ||
39 | ${OSS-PATH}${LIBWSBM};name=wsbmrpm;unpack=0 \ | ||
40 | ${OSS-PATH}${LIBWSBM-DEV};name=wsbmrpmdev;unpack=0 \ | ||
41 | " | ||
42 | SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303" | ||
43 | SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf" | ||
44 | |||
45 | SRC_URI[pvrrpmdev.md5sum] = "e8f0815b5bbf94311a7cf229451f651f" | ||
46 | SRC_URI[pvrrpmdev.sha256sum] = "facb67f6b8413504e7ba570a4e3e3ee20cb90d7bd02b303653f9ce5cc4fd7b20" | ||
47 | |||
48 | SRC_URI[psbrpm.md5sum] = "ec486193dc4b3f91bc7c5e18d9ca9d8a" | ||
49 | SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac" | ||
50 | |||
51 | SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7" | ||
52 | SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0" | ||
53 | |||
54 | SRC_URI[wsbmrpmdev.md5sum] = "895d0cafd878fcbe4e2f845b8e09eea3" | ||
55 | SRC_URI[wsbmrpmdev.sha256sum] = "605ba605a2617ee67863d5becac114ce7f4ea440854543f75465e16f463bad70" | ||
56 | |||
57 | |||
58 | # make sure generated rpm packages get non conflicting names | ||
59 | PKG_${PN} = "cdv-pvr-driver" | ||
60 | PKG_${PN}-dev = "cdv-pvr-driver-dev" | ||
61 | PKG_${PN}-dbg = "cdv-pvr-driver-dbg" | ||
62 | PKG_${PN}-doc = "cdv-pvr-driver-doc" | ||
63 | |||
64 | S = "${WORKDIR}/cdv-graphics-drivers_${PV}" | ||
65 | |||
66 | # These are closed binaries generated elsewhere so don't check ldflags | ||
67 | INSANE_SKIP_${PN} = "ldflags" | ||
68 | |||
69 | # Don't try stripping, as the binaries are already stripped | ||
70 | INHIBIT_PACKAGE_STRIP = "1" | ||
71 | |||
72 | # .so files in these binaries are not symlinks. Rearange package order | ||
73 | # so that they go to ${PN} instead of $PN}-dev | ||
74 | PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN} ${PN}-dev ${PN}-doc ${PN}-locale" | ||
75 | |||
76 | |||
77 | FILES_${PN} += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/pvr/cdv ${libdir}/xorg/modules/drivers" | ||
78 | |||
79 | FILES_${PN} += "${base_libdir}/firmware" | ||
80 | FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d" | ||
81 | |||
82 | FILES_${PN} += "${libdir}/lib*.so" | ||
83 | |||
84 | FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers" | ||
85 | |||
86 | FILES_${PN} += "${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt" | ||
87 | FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt" | ||
88 | |||
89 | RDEPENDS_${PN} = "xserver-xorg-module-exa" | ||
90 | |||
91 | # Add the ABI dependency at package generation time, as otherwise bitbake will | ||
92 | # attempt to find a provider for it (and fail) when it does the parse. | ||
93 | # | ||
94 | # This version *must* be kept correct. | ||
95 | python populate_packages_prepend() { | ||
96 | pn = d.getVar("PN", True) | ||
97 | d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8") | ||
98 | } | ||
99 | |||
100 | TARGET_CC_ARCH += "${CFLAGS}{LDFLAGS}" | ||
101 | INSANE_SKIP_${PN} += "ldflags" | ||
102 | INSANE_SKIP_${PN}-dbg += "ldflags" | ||
103 | |||
104 | do_configure () { | ||
105 | |||
106 | # Extract license files from rpms | ||
107 | rpm2cpio.sh ${WORKDIR}/${PSB-VIDEO} |cpio -ivd ./usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt | ||
108 | rpm2cpio.sh ${WORKDIR}/${PVR-BIN} |cpio -ivd ./usr/share/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt | ||
109 | |||
110 | } | ||
111 | |||
112 | do_install() { | ||
113 | |||
114 | mv ${WORKDIR}/*.rpm ${S} | ||
115 | |||
116 | rpm2cpio.sh ${S}/${LIBWSBM} | cpio -id | ||
117 | |||
118 | install -d -m 0755 ${D}${libdir}/dri | ||
119 | |||
120 | install -m 0755 ${S}/usr/lib/* ${D}${libdir}/ | ||
121 | |||
122 | rpm2cpio.sh ${S}/${PSB-VIDEO} | cpio -id | ||
123 | |||
124 | install -d -m 0755 ${D}${base_libdir}/firmware | ||
125 | |||
126 | install -m 0755 ${S}/usr/lib/dri/* ${D}${libdir}/dri/ | ||
127 | |||
128 | install -m 0755 ${S}/lib/firmware/* ${D}${base_libdir}/firmware | ||
129 | |||
130 | rpm2cpio.sh ${S}/${PVR-BIN} | cpio -id | ||
131 | |||
132 | install -d -m 0755 ${D}${libdir}/pvr/cdv/dri | ||
133 | |||
134 | install -m 0755 ${S}/usr/lib/pvr/cdv/dri/* ${D}${libdir}/pvr/cdv/dri | ||
135 | |||
136 | install -d -m 0755 ${D}${sysconfdir}/X11/xorg.conf.d | ||
137 | install -m 0755 ${S}/etc/powervr.ini ${D}${sysconfdir}/ | ||
138 | install -m 0755 ${S}/etc/X11/xorg.conf.d/* ${D}${sysconfdir}/X11/xorg.conf.d/ | ||
139 | install -m 0755 ${S}/usr/lib/dri/pvr_dri.so ${D}${libdir}/dri/ | ||
140 | install -m 0755 ${S}/usr/lib/*.so.* ${D}${libdir}/ | ||
141 | |||
142 | |||
143 | install -m 0755 ${S}/usr/lib/libegl4ogl.so.${PVR-BIN-REV} ${D}${libdir}/libegl4ogl.so | ||
144 | install -m 0755 ${S}/usr/lib/libEGL.so.${PVR-BIN-REV} ${D}${libdir}/libEGL.so | ||
145 | install -m 0755 ${S}/usr/lib/libGLES_CM.so.${PVR-BIN-REV} ${D}${libdir}/libGLES_CM.so | ||
146 | install -m 0755 ${S}/usr/lib/libGLES_CM.so.${PVR-BIN-REV} ${D}${libdir}/libGLESv1_CM.so | ||
147 | install -m 0755 ${S}/usr/lib/libGLESv2.so.${PVR-BIN-REV} ${D}${libdir}/libGLESv2.so | ||
148 | install -m 0755 ${S}/usr/lib/libglslcompiler.so.${PVR-BIN-REV} ${D}${libdir}/libglslcompiler.so | ||
149 | install -m 0755 ${S}/usr/lib/libIMGegl.so.${PVR-BIN-REV} ${D}${libdir}/libIMGegl.so | ||
150 | install -m 0755 ${S}/usr/lib/libOpenVG.so.${PVR-BIN-REV} ${D}${libdir}/libOpenVG.so | ||
151 | install -m 0755 ${S}/usr/lib/libOpenVGU.so.${PVR-BIN-REV} ${D}${libdir}/libOpenVGU.so | ||
152 | install -m 0755 ${S}/usr/lib/libpvr2d.so.${PVR-BIN-REV} ${D}${libdir}/libpvr2d.so | ||
153 | install -m 0755 ${S}/usr/lib/libPVROGL_MESA.so.${PVR-BIN-REV} ${D}${libdir}/libPVROGL_MESA.so | ||
154 | install -m 0755 ${S}/usr/lib/libpvrPVR2D_BLITWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_BLITWSEGL.so | ||
155 | install -m 0755 ${S}/usr/lib/libpvrPVR2D_DRIWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_DRIWSEGL.so | ||
156 | install -m 0755 ${S}/usr/lib/libpvrPVR2D_FLIPWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_FLIPWSEGL.so | ||
157 | install -m 0755 ${S}/usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_LINUXFBWSEGL.so | ||
158 | install -m 0755 ${S}/usr/lib/libPVRScopeServices.so.${PVR-BIN-REV} ${D}${libdir}/libPVRScopeServices.so | ||
159 | install -m 0755 ${S}/usr/lib/libsrv_init.so.${PVR-BIN-REV} ${D}${libdir}/libsrv_init.so | ||
160 | install -m 0755 ${S}/usr/lib/libsrv_um.so.${PVR-BIN-REV} ${D}${libdir}/libsrv_um.so | ||
161 | install -m 0755 ${S}/usr/lib/libusc.so.${PVR-BIN-REV} ${D}${libdir}/libusc.so | ||
162 | |||
163 | install -m 0755 ${S}/usr/lib/pvr/cdv/*.so.* ${D}${libdir}/pvr/cdv/ | ||
164 | |||
165 | install -d -m 0755 ${D}${libdir}/pvr/cdv/xorg/modules/drivers | ||
166 | install -m 0755 ${S}/usr/lib/pvr/cdv/xorg/modules/drivers/* ${D}${libdir}/pvr/cdv/xorg/modules/drivers/ | ||
167 | |||
168 | install -d -m 0755 ${D}${libdir}/xorg/modules/drivers | ||
169 | |||
170 | install -m 0755 ${S}/usr/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/ | ||
171 | |||
172 | install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV} | ||
173 | install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_N} | ||
174 | |||
175 | rpm2cpio.sh ${S}/${PVR-BIN-DEV} | cpio -id | ||
176 | install -d -m 0644 ${D}${includedir} | ||
177 | install -d -m 0644 ${D}${includedir}/GLES | ||
178 | install -d -m 0644 ${D}${includedir}/VG | ||
179 | install -d -m 0644 ${D}${includedir}/GLES2 | ||
180 | install -d -m 0644 ${D}${includedir}/KHR | ||
181 | install -d -m 0644 ${D}${includedir}/EGL | ||
182 | |||
183 | install -m 0644 ${S}/${includedir}/GLES/*.h ${D}${includedir}/GLES | ||
184 | install -m 0644 ${S}/${includedir}/VG/*.h ${D}${includedir}/VG | ||
185 | install -m 0644 ${S}/${includedir}/GLES2/*.h ${D}${includedir}/GLES2 | ||
186 | install -m 0644 ${S}/${includedir}/KHR/*.h ${D}${includedir}/KHR | ||
187 | install -m 0644 ${S}/${includedir}/EGL/*.h ${D}${includedir}/EGL | ||
188 | |||
189 | rpm2cpio.sh ${S}/${LIBWSBM-DEV} | cpio -id | ||
190 | install -d -m 0644 ${D}${includedir}/wsbm | ||
191 | |||
192 | install -m 0644 ${S}/${includedir}/wsbm/*.h ${D}${includedir}/wsbm | ||
193 | install -m 0644 ${S}/${libdir}/libwsbm.so ${D}${libdir}/libwsbm.so | ||
194 | |||
195 | 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 | ||
196 | |||
197 | } | ||
diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf deleted file mode 100644 index da4fc3c6..00000000 --- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Section "Device" | ||
2 | Identifier "Generic VESA" | ||
3 | Driver "vesa" | ||
4 | EndSection | ||
5 | |||
6 | Section "Monitor" | ||
7 | Identifier "Generic Monitor" | ||
8 | Option "DPMS" | ||
9 | EndSection | ||
10 | |||
11 | Section "Screen" | ||
12 | Identifier "Default Screen" | ||
13 | Device "Generic VESA" | ||
14 | Monitor "Generic Monitor" | ||
15 | DefaultDepth 24 | ||
16 | EndSection | ||
17 | |||
18 | Section "ServerLayout" | ||
19 | Identifier "Default Layout" | ||
20 | Screen "Default Screen" | ||
21 | EndSection | ||
22 | |||
23 | Section "ServerFlags" | ||
24 | Option "DontZap" "0" | ||
25 | Option "AutoAddDevices" "False" | ||
26 | EndSection | ||
diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf deleted file mode 100644 index d7c6a59a..00000000 --- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | Section "Device" | ||
2 | Option "DRIDisableVSync" "False" | ||
3 | Identifier "Card0" | ||
4 | Driver "pvr" | ||
5 | BusID "PCI:0:2:0" | ||
6 | Option "SoftEXA" "Off" | ||
7 | Option "FlipChain" "On" | ||
8 | EndSection | ||
9 | |||
10 | Section "ServerLayout" | ||
11 | Identifier "default screen" | ||
12 | Option "AIGLX" "on" | ||
13 | EndSection | ||
14 | |||
15 | Section "ServerFlags" | ||
16 | Option "DontZap" "0" | ||
17 | Option "AutoAddDevices" "False" | ||
18 | EndSection | ||
19 | |||
diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted file mode 100644 index 72d991c7..00000000 --- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend deleted file mode 100644 index 2248c884..00000000 --- a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | COMPATIBLE_MACHINE_cedartrail = "cedartrail" | ||
3 | KMACHINE_cedartrail = "cedartrail" | ||
4 | |||
5 | KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc" | ||
6 | KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc" | ||
7 | KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc" | ||
8 | KERNEL_FEATURES_append_cedartrail += " cfg/efi-ext.scc" | ||
9 | |||
10 | COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail" | ||
11 | KMACHINE_cedartrail-nopvr = "cedartrail" | ||
12 | KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc" | ||
13 | |||
14 | |||
15 | # Update the following to use a different BSP branch or meta SRCREV | ||
16 | #KBRANCH_cedartrail = "yocto/standard/preempt-rt/base" | ||
17 | #SRCREV_machine_pn-linux-yocto-rt_cedartrail ?= XXXX | ||
18 | #SRCREV_meta_pn-linux-yocto-rt_cedartrail ?= XXXX | ||
diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend deleted file mode 100644 index 440cd773..00000000 --- a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI_cedartrail = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=${KBRANCH},meta,yocto/pvr;name=machine,meta,pvr" | ||
4 | |||
5 | SRC_URI_cedartrail-nopvr = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | ||
6 | |||
7 | COMPATIBLE_MACHINE_cedartrail = "cedartrail" | ||
8 | KMACHINE_cedartrail = "cedartrail" | ||
9 | KBRANCH_cedartrail = "yocto/standard/cedartrail" | ||
10 | KERNEL_FEATURES_append_cedartrail += "bsp/cedartrail/cedartrail-pvr-merge.scc" | ||
11 | KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc" | ||
12 | |||
13 | COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail" | ||
14 | KMACHINE_cedartrail-nopvr = "cedartrail" | ||
15 | KBRANCH_cedartrail-nopvr = "yocto/standard/cedartrail" | ||
16 | KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc" | ||
17 | |||
18 | SRCREV_machine_pn-linux-yocto_cedartrail ?= "${AUTOREV}" | ||
19 | SRCREV_meta_pn-linux-yocto_cedartrail ?= "${AUTOREV}" | ||
20 | SRCREV_pvr_pn-linux-yocto_cedartrail ?= "${AUTOREV}" | ||
21 | |||
22 | SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= "${AUTOREV}" | ||
23 | SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= "${AUTOREV}" | ||
diff --git a/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb b/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb deleted file mode 100644 index 796cd612..00000000 --- a/meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | SUMMARY = "ogg file format music samples" | ||
2 | DESCRIPTION = "Installs ogg file format music samples in /home/Music dir" | ||
3 | |||
4 | LICENSE = "CC-BY-3.0" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "http://downloads.yoctoproject.org/releases/media/music/ogg-CC-BY-3.0-music-samples-${PV}.tar.bz2 \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "dc3dd4adca69996edaffe8828e1ee165" | ||
13 | SRC_URI[sha256sum] = "86381f8474d5ac2c80f54c951a8c22f67d352daa977341d3dfb4161e39ca3975" | ||
14 | |||
15 | do_install() { | ||
16 | |||
17 | install -d ${D}${base_prefix}/home/music | ||
18 | install -m 0644 ${WORKDIR}/ogg-CC-BY-3.0-music-samples-${PV}/*/*.ogg ${D}${base_prefix}/home/music | ||
19 | } | ||
20 | |||
21 | FILES_${PN} += "${base_prefix}/home/music/*.ogg" | ||
diff --git a/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb b/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb deleted file mode 100644 index 3b658e0d..00000000 --- a/meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SUMMARY = "Big Buck Bunny video OGG sample " | ||
2 | DESCRIPTION = "Installs Big Buck Bunny Video OGG file samples in /home/video dir " | ||
3 | |||
4 | LICENSE = "CC-BY-3.0" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "http://blender-mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg \ | ||
10 | " | ||
11 | |||
12 | |||
13 | SRC_URI[md5sum] = "576424c653da53e31b86c027e55758ae" | ||
14 | SRC_URI[sha256sum] = "785b09a585be55f81326a3fcef2cdeeb7ebbc33932b6305fd84209928df67f28" | ||
15 | |||
16 | do_install() { | ||
17 | |||
18 | install -d ${D}${base_prefix}/home/Videos | ||
19 | install -m 0644 ${WORKDIR}/*.ogg ${D}${base_prefix}/home/Videos | ||
20 | } | ||
21 | |||
22 | FILES_${PN} += "${base_prefix}/home/Videos/*.ogg" | ||