Epson Research and Development

Page 5

Vancouver Design Center

 

 

 

If your kernel version is not 2.2.17 or you want to retain greater control of the build process then use a text editor and cut and paste the sections dealing with the Epson driver in the corresponding files of the same names.

4.Modify s1d13705.h

The file s1d13705.h contains the register values required to set the screen resolution, color depth (bpp), display type, display rotation, etc.

Before building the console driver, refer to the descriptions in the file s1d13705.h for the default settings of the console driver. If the default does not match the configura- tion you are building for then s1d13705.h will have to be regenerated with the correct information.

Use the program 13705CFG to generate the required header file. For information on how to use 13705CFG, refer to the 13705CFG Configuration Program User Manual, document number X27A-B-001-xx, available at www.erd.epson.com

After selecting the desired configuration, choose “File->Export” and select the “C Header File for S1D13705 Generic Drivers” option. Save the new configuration as s1d13705.h in the /usr/src/linux/drivers/video, replacing the original configuration file.

5.Configure the video options.

From the command prompt in the directory /usr/src/linux run the command: make menuconfig

This command will start a text based interface which allows the selection of build time parameters. From the text interface under “Console drivers” options, select:

“Support for frame buffer devices” “Epson LCD/CRT controllers support” “S1D13705 support”

“Advanced low level driver options” “xBpp packed pixels support” *

* where x is the color depth being compile for.

Once you have configured the kernel options, save and exit the configuration utility.

6.Compile and install the kernel

Build the kernel with the following sequence of commands: make dep

make clean make bzImage /sbin/lilo (if running lilo)

Linux Console Driver

S1D13705

Issue Date: 01/09/19

X27A-E-004-02

Page 269
Image 269
Epson S1D13705 technical manual Epson Research and Development