ǶÈëʽLinuxϲÊÉ«LCDÇý¶¯µÄÉè¼ÆÓëʵÏÖ
ǶÈëʽLinuxϲÊÉ«LCDÇý¶¯µÄÉè¼ÆÓëʵÏÖ
ÕªÒª£º±¾ÎĽéÉÜÁËÈçºÎÔÚǶÈëÔÚ¿ª·¢²ÊÉ«LCDÏÔʾÇý¶¯µÄ·½·¨£¬²¢¶ÔLinuxÖеÄÏÔʾÇý¶¯³ÌÐò½á¹¹ºÍ¿ò¼Ü×÷Ò»½éÉÜ¡£
³¤ÆÚÒÔÀ´£¬ÔÚ³£¼ûµÄÕÆÉϵçÄÔ£¨PDA£©µÈСÐÍÊÖ³ÖʽÉ豸ÉÏ£¬ÓÉÓÚÓ²¼þÌõ¼þµÈµÄÏÞÖÆ£¬ÎÒÃÇ¿´µ½µÄÏÔʾÆ÷¼þͨ³£Êǵ¥É«LCD£¬Óû§½çÃæÒ²·Ç³£¼òµ¥£¬¼¸ºõ¿´²»µ½ PC»úÉÏÃÀ¹ÛÕûÆëµÄͼÐνçÃ棨GUI£©Ö§³Ö¡£ÓÉÓÚÔçÆÚǶÈëʽ´¦ÀíÆ÷µÄËÙ¶ÈÓÐÏÞ£¬ÔÚ´¦ÀíͼÐκͶàýÌåÊý¾Ý·½ÃæÒ²ÏÔµÃÁ¦²»´ÓÐÄ¡£
ËæןßÐÔÄÜǶÈëʽ´¦ÀíÆ÷µÄÆÕ¼°ºÍÓ²¼þ³É±¾µÄ²»¶Ï½µµÍ£¬ÓÈÆäÊÇArmϵÁд¦ÀíÆ÷µÄÍƳö£¬Ç¶ÈëʽϵͳµÄ¹¦ÄÜÒ²Ô½À´Ô½Ç¿¡£ÔÚ¶àýÌåÓ¦ÓõÄÍƶ¯Ï£¬²ÊÉ«LCDÒ²Ô½À´Ô½¶àµØÓ¦Óõ½ÁËǶÈëʽϵͳÖУ¬ÈçÐÂÒ»´úÕÆÉϵçÄÔ£¨PDA£©¶à²ÉÓÃTFTÏÔʾÆ÷¼þ£¬Ö§³Ö²ÊɫͼÐνçÃ棬ͼƬÏÔʾºÍÊÓƵýÌå²¥·Å¡£ÕÆÉϵçÄÔ£¨PDA£©µÄ²Ù×÷ϵͳÓÐ΢ÈíWindow CE, PalmOSµÈ¡£¶øLinux×öΪ¿ª·ÅÔ´´úÂëµÄ²Ù×÷ϵͳҲÔÚÊг¡ÖÐÕ¼¾ÝÁËһϯ֮µØ¡£ÓÉÓÚLinux³É±¾µÍÁ®£¬ÈκÎÈ˶¼¿ÉÒԵõ½ÆäÔ´´úÂë²¢ÔÚÆä»ù´¡ÉϽøÐпª·¢£¬³ÉΪ¸÷¼Ò³§É̼«Á¦·¢Õ¹µÄ²Ù×÷ϵͳ£¬¼ÓÉÏÆäºËÐÄС£¬Ç±Á¦¿É¹Û¡£
ÔÚÓ¦ÓÃÐèÇóµÄÍƶ¯Ï£¬LinuxÏÂÒ²³öÏÖÁËÐí¶àͼÐνçÃæÈí¼þ°ü£¬Èç MiniGUI¡¢Trolletech¹«Ë¾µÄEmbedded QTµÈ£¬ÆäͼÐνçÃæ¼°¿ª·¢¹¤¾ßÓëWindows CE²»ÏàÉÏÏ¡£ÔÚͼÐÎÈí¼þ°üµÄ¿ª·¢ºÍÒÆÖ²¹¤×÷Öж¼Ç£³¶µ½µ×²ãLCDµÄÇý¶¯ÎÊÌâ¡£±ÊÕß²ÎÓëÁËÒ»¸ö»ùÓÚARM9µÄPDAϵͳµÄ¿ª·¢£¬ÓõÄÊÇĦÍÐÂÞÀ¹«Ë¾ÁúÖéϵÁеÄMC928MX1¡£Èí¼þ²ÉÓÃLinux 2.4.18ƽ̨£¬±àÒëÆ÷ΪgccµÄARM½»²æ±àÒëÆ÷¡£
Ò»¡¢Ó²¼þƽ̨
MC928MX1£¨ÒÔϼò³ÆMX1£©ÊÇĦÍÐÂÞÀ¹«Ë¾»ùÓÚARMºËÐĵĵÚÒ»¿îMCU£¬Ö÷ÒªÃæÏò¸ß¶ËǶÈëʽӦÓá£ÄÚ²¿²ÉÓÃARM920TÄںˣ¬²¢¼¯³ÉÁËSDRAM/Flash£¬LCD£¬USB£¬À¶ÑÀ£¨bluetooth£©£¬¶àýÌåÉÁ´æ¿¨£¨MMC£©£¬CMOSÉãÏñÍ·µÈ¿ØÖÆÆ÷¡£
LCD ¿ØÖÆÆ÷µÄ¹¦ÄÜÊDzúÉúÏÔʾÇý¶¯Ðźţ¬Çý¶¯LCDÏÔʾÆ÷¡£Óû§Ö»ÐèҪͨ¹ý¶ÁдһϵÁеļĴæÆ÷£¬Íê³ÉÅäÖƺÍÏÔʾ¿ØÖÆ¡£MX1ÖеÄLCD¿ØÖÆÆ÷¿ÉÖ§³Öµ¥É«/²ÊÉ« LCDÏÔʾÆ÷¡£Ö§³Ö²ÊÉ«TFTʱ£¬¿ÉÌṩ4/8/12/16λÑÕɫģʽ£¬ÆäÖÐ16λÑÕɫģʽÏ¿ÉÒÔÏÔʾ65536ÖÖÑÕÉ«¡£ÅäÖÃLCD¿ØÖÆÆ÷ÖØÒªµÄÒ»²½ÊÇÖ¸¶¨ÏÔʾ»º³åÇø£¬ÏÔʾµÄÄÚÈݾÍÊÇ´Ó»º³åÇøÖжÁ³öµÄ£¬Æä´óСÓÉÆÁÄ»·Ö±æÂʺÍÏÔʾÑÕÉ«Êý¾ö¶¨¡£ÔÚ±¾ÀýÖУ¬±ÊÕß²ÉÓõÄÊÇÏÄÆÕLQ035Q2DD54 TFT ÏÔʾģ¿é£¬ÔÚ240x320·Ö±æÂÊÏ¿ÉÌṩ16λ²ÊÉ«ÏÔʾ¡£
¶þ¡¢LinuxϵÄÉ豸Çý¶¯
Linux ½«É豸·ÖÎ
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò»¡¢BootLoaderµÄ¸ÅÄî
BootLoaderÊÇϵͳ¼ÓµçÆôÔËÐеĵÚÒ»¶ÎÈí¼þ´úÂ룮»ØÒäÒ»ÏÂPCµÄÌåϵ½á¹¹ÎÒÃÇ¿ÉÒÔÖªµÀ£¬PC»úÖеÄÒýµ¼¼ÓÔسÌÐòÓÉBIOS£¨Æä±¾ÖʾÍÊÇÒ»¶Î¹Ì¼þ³ÌÐò£©ºÍλÓÚÓ²ÅÌMBRÖеÄÒýµ¼³ÌÐòÒ»Æð×é³É¡£BIOSÔÚÍê³ÉÓ²¼þ¼ì²âºÍ×ÊÔ´·ÖÅäºó£¬½«Ó²ÅÌMBRÖеÄÒýµ¼³ÌÐò¶Áµ½ÏµÍ³µÄRAMÖУ¬È»ºó½«¿ØÖÆȨ½»¸øÒýµ¼³ÌÐò¡£Òý ......
http://www.mcublog.com/more.asp?name=sharkdn&id=8810
=======================================
ºÃЩʱºò£¬ÎÒÃÇÐèÒªÒ»¸öÖ»ÒªÒ»ÕÅÈíÅ̾ÍÄÜÆô¶¯Linux µÄϵͳ£¬±ÈÈç˵×ö·ÓÉÆ÷¡£µ«ÊÇÎÒÃǸÃÔõÑù×öÄØ£¿ Ò²¾ÍÊÇ˵ÎÒÃÇÒª°ÑKernelºÍFileSystem¶¼×öÔÚÒ»ÕÅ3.5'µÄÅÌÉÏ¡£ÎÒÃÇÏÈ°ÑFileSystem ·Ö½â³ÉÈçϼ¸¸ö²¿·Ö°É¡£
¡¡¡¡1. /b ......
LinuxÖÐwaitÓ÷¨£º
ϵͳÖеĽ©Ê¬½ø³Ì¶¼ÒªÓÉwaitϵͳµ÷ÓÃÀ´»ØÊÕ¡£
º¯ÊýÔÐÍ£º
#include<sys/types.h>
#include<sys/wait.h>
pid_t wait(int *status);
½ø³ÌÒ»µ©µ÷ÓÃÁËwait¾ÍÁ¢¼´×èÈû×Ô¼º£¬ÓÉwait×Ô¶¯·ÖÎöÊÇ·ñµ±Ç°½ø³ÌµÄij¸ö×Ó½ø³ÌÒѾÍ˳ö£¬Èç¹ûÈÃËüÕÒµ½ÁËÕâÑùÒ»¸öÒѾ±ä³É½©Ê¬µÄ×Ó½ø³Ì£¬wait¾Í»áÊÕ¼¯Õâ ......
1£®¹ØÓÚÎļþ/Ŀ¼´¦ÀíµÄÖ¸Áî
1.1 ls Ö¸Áî
lsµÄÒâÒåΪ“list”£¬Ò²¾ÍÊǽ«Ä³Ò»¸öĿ¼ÏµÄÄÚÈÝÏÔʾ³öÀ´¡£
lsÓÐһЩ²ÎÊý£¬¿ÉÒÔ¸øÓèʹÓÃÕ߸ü¶àÓйصÄ×ÊѶ£¬ÈçÏ£º
-a£ºÔÚlinuxÖÐÈôÒ»¸öĿ¼»òÎļþÃû×ֵĵÚÒ»¸ö×ÖԪΪ“.”£¬ÔòʹÓÃls½«²»»áÏÔʾ³öÕâ¸öÎļþµÄÃû×Ö£¬ÎÒÃdzƴËÀàÎļþΪÒþ²ØÎļþ¡£Èç¹ûÎÒà ......