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 s1d13506.h
The file s1d13506.h contains the register values required to set the screen resolution,
color depth (bpp), display type, active display (LCD/CRT), display rotation, etc.
Before building the console driver, refer to the descriptions in the file s1d13506.h for
the default settings of the console driver. If the default does not match the configura-
tion you are building for then s1d13506.h will have to be regenerated with the correct
information.
Use the program 13506CFG to generate the required header file. For information on
how to use 13506CFG, refer to the 13506CFG Configuration Program User Manual,
document number X25B-B-001-xx, available at www.erd.epson.com
After selecting the desired configuration, choose “File->Export” and select the “C
Header File for S1D13506 Generic Drivers” option. Save the new configuration as
s1d13506.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”
“S1D13506 support”
“Advanced low level driver options”
“xBpp packed pixels support” *
* where x is the color depth being compiled for.
If you are using the Epson PCI evaluation board then you must also select:
“Epson PCI Bridge adapter support”
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
Issue Date: 01/03/20
S1D13506
X23B-E-004-01