Epson Research and Development

Page 7

Vancouver Design Center

 

 

 

Building the Console Driver for Linux Kernel 2.4.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.4.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.4.5.

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 S1D13705, 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 S1D13705 archive to a temporary directory. (e.g. /tmp)

When completed the files: Config.in

fbmem.c fbcon-cfb4.c Makefile

should be located in the temporary directory (/tmp), and the files: Makefile

s1d13xxxfb.c

s1d13705.h

should be located in a sub-directory called epson within the temporary directory (/tmp/epson).

3.Copy the console driver files to the build directory. Make the directory /usr/src/linux/drivers/video/epson.

Copy the files /tmp/epson/s1d13xxxfb.c /tmp/epson/s1d13705.h /tmp/epson/Makefile

to the directory /usr/src/linux/drivers/video/epson.

Linux Console Driver

S1D13705

Issue Date: 01/09/19

X27A-E-004-02

Page 271
Image 271
Epson S1D13705 Building the Console Driver for Linux Kernel, To the directory /usr/src/linux/drivers/video/epson