
April 2007
                                                        Version 0.2beta

cctl - command line program to turn on/off parts of the TS7200/EP930x
       and to alter things like the CPU freq.
	
	
Usage:   cctl [-v] [-w] [-i file] [-o file] [commands]

         -v    verbose flag
	 -w    commit changes specified in commands
	    
This program is dangerous! It can change many system registers
that control the way the EP930x processor and its subsystems operate.
It can also control the TS72xx ethernet interface power, turning it on/off.

The program can read and decode many of system registers, using names
as used in the Cirrus EP930x user manual. It is urged that this program
be used in conjunctionwith the processor user manual - available from
the Technologics web site 

  http://www. embeddedarm.com/downloads/Components/EP9301_User_Guide.pdf

For info on the TS7200 board see    

  http://www.embeddedarm.com/products/board-detail.php?product=TS-7200
  
for more details.

The latest version of this program can be got from....

 http://www.comp.leeds.ac.uk/jj/linux/cctl.tgz

It is provided under the terms of the GNU General Public License - see the
file COPYING for details.

Compiling
---------

Makefile is setup to use the Technologic Systems provided Cross compilation 
tool chain. Check out their Linux for ARM page  
  
  http://www.embeddedarm.com/software/software-arm-linux.php

for their latest precompiled cross-compilation tool chain.

Edit the Makefile for your setup.

compilation should be fairly simple just type "make".

Installation is a little complex in cross-compiling environments.

In the Makefile there is an install rule - ensure you edit the Makefile
to install in the correct place for your system, or simply copy the executable
"cctl" to the right place.

The man page is not done. There is info on the program in the file
cctl.txt which explains the commands and command structure, along with 
some examples.

The ts7200 specific routines are in the file ts7200.c with header file
ts7200.h (only a prototype at moment). These routines can be used in other
programs. At the moment you'll have to read the source files for more info.
Sorry.

Jim Jackson
<jj@franjam.org.uk>
http://www.comp.leeds.ac.uk/jj
http://www.comp.leeds.ac.uk/jj/linux/arm-sbc.html


