Source Download:

Please use the following command to clone the git repository of the MB8629x X11 Driver source code:

git-clone git://git.denx.de/x11_mb8629x.git

Building:

To build the drivers you must have the XFree86 sources.
The procedures of getting and unpacking these can vary
dependent on the type of OS which you are running.
If you use Debian Linux you can perform the following steps
to get and unpack the XFree86 sources:

(as "root") Make sure your package database is up to date:

# apt-get update

(as normal user) Go to your chosen build directory:

$ cd Coral-P

Get XFree86 sources:

$ apt-get source xserver-xfree86

Go to the directory where the package sources has been downloaded;
the name of this directory depends on the version of XFree86, for
example:

$ cd xfree86-4.3.0.dfsg.1

Create the build tree (unpack the package):

$ debian/rules setup

The directory 'build-tree' will be created and the package will
be unpacked in it.

Go to 'build-tree' directory and copy the contents of the
'x11_mb8629x'CVS tree on top of the 'xc' directory
in the Debian XFree86 build tree.

Go to the 'xc' directory in the build tree.

Set the KERNELSRC variable of
programs/Xserver/hw/xfree86/drivers/mb86290/Imakefile
to point to actual location of the MPC5200 Linux kernel sources.

Comment out the line '$(MAKE_CMD) $(MFLAGS) $(WORLDOPTS) World'
in the top-level Makefile in the 'xc' directory.
The line is located near the end of the 'World' in the following context:

There are some known limitations of the video capture software which you
need to be aware of:

The video picture cannot be scaled down in one direction (for
instance, horizontally) and at the same time scaled up in the other
direction (for instance, vertically). It can be either scaled down in both
directions (i.e. made smaller), or scaled up (i.e. made bigger).

The video picture cannot be overlapped by other windows. If this
happens, the video driver stops displaying video in the window.

A scaled up in vertical direction video picture is of a bad quality.

These limitations are actually due to limitations of the MB86295 hardware.
We don't believe that they can be overcome in software.