Page 8

Epson Research and Development

 

Vancouver Design Center

 

 

Copy the remaining source files /tmp/Config.in /tmp/fbmem.c /tmp/fbcon-cfb4.c /tmp/Makefile

into the directory /usr/src/linux/drivers/video replacing the files of the same name.

If your kernel version is not 2.4.5 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 options presented select:

“Code maturity level” options

“Prompt for development and/or incomplete drivers” “Console drivers” options

“Frame-buffer support”

“Support for frame buffer devices (EXPERIMENTAL)” “EPSON LCD/CRT/TV controller support”

“EPSON 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.

S1D13705

Linux Console Driver

X27A-E-004-02

Issue Date: 01/09/19

Page 272
Image 272
Epson S1D13705 technical manual Vancouver Design Center