
******************************************************
*
*
*  Production Version Release
*
*  	Fedora Core 6
*   	Ubuntu Mobile & Embedded (UME)
*	Moblin
*   	MIDINUX 2.0
*                                                       
*  Driver Revision: Production Version
*  
*
*  Graphics Driver Version: 2.0.1.32L.0016
*
*
*  June 6, 2008
*
*  NOTE:  This document refers to systems containing the 
*         following Intel chipsets: 
*
*     Intel(R) System Controller Hub (SCH)                
*
*                              
*	
*  Installation Information
*
*  This document makes references to products developed by
*  Intel. There are some restrictions on how these products
*  may be used, and what information may be disclosed to
*  others. Please read the Disclaimer section and contact
*  your Intel field representative if you would like more
*  information.
*
******************************************************
******************************************************
*  DISCLAIMER: Intel is making no claims of usability,
*  efficacy or warranty.  The INTEL SOFTWARE LICENSE
*  AGREEMENT contained herein completely defines the 
*  license and use of this software.
*
*  This document contains information on products in the 
*  design phase of development. The information here is 
*  subject to change without notice. Do not finalize a 
*  design with this information.
******************************************************


******************************************************
*  CONTENTS OF THIS DOCUMENT
******************************************************
*

This document contains the following sections:

1.  Installing the Software
	a - Install on MIDINUX2.0
	b - Install on UME
	c - Install on Moblin
	d - Install on Fedora Core 6

2.  Identifying the Software Version Number

*****************************************************
1a.	INSTALL ON MIDINUX 2.0
*****************************************************

	1) Shutdown your X-Server and login to a terminal as root
		From GUI-based desktop, Ctl-Alt-BackSpace will shutdown the X-Server,
		kill your desktop, and preset you with a login prompt to a terminal.

	2) Unpack tarball file downloaded from ARMS
		# tar -xzvf Intel-GMA500-2.0.1.32L.0016.tar.gz


	3) # cd <path_to_where_you_told_installer_to_put_driver_files>
		The latest Linux Graphics driver updates for RF are distributed as a 
		group of rpm files inside a compresses archive: Intel-GMA500-2.0.1.32L.0016-Midinux.tar.bz2

	5) Uncompress the archive to extract the rpm files: 
		# bunzip2 Intel-GMA500-2.0.1.32L.0016-Midinux.tar.bz2

		# tar -xvf Intel-GMA500-2.0.1.32L.0016-Midinux.tar
			kmod-psb-4.10-1.2.6.22.18_1.i686.rpm
			libdrm-2.3.0-18.i686.rpm
			libdrm-devel-2.3.0-18.i686.rpm
			libva-0.29-6.i686.rpm
			libva-devel-0.29-6.i686.rpm
			xorg-x11-drv-psb-0.14.0-1.i686.rpm
			install.sh

		
	6) Install each rpm as follows:
		# ./install.sh

	7) Reboot your machine
		# shutdown –r now


*****************************************************
1b.	INSTALL ON UME 
*****************************************************

	1) Unpack tarball file downloaded from ARMS
		# tar -xzvf Intel-GMA500-2.0.1.32L.0016.tar.gz

	2) unpack the compressed archive
		# tar -xjf Intel-GMA500-2.0.1.32L.0016-Ubuntu-Hardy-RC1.tar.bz2

	3) Locate the unpacked directory
		# cd Intel-GMA500-2.0.1.32L.0016-Ubuntu-Hardy-RC1

	4) Install graphics driver on target
		# dpkg -i --force-overwrite *.deb

	5) Reboot the target machine
		# shutdown -r now

Delevopment packages are provided in the dev/ directory. If you already have
some development packages installed it is recommended to install the 
driver and development packages together in one operation with:

	# tar -xvfz Intel-GMA500-2.0.1.32L.0016-Ubuntu-Hardy-RC1.tar.bz2
	# cd Intel-GMA500-2.0.1.32L.0015-Ubuntu-Hardy-RC1
	# dpkg -i --force-overwrite *.deb dev/*.deb

*****************************************************
1c.	INSTALL ON MOblin 
*****************************************************

	1) Unpack tarball file downloaded from ARMS
		# tar -xzvf Intel-GMA500-2.0.1.32L.0016.tar.gz

	2) unpack the compressed archive
		# tar -xjf Intel-GMA500-2.0.1.32L.0016-Moblin-Beta4.tar.bz2

	3) Locate the unpacked directory
		# cd Intel-GMA500-2.0.1.32L.0016-Moblin-Beta4

	4) Install graphics driver on target
		# dpkg -i --force-overwrite *.deb

	5) Reboot the target machine
		# shutdown -r now

Delevopment packages are provided in the dev/ directory. If you already have
some development packages installed it is recommended to install the 
driver and development packages together in one operation with:

	# tar -xvfz Intel-GMA500-2.0.1.32L.0016-Moblin-Beta4.tar.bz2
	# cd Intel-GMA500-2.0.1.32L.0016-Moblin-Beta4
	# dpkg -i --force-overwrite *.deb dev/*.deb


*****************************************************
1d.	INSTALL ON FEDORA CORE 6
*****************************************************

1) Install Fedora Core 6

2) Upgrade to kernel 2.6.20.11(need to build the kernel no RPM was found, 
   Aplly IDE patch, it will enable DMA mode on pouslbo. Use the .config file included)

3) Upgrade mesa to 6.5.2(fc7rpms)

4) Upgrade Xorg to 1.3(fc7rpms)

5) upgrade libdrm to 2.3.0(fc7rpms)

6) Upgraded libzdamage to 1.1.0 (fc7rpms)

7) Upgrade xrandr to 1.2(include randrProto,libXrandr, and xrandr app, upgrade 
   to xorg-x11-server-utils-7.2-1.fc7.rpm, make sure xrandr app overwrites old 
   installation located in /usr/local/bin)


	***********************************
	Build and Install of Graphics Driver
	on Fedora Core 6
	***********************************

	1) DRM Kernel driver

	    To build:

		tar xvzf psb-kmd-4.10.tar.gz 
		cd psb-kmd-4.10
		make psb.o

	    To install:

		cp -v psb.ko drm.ko /lib/modules/<yourkernelversion>/kernel/drivers/char/drm/
		cp -v drm.h psb_drm.h psb_reg.h /usr/include/drm
		depmod -a

	2) DRM Interface Library

	    To build:

		tar xvzf libdrm-2.3.0_10
		cd libdrm-2.3.0_10
		./configure --prefix=/usr
		make

	    To install:

		make install

	3) Video Accelleration API

	   To compile:

		tar xvzf libva-0.29_4.tar.gz        
		cd libva-0.29_4
		./autogen.sh --prefix=/usr
		make

	   To install:

	        make install


	4) Poulsbo Video driver

	   To Install:

		tar xvzf psb-vdieo-0.22.tar.gz  
		cd psb-vdieo-0.22
		cp -v psb_drv_video.so /usr/X11R6/lib/modules/dri/
		cp -v msvdx_fw.bin /lib/firmware 


	5) Poulsbo 2D Graphics driver

	   To compile:

		tar xvzf xf86-video-psb-0.14.0.tar.gz
		cd xf86-video-psb-0.14.0
		./autogen.sh --prefix=/usr
		make

	   To install:
	
		make install

	6) Poulsbo User mode 3D closed source module

	   To Install:

		tar xvzf Xpsb-0.10.tar.gz
		cd Xpsb-0.10
		cp -v Xpsb.so /usr/lib/xorg/modules/drivers

	7) Mesa 7.0.3_8

	   To install:
		tar xvzf mesa-7.0.3_8.tar.gz
		cd Mesa7.0.3_8
		make linux-dri-x86
		make install


	8) Poulsbo 3D Mesa DRI driver

	   To install:

		tar xvzf psb_dri-0.13.tar.gz
		cd psb_dri-0.13
		cp -v psb_dri.so /usr/lib/dri


	9) Final Platform Configuration

		copy xorg.poulsbo.conf to /etc/X11/xorg.conf
		reboot and startx


*********************************************************
2.  Identifying the Software Version Number
*********************************************************

The following section outlines the steps to check the
different build version associated with the graphics
driver modules.  The following is version definition
for the graphics driver


<a.b.c.32L.xxxx >
 | | |  |  |__|----- [xxxx] - Build Number
 | | |	|----------- [32.L] - 32bit Linux OS Support
 | | |-------------- [ c ]  - Hotfix Release
 | |---------------- [ b ]  - Major Release Version
 |------------------ [ a ]  - Product Family


For Example:
2.0.0.32L.0004
 | | |  | |__|------ [0004] - Build Number 4
 | | |	|----------- [32.L] - 32bit Linux OS Support
 | | |-------------- [ 0 ]  - No Hotfix Release
 | |---------------- [ 0 ]  - First Major Release
 |------------------ [ 2 ]  - Poulsbo Product Family


1) DRM Kernel driver (psb.ko)
	cat /var/log/Xorg.0.log | grep 32L

2) User mode 3D closed source module (Xpsb.so)
	cat /var/log/Xorg.0.log | grep 32L

3) 3D Mesa DRI driver
	For psb_dri.so 	glxinfo | grep 32L

4) Video Driver (psb_drv_video.so)
	cat /var/log/messages | grep 32L







