LinuxÉ豸Çý¶¯¿ª·¢Ïê½â ±Ê¼Ç1 LinuxÉ豸Çý¶¯ÈëÃÅ
ʲôÊÇÇý¶¯£¿
×îͨË׵ĽâÊ;ÍÊÇ“ÇýʹӲ¼þÉ豸Ðж¯”
×÷Óã¿
É豸Çý¶¯Óëµ×²ãÓ²¼þÖ±½Ó´ò½»µÀ£¬°´ÕÕÓ²¼þÉ豸µÄ¾ßÌ幤×÷·½Ê½¶ÁдÉ豸¼Ä´æÆ÷£¬Íê³ÉÉ豸µÄÂÖѯ¡¢Öжϴ¦Àí¡¢DMAͨÐÅ£¬½øÐÐÎïÀíÄÚ´æÏòÐéÄâÄÚ´æµÄÓ³É䣬×îÖÕʹͨÐÅÉ豸Äܹ»ÊÕ·¢Êý¾Ý£¬Ê¹ÏÔʾÉ豸Äܹ»ÏÔʾÎÄ×ֺͻÃ棬ʹ´æ´¢É豸Äܹ»¼Ç¼ÎļþºÅÊý¾Ý
¼ÆËã»úϵͳµÄÓ²¼þÖ÷ÒªÓÐcpu¡¢´æ´¢Æ÷¡¢ÍâÉè×é³É¡£µ«ÊÇËæ×ÅICÖÆÔ칤Òյķ¢Õ¹£¬Ä¿Ç°£¬Ð¾Æ¬µÄ¼¯³É¶ÈÔ½À´Ô½¸ß£¬ÍùÍùcpuÄÚ²¿¾Í¼¯³ÉÁË´æ´¢Æ÷ºÍÍâÉèÊÊÅäÆ÷¡£ARM´¦ÀíÆ÷¼¯³ÉÁËUART¡¢I2C¿ØÖÆÆ÷£¨2==ƽ·½£©¡¢USB¿ØÖÆÆ÷¡¢SDRAM¿ØÖÆÆ÷µÈ
Çý¶¯Õë¶ÔµÄ¶ÔÏóÊÇ´æ´¢Æ÷ºÍÍâÉ裨°üÀ¨cpuÄÚ²¿¼¯³ÉµÄ´æ´¢Æ÷ºÍÍâÉ裩£¬¶ø²»ÊÇÕë¶ÔcpuºË¡£Linux½«´æ´¢Æ÷ºÍÍâÉè·ÖΪ3¸ö»ù´¡´óÀࣺ×Ö·ûÉ豸¡¢¿éÉ豸¡¢ÍøÂçÉ豸
×Ö·ûÉ豸֮ÄÇЩ±ØÐëÒÔ´®ÐÐ˳ÐòÒÀ´Î½øÐзÃÎʵÄÉ豸£¬Èç´¥ÃþÆÁ¡¢´Å´øÇý¶¯Æ÷¡¢Êó±êµÈ¡£¿ÉÉ豸¿ÉÒÔ°´ÕÕÈÎÒâ˳Ðò½øÐзÃÎÊ£¬ÒÔ¿éΪµ¥Î»½øÐвÙ×÷£¬ÈçÓ²ÅÌ¡¢ÈíÇýµÈ¡£×Ö·ûÉ豸²»¾¹ýϵͳµÄ¿ìËÙ»º³å£¬¶ø¿éÉ豸¾¹ýϵͳµÄ¿ìËÙ»º³å¡£µ«ÊÇ£¬×Ö·ûÉ豸ºÍ¿éÉ豸²¢Ã»ÓÐÃ÷ÏԵĽçÏÞ£¬ÈçflashÉ豸·ûºÏ¿éÉ豸µÄÌص㣬µ«ÊÇÎÒÃÇÈÔÈ»¿ÉÒÔ°ÑËü×÷Ϊһ¸ö×Ö·ûÉ豸À´·ÃÎÊ
ÔÚLinuxϵͳÖУ¬ÍøÂçÉ豸ÃæÏòÊý¾Ý°üµÄ½ÓÊպͷ¢ËͶøÉè¼Æ£¬Ëü²¢²»¶ÔÓ¦ÓÚÎļþϵͳµÄ½Úµã¡£ÄÚºËÓëÍøÂçÉ豸µÄͨÐźÍÄÚºËÓë×Ö·ûÉ豸¡¢¿éÉ豸µÄͨÐÅ·½Ê½ÍêÈ«²»Í¬¡£
ÈçÉÏͼËùʾ£¬³ýÍøÂçÉ豸Í⣬×Ö·ûÉ豸Óë¿éÉ豸¶¼±»Ó³Éäµ½LinuxÎļþϵͳµÄÎļþºÍĿ¼£¬Í¨¹ýÎļþϵͳµÄϵͳµ÷ÓýӿÚopen()¡¢write()¡¢read()¡¢close()µÈº¯Êý¼´¿É·ÃÎÊ×Ö·ûÉ豸ºÍ¿éÉ豸¡£¿éÉ豸±È×Ö·ûÉ豸¸´ÔÓ£¬ÔÚËüÉÏÃæ»áÊ×ÏȽ¨Á¢Ò»¸ö´ÅÅÌ/FlashÎļþϵͳ£¬ÈçFAT¡¢Ext3¡¢YAFFS¡¢JFFSµÈFAT¡¢Ext3¡¢YAFFS¡¢JFFS¹æ·¶ÁËÎļþºÍĿ¼ÔÚ´æ´¢½éÖÊÉϵÄ×éÖ¯
Ó¦ÓóÌÐò¿ÉÒÔʹÓÃLinuxµÄϵͳµ÷Óýӿڱà³Ì£¬Ò²¿ÉÓÉʹÓÃc¿âº¯Êý£¬³öÓÚ¿ÉÒÆÖ²ÐԵĿ¼ÂÇ£¬ºóÕ߸üÖµµÃÍƼö¡£c¿âº¯Êý±¾ÉíÒ²ÊÇͨ¹ýϵͳµ÷ÓýӿڶøʵÏÖµÄ
ÔÚǶÈëʽϵͳµÄÉè¼ÆÖУ¬LEDÒ»°ãÖ±½ÓÓÉcpuµÄGPIO¿ØÖÆ¡£GPIOÒ»°ãÓÐÁ½×é¼Ä´æÆ÷¿ØÖÆ£¬¼´Ò»×é¿ØÖƼĴæÆ÷ºÍÒ»×éÊý¾Ý¼Ä´æÆ÷¡£¿ØÖƼĴæÆ÷¿ÉÉèÖÃGPIO¿ÚµÄ¹¤×÷·½Ê½ÎªÊäÈë»òÊä³ö¡£µ±Òý½ÅÉèÖÃΪÊä³öʱ£¬ÏòÊý¾Ý¼Ä´æÆ÷µÄ¶ÔӦλдÈë1ºÍ0»á·Ö±ðÔÚÒý½ÅÉϲúÉú¸ßµçƽºÍµÍµçƽ£»µ±Òý½ÅÉèÖÃΪÊäÈëʱ£¬¶ÁÈ¡Êý¾Ý¼Ä´æÆ÷µÄ¶ÔӦλ¿É»ñµÃÒý½ÅÉÏÏàÓ¦µÄµçƽÐźÅ
Ïà¹ØÎĵµ£º
ÐéÄâ»úlinuxÉÏÍøÅäÖà ͼ½â½Ì³Ì
ÐéÄâ»úlinuxÏÂNATÉÏÍø·½Ê½¸úwindowsÏÂÊDz»Ò»ÑùµÄ£¬windowsϵͳֻҪֱ½ÓÑ¡ÔñNATÉÏÍø·½Ê½¼´¿É£¬²»ÐèÒªÆäËüÅäÖ㬶ølinuxÒªÏë ÓÃNAT·½Ê½ÉÏÍøÐè½øÐÐÁíÍâµÄÉèÖá£ÏÂÃæµÄͼÎĽ̳Ì,ÎÒ¾õµÃ»¹ÊDZȽϾ«µäµÄ£¬Ë¼Â··Ç³£ÇåÎú£¬Ï£Íû¶Ô¸Õ½Ó´¥ linuxµÄÅóÓÑÓÐËù°ïÖú¡£
µãÐéÄâ»ú²Ëµ¥: ±à¼---±à¼ ......
1.ÔÚÏßÏÂÔØ£ºwget http://www.realvnc.com/dist/vnc-4.0-x86_linux.tar.gz
2.½âѹËõ£ºtar -zxvf vnc-4.0-x86_linux.tar.gz
¿ÉÒÔ¿´READMEÀïÄÚÈÝÀ´°²×°
3¡£½øÈëvncĿ¼Ï°²×°£º./vncinstall /usr/local/bin
4¡£mkdir -p /usr/local/vnc/classes
cp java/* /usr/local/vnc/classes
5¡£Æô¶¯vncserver
......
ÒÔ i2c-mpc.c Çý¶¯Ä£¿éΪÀý
fsl_i2c_init -> of_register_platform_driver -> of_register_driver -> driver_register -> bus_add_driver -> driver_attach
-> bus_for_each_dev -> __driver_attach -> driver_probe_device -> really_probe -> drv->probe(dev); ......
ZDNetÈí¼þƵµÀ
2008-05-13
×÷Õß
£º | ÖйúITʵÑéÊÒ
±¾ÎĹؼü´Ê£º
²Ù×÷ϵͳ
¼¼
ÇÉ
°²×°
Linux
1¡¢Èí¼þ°²×°
жÔØ£¬·Ö¼¸ÖÖÇé¿ö£º
A£º
RPM°ü£¬ÕâÖÖÈí¼þ°ü¾ÍÏñwindowsµÄ
EXE°²×°
ÎļþÒ»Ñù£¬¸÷ÖÖÎļþÒѾ±àÒëºÃ£¬²¢´òÁË°ü£¬ÄĸöÎļþ¸Ã·Åµ½ÄĸöÎļþ¼Ð£¬¶¼Ö¸¶¨ºÃÁË£¬°²
×°
·Ç³£·½±ã£¬ÔÚͼР......
LinuxС¼¼ÇÉÊÕ¼¯
Ç°ÑÔ£ºÒòΪÓÃLinuxµÄʱ¼äÔ½À´Ô½³¤£¬ËùÐèÒª×öµÄÊÂÒ²Ô½À´Ô½¶à£¬Ð§ÂʳÉÁËÎÒ±ØÐèÍ»ÆƵÄÆ¿¾±¡£ÔÚ´Ë×ܽáÒ»ÏÂÕâ¶Îʱ¼äÓùýµÄһЩºÃµÄLinux¼¼ÇÉ¡£ÒÔºóʱ³£²¹³äÕâÑù×Ô¼ºÒªÓõÄʱºò¾ÍºÜ·½±ãÁË¡£
Author:Ajian
[Îı¾´¦Àí]
1¡¢²é¿´Ä³ÎļþµÄÒ»²¿·Ö
Èç¹ûÄãÖ»Ïë¿´ÎļþµÄÇ° 5 ÐУ¬¿ÉÒÔʹÓà head ÃüÁ
È磺head -5 ......