diff options
author | Kishore Bodke <kishore.k.bodke@intel.com> | 2012-04-10 11:41:06 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2012-04-12 09:09:07 -0500 |
commit | 15860ffb2164629c27f4bf49614efad5177441c4 (patch) | |
tree | eb8c660eace1efe702b0a885fa9543e1503e246a /meta-cedartrail/README | |
parent | 182b15dd73c607bfc95b8adb7a585f14e0c12a86 (diff) | |
download | meta-intel-15860ffb2164629c27f4bf49614efad5177441c4.tar.gz |
Cedartrail: Update the README.
Add instructions on how to build with pvr graphics
support and how to build with custom image.
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-cedartrail/README')
-rwxr-xr-x | meta-cedartrail/README | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/meta-cedartrail/README b/meta-cedartrail/README index 295e9ff7..493e8316 100755 --- a/meta-cedartrail/README +++ b/meta-cedartrail/README | |||
@@ -52,15 +52,38 @@ common metadata shared between BSPs) e.g.: | |||
52 | yocto/meta-intel \ | 52 | yocto/meta-intel \ |
53 | yocto/meta-intel/meta-cedartrail \ | 53 | yocto/meta-intel/meta-cedartrail \ |
54 | 54 | ||
55 | To enable the cedartrail layer, add the cedartrail MACHINE to local.conf: | 55 | To enable the cedartrail layer that supports Power VR graphics, |
56 | add the cedartrail MACHINE to local.conf: | ||
56 | 57 | ||
57 | MACHINE ?= "cedartrail" | 58 | MACHINE ?= "cedartrail" |
58 | 59 | ||
60 | Power VR Graphics user-space driver binaries are covered by a | ||
61 | "Intel Free Distribution Binary License". The build of this driver | ||
62 | can be enabled by adding the following line to the local.conf file: | ||
63 | |||
64 | LICENSE_FLAGS_WHITELIST += "license_cdv-pvr-driver_1.0" | ||
65 | |||
66 | To enable the layer that does not support Power VR graphics | ||
67 | add the following to the local.conf file: | ||
68 | |||
69 | MACHINE ?= "cedartrail-nopvr" | ||
70 | |||
71 | |||
59 | You should then be able to build a cedartrail image as such: | 72 | You should then be able to build a cedartrail image as such: |
60 | 73 | ||
61 | $ source oe-init-build-env | 74 | $ source oe-init-build-env |
62 | $ bitbake core-image-sato | 75 | $ bitbake core-image-sato |
63 | 76 | ||
77 | The above image will not give you the webkit feature and will not | ||
78 | have the Audio and Video media samples in the image. | ||
79 | |||
80 | If you want the webkit feature and Audio , Video media samples built | ||
81 | into the image by default, You should build the custom image by | ||
82 | doing the following: | ||
83 | |||
84 | $ source oe-init-build-env | ||
85 | $ bitbake core-image-cdv-media | ||
86 | |||
64 | At the end of a successful build, you should have a live image that | 87 | At the end of a successful build, you should have a live image that |
65 | you can boot from a USB flash drive (see instructions on how to do | 88 | you can boot from a USB flash drive (see instructions on how to do |
66 | that below, in the section 'Booting the images from /binary'). | 89 | that below, in the section 'Booting the images from /binary'). |
@@ -109,3 +132,27 @@ the syslinux boot: prompt, or the boot: prompt contains strange | |||
109 | characters), try doing this first: | 132 | characters), try doing this first: |
110 | 133 | ||
111 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 | 134 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 |
135 | |||
136 | Miscellaneous Notes | ||
137 | ==================== | ||
138 | |||
139 | Video and Music Samples | ||
140 | ----------------------- | ||
141 | This BSP includes recipes to download Ogg format video and | ||
142 | music files that can be played-back with the Video and music players | ||
143 | included in the sato images. The sample files are installed in | ||
144 | /home/Music and /home/Videos directories. | ||
145 | |||
146 | |||
147 | Adding Glxgears to image | ||
148 | ------------------------- | ||
149 | Glxgears can be added to the generated image by adding "tools-testapps" | ||
150 | option to the extra image features variable in the default local.conf | ||
151 | before building the BSP. | ||
152 | |||
153 | e.g. to add Glxgears, locate the following line in local.conf | ||
154 | EXTRA_IMAGE_FEATURES = "debug-tweaks" | ||
155 | |||
156 | and change above line to.. | ||
157 | |||
158 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps" | ||