Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Writing Linux LCD drivers

Writing Linux LCD drivers
×÷ÕߣºJimSheng
Writing Linux LCD drivers
Abstract
1 LCD Module\Driver\Controller
2 Linux Frame Buffer Driver
2.1 Why Frame Buffer?
2.2 What is Frame Buffer Devices?
2.3 How to Write Frame Buffer Device Drivers?
3 Analysis of Linux Frame Buffer Driver Source Codes
3.1 fb.h
3.2 fbmem.c
4 Skeleton of LCD controller rivers
4.1 Allocate a system memory as video memory
4.2 Implement the fb_ops functions
Reference
Abstract
This material discusses how to write a Linux frame buffer LCD device driver.
1 LCD Module\Driver\Controller
Besides the datasheet of LCD devices, there are two quite good books (.pdf format) on LCD technology. Both of them are written in Chinese. One is “Òº¾§ÏÔʾ¼¼Êõ”, and the other is “Òº¾§ÏÔʾÆ÷¼þ”. The two books give almost all needed LCD knowledge, including introductions to hardware implementation of LCD devices and low level software programming used to operate LCD devices. This helps LCD circuits design and low level LCD programming.
2 Linux Frame Buffer Driver
2.1 Why Frame Buffer?
If GUIs (Graphic User Interface) such as MiniGUI, MicroWindows are used, LCD device drivers must be implemented as Linux frame buffer device drivers in addition to those low level operations which only deal with commands provided by LCD controllers.
2.2 What is Frame Buffer Devices?
The frame buffer device provides an abstraction for the graphics hardware. It represents the frame buffer of some video hardware and allows application software to access the graphics hardware through a well-defined interface, so the software doesn't need to know anything about the low-level (hardware register) stuff.
The device is accessed through special device nodes, usually located in the /dev directory, i.e. /dev/fb*.
More description about frame buffer device can be found in two txt files: linux /Documentation /fb /framebuffer.txt and linux /Documentation /fb /interal.txt
2.3 How to


Ïà¹ØÎĵµ£º

[תÔØ]Java°²×°ÅäÖã¨linux£©


°²×°java£º
´ò¿ªÖնˣ¬Ö´ÐÐÒÔÏÂÃüÁ»òʹÓÃAdept/ÐÂÁ¢µÃÈí¼þ¹ÜÀíÆ÷£¬ÔÚÆäÖзֱðËÑË÷"sun-java6-jre"ºÍ"sun-java6-jdk"²¢±ê¼Ç°²×°¡£
sudo apt-get install sun-java6-jre
Èç¹û¿Õ¼ä¸»Ô££¬½¨Òé°²×°Ò»¸öJDK¡£
sudo apt-get install sun-java6-jdk
Ìáʾ£º°²×°¹ý³ÌÖÐÐèÒªÄã»Ø´ðÊÇ·ñͬÒâʹÓÃЭÒ飨ÖÕ¶ËÖкìÀ¶É«µÄÌáʾ½çÃæ£ ......

ÈçºÎ½«windowsϵÄÎļþ¼Ð¹ÒÔص½ÐéÄâ»úLinuxϵͳÏÂ

        ÎÒËù½²µÄÊÇwindowsÕæʵϵͳÉÏÓÐvmwareµÄlinuxϵͳ£¬½«windowsϵÄÒ»¸öÎļþ¼Ð¹²Ïí£¬ÈçºÎ¹ÒÔص½ÐéÄâ»úµÄlinuxϵͳÏ£¬Ò²¾ÍÊÇÈçºÎÈÃlinuxϵͳÊÔÓÃwindowsϵÄÒ»¸öÎļþ¼Ð¡£
      ´ó¼ÒÒ²Ðí²»Ì«Ã÷°×£¬ÏÂÃæÎÒ¾Í×öһЩ½Øͼ
Ë«»÷share folder£¬Ò»¶¨Òª±£Ö¤sh ......

LinuxÉ豸Çý¶¯³ÌÐòѧϰ֮¸ß¼¶×Ö·ûÇý¶¯³ÌÐò

LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ­×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
½ñÌì½øÈ롶LinuxÉ豸Çý¶¯³ÌÐò£¨µÚ3°æ£©¡·µÚÁùÕ¸߼¶×Ö·ûÇý¶¯³ÌÐò²Ù×÷µÄѧϰ¡£
Ò»¡¢ioctl
´ó²¿·ÖÉ豸³ýÁ˶Á ......

LinuxÉ豸Çý¶¯³ÌÐòѧϰ֮Êý¾ÝÀàÐÍÓëÄÚ´æ·ÖÅä


LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ­×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
ÓÉÓÚÇ°ÃæµÄѧϰÖÐÓÐÓõ½ µÚʮһÕ ÄÚºËÊý¾Ý½á¹¹ÀàÐÍ µÄ֪ʶ£¬ËùÒÔÎÒÏÈ¿´ÁË¡£ÒªµãÈçÏ£º
½«linux ÒÆÖ²µ½Ð ......

Linux »ã±àÓïÑÔ¿ª·¢Ö¸ÄÏ

http://blog.chinaunix.net/u2/62910/showart_1090856.html
Linux »ã±àÓïÑÔ¿ª·¢Ö¸ÄÏ
»ã±àÓïÑÔµÄÓŵãÊÇËٶȿ죬¿ÉÒÔÖ±½Ó¶ÔÓ²¼þ½øÐвÙ×÷£¬Õâ¶ÔÖîÈçͼÐδ¦ÀíµÈ¹Ø¼üÓ¦ÓÃÊǷdz£ÖØÒªµÄ¡£Linux ÊÇÒ»¸öÓà C ÓïÑÔ¿ª·¢µÄ²Ù×÷ϵͳ£¬ÕâʹµÃºÜ¶à³ÌÐòÔ±¿ªÊ¼Íü¼ÇÔÚ Linux Öл¹¿ÉÒÔÖ±½ÓʹÓûã±àÕâÒ»µ×²ãÓïÑÔÀ´ÓÅ»¯³ÌÐòµÄÐÔÄÜ¡£±¾ÎÄΪÄÇÐ©Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ