Install Guide for
"lcd and touch screen driver for skyeye in armlinux"

			2004-04-23
			 yinwenchao

We add lcd and touch screen driver for armlinux, so armlinux running in skyeye can
use lcd and touch screen functions.

1. Decompress armlinux source package . 

2a The simple method:

Just copy examples/linux-2.4.x/* to linux-2.4.x's related directories:
.config to linux-2.4.x/
drivers/char/* to linux-2.4.x/drivers/char/

2b The second method:
2b.1 Add contents in these files,
changed files
------------------------------------------------------------
linux-2.4.x/.config
.....
(add some user applications)


linux-2.4.x/.config, should have below sentences
   CONFIG_LCD=y
   CONFIG_TOUCH_SCREEN=y
...

linux-2.4.x/drivers/char/Makefile, should have below sentences	
  	obj-$(CONFIG_LCD) += lcd_drv.o
	obj-$(CONFIG_TOUCH_SCREEN) += skyeye_ts_drv.o

linux-2.4.x/drivers/char/Config.in, should have below sentences


      tristate 'SkyEye LCD support(for EP7312)' CONFIG_LCD
      tristate 'SkyEye Touch Screen support(for EP7312)' CONFIG_TOUCH_SCREEN



2b.2 Add lcd_drv.[ch], lcd_struct.h, skyeye_ts_drv.[ch], ep7312_sys.h files to  linux/drivers/char/
to then build armlinux. 
You should not use the default kernel setting, but choice custom kernel
setting, and should choice below option to true in  
	Character devices --->SkyEye LCD support(for EP7312)
	Character devices --->SkyEye Touch Screen support(for EP7312)

3. Run armlinux
You should put file "skyeye.conf" in your working directory.

#skyeye vmlinux
>target sim
>load
>run
.....
\>/bin/demots
...