Page 4 Epson Research and Development
Vancouver Design Center
S1D13705 Linux Console Driver
X27A-E-004-02 Issue Date: 01/09/19
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
S1D13705 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 S1D13705 reference driver requires Linux kernel 2.2.x or greater. The example
S1D13705 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 refe r to the readme file at:
ftp://ftp.linuxberg.com/pub/linux/kernel/README
Note
Before continuing with modifications for the S1D13705, you should ensure that you c an
build and start the Linux operating system.
2. Unzip the console driver files.
Using a zip file utility, unzip the S1D13705 archive to a temporary directory. (e.g.
/tmp)
When completed the files:
s1d13xxxfb.c
s1d13705.h
Config.in
fbmem.c
fbcon-cfb4.c, and
Makefile
should be located in the temporary directory.
3. Copy the console driver files to the build directory.
Copy the files
/tmp/s1d13xxxfb.c and
/tmp/s1d13705.h
to the directory /usr/src/linux/drivers/video.
Copy the remaining source files
/tmp/Config.in
/tmp/fbmem.c
/tmp/fbcon-cfb4.c, and
/tmp/Makefile
into the directory /usr/src/linux/drive rs /video replacing the files of the same name.