Epson S1D13708 Camera Accessories User Manual


 
Page 4 Epson Research and Development
Vancouver Design Center
S1D13708 Linux Console Driver
X39A-E-004-01 Issue Date: 01/11/14
Building the Console Driver for Linux Kernel 2.2.x
Follow the steps below to construct a copy of the Linux operating system using the
S1D13708 as the console display device. These instructions assume that the GNU devel-
opment environment is installed and the user is familiar with GNU and the Linux operating
system.
1. Acquire the Linux kernel source code.
You can obtain the Linux kernel source code from your Linux supplier or download
the source from: ftp://ftp.kernel.org.
The S1D13708 reference driver requires Linux kernel 2.2.x. The example S1D13708
reference driver available on www.erd.epson.com was built using Red Hat Linux 6.1,
kernel version 2.2.17.
For information on building the kernel refer to the readme file at:
ftp://ftp.linuxberg.com/pub/linux/kernel/README
Note
Before continuing with modifications for the S1D13708, you should ensure that you can
build and start the Linux operating system.
2. Unzip the console driver files.
Using a zip file utility, unzip the S1D13708 archive to a temporary directory. (e.g.
/tmp)
When completed the following files should be located in the temporary directory.
s1d13xxxfb.c
s1d13708.h
Config.in
fbmem.c
fbcon-cfb4.c, and
Makefile
3. Copy the console driver files to the build directory.
Copy the following files to the directory /usr/src/linux/drivers/video.
/tmp/s1d13xxxfb.c and
/tmp/s1d13708.h
Copy the remaining source files into the directory /usr/src/linux/drivers/video replac-
ing the files of the same name.
/tmp/Config.in
/tmp/fbmem.c
/tmp/fbcon-cfb4.c, and
/tmp/Makefile
If your kernel version is not 2.2.17, or you want to retain greater control of the build
process, use a text editor to cut and paste the sections dealing with the Epson driver in
the corresponding files of the same names.