⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 howto_build_frame_buffer_drivers.html

📁 S1D13XXX LINUX 驱动 S1D13XX是彩色液晶屏驱动芯片
💻 HTML
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.6 [en] (WinNT; I) [Netscape]">
   <title>HOWTO Build a Frame Buffer Driver</title>
</head>
<body>
<div align="center">
	<table border="0" width="600" id="table1">
		<tr>
			<td>
<img SRC="images\Tux_visor.JPG" NOSAVE height=113 width=90></td>
			<td>
			<p align="center"><font size="6" color="#3333FF"><b>Building the<br>
			</b><font face="Arial Black">EPSON</font><b><br>
			Frame Buffer Display Driver</b></font></td>
			<td>
<img SRC="images\Tux_visor.JPG" NOSAVE height=113 width=90></td>
		</tr>
	</table>
	<p>&nbsp;</p>
	<table border="0" width="500" id="table2">
		<tr>
			<td>
			<p align="justify">The following steps assume the kernel sources are in <b>/usr/src/linux</b>.
			It is also assumed the patch file version matches the Linux kernel version. 
			For illustration purposes we assume the kernel to be Linux-2.4.26. We also
assume you are familiar with the kernel build and boot process.<p align="justify">
			To build
an Epson frame buffer display driver,&nbsp; follow these steps:

			<ol>
				<li>First apply the patch file.<br>
				Copy the file <b>s1d13xxxfb-2.4.26.diff.gz</b>
in the directory <b>/usr/src/linux</b> and issue the commands:<b><br>
				<br>
&nbsp;&nbsp;&nbsp; cd /usr/src/linux<br>
&nbsp;&nbsp;&nbsp; gzip -cd s1d13xxxfb-2.4.26.diff.gz | patch -Np1<br>
				</b>&nbsp;</li>
				<li>Having patched the kernel, you must provide hardware values
for the video controller and display you will use. The driver patch file comes with
default configuration values, however it is likely they will not reflect your
particular hardware configuration. The easiest method to create new values for 
				your hardware configuration is to modify the
existing header file with your values. For example, if you plan on
building a driver for S1D13733, you would modify the file <b>/usr/src/linux/drivers/video/epson/s1d13733.h</b>.<br>
				<br>The other option to obtain the configuration values would be to generate the 
				complete include file based on your
hardware requirements using the Win32 based configuration utility. There
is a configuration utility for each supported controller. The utility is available at&nbsp; the
				<a href="http://www.erd.epson.com/vdc/html/products.htm">EPSON
web site</a> , typically called S1DxxxxxCFG (where xxxxx is 13706, 13733,
13A05, etc.). Beware the generated include file will
be in DOS text file format and <font color="#FF0000">MUST</font> be converted
to the Linux text file format by a utility such as dos2unix.<br>&nbsp;</li>
				<li>
				<p align="justify">In the directory <b>/usr/src/linux</b> run the command<b><br>
				<br>
&nbsp;&nbsp;&nbsp; make menuconfig<br>
				<br>
				</b>Select<b><br>
				<br>
&nbsp;&nbsp;&nbsp; Code maturity level options--></b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [y] Prompt for development
and/or incomplete code/drivers</b>
<br>
				<br>
				Under Console drivers we must select support for frame buffer devices
and choose our chip from the Epson chips menu. The following assumes we
want to support S1D13733 on an Epson 13733B00C evaluation board:
<p>&nbsp;<b>&nbsp; Console drivers--></b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Frame-buffer support---></b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [y] Support for
frame buffer devices</b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EPSON LCD/CRT/TV
controller drivers ---></b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[y] Epson LCD/CRT/TV controller support</b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[y] Epson S1D13733 Support</b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[y]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Epson PCI Bridge adapter support</b>
<p align="justify">Finally, select the desired color depth (bits per pixel: bpp).
Only one color depth at a time is supported, so you must first deselect
all color depths and then select the one you want. The menu permits
selecting color depths which are not supported by some Epson controllers or the display driver.
In this case you will be notified by a forced error during the build time.
You will get a similar error if you fail to select a single color depth.
<p><b>&nbsp;Console drivers--></b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Frame-buffer support---></b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [y] Advanced low level driver
options</b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;y> 16 bpp packed pixel support</b>
<p>As part of this step, disable all options that say VGA. You should also disable 
				support for display mode switching.<br>
&nbsp;</li>
				<li>Back in the console under <b>/usr/src/linux</b> run the command<b><br>
				<br>&nbsp;&nbsp;
				make dep</b> <br><b>&nbsp;&nbsp; make bzImage</b> </li>
				</ol>
				<p align="justify">If the kernel builds without an error you should be able to boot the
new kernel with your new frame buffer display driver.
				</p>
				<p align="justify">If you are using Epson development/evaluation
boards which includes an external clock generation chip, make sure the board is jumpered to use oscillators and not 
				the on board
clock chip. The external clock chips are not supported by this driver.</td>
			</tr>
		</table>
		<p>&nbsp;</p>
		<p>&nbsp;</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -