[yocto] [PATCH 7/7] Cedartrail: Update the README.

Tom Zanussi tom.zanussi at intel.com
Mon Apr 9 11:06:44 PDT 2012


On Tue, 2012-04-03 at 16:43 -0700, kishore.k.bodke at intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke at intel.com>
> 
> Update the README file with instructions to build
> with pvr graphics driver.
> 
> Signed-off-by: Kishore Bodke <kishore.k.bodke at intel.com>
> ---
>  meta-cedartrail/README |   41 +++++++++++++++++++++++++++++++++++++++--
>  1 files changed, 39 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-cedartrail/README b/meta-cedartrail/README
> index 295e9ff..f482cca 100755
> --- a/meta-cedartrail/README
> +++ b/meta-cedartrail/README
> @@ -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.

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

> +
> +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"





More information about the yocto mailing list