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

LINUXÏÂI2C×ÜÏßÊÊÅäÆ÷³õʼ»¯µ÷ÓÃÁ´

ÒÔ 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);


Ïà¹ØÎĵµ£º

LinuxÉ豸Ãûtty¡¢pty¡¢ptsµÄ¸ÅÄî

»ù±¾¸ÅÄ
1> tty(ÖÕ¶ËÉ豸µÄͳ³Æ):
ttyÒ»´ÊÔ´ÓÚTeletypes£¬»òteletypewriters£¬Ô­À´Ö¸µÄÊǵ紫´ò×Ö»ú£¬ÊÇͨ¹ý´®ÐÐÏßÓôòÓ¡»ú¼üÅÌͨ¹ýÔĶÁºÍ·¢ËÍÐÅÏ¢µÄ¶«Î÷£¬ºóÀ´ÕⶫÎ÷±»¼üÅ̺ÍÏÔʾÆ÷È¡´ú£¬ËùÒÔÏÖÔÚ½ÐÖն˱ȽϺÏÊÊ¡£
ÖÕ¶ËÊÇÒ»ÖÖ×Ö·ûÐÍÉ豸£¬ËûÓжàÖÖÀàÐÍ£¬Í¨³£Ê¹ÓÃttyÀ´¼ò³Æ¸÷ÖÖÀàÐ͵ÄÖÕ¶ËÉ豸¡£
2> pty£¨ÐéÄâÖ ......

È«ÇòLinuxÓû§ËÄÔ·ÝÓÖÉÙÁËÈý·ÖÖ®Ò»






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
     µ±½ñ£¬²»ÉÙ
Linux
Óû§Ò²Ê¹ÓÃÆäËû²Ù×÷ϵͳ£¬ÓÐʱÕâÑù£¬ÓÐʱÄÇÑù£¬ÄÑÓÚ¾«È·Í³¼Æ¡£Ö¤¾ÝºÎÔÚ£¿
 
       5
ÔÂ
7
ÈÕ£¬
www.w3couter.com
ÍøÕ¾·¢²¼Ã¿ÔÂͳ¼ÆÊý ......

Linux rmɾ³ýÎļþ¼ÐÃüÁî

ÔÚlinuxÖÐɾ³ýÒ»¸öĿ¼ºÜ¼òµ¥£¬ºÜ¶àÈË»¹ÊÇÏ°¹ßÓÃrmdir£¬²»¹ýÒ»µ©Ä¿Â¼·Ç¿Õ£¬¾ÍÏÝÈëÉîÉîµÄ¿àÄÕÖ®ÖУ¬ÏÖÔÚʹÓÃrm -rfÃüÁî¼´¿É½â¾ö¡£
Ö±½Órm¾Í¿ÉÒÔÁË£¬²»¹ýÒª¼ÓÁ½¸ö²ÎÊý-rf ¼´£ºrm -rf   Ä¿Â¼Ãû×Ö
-r ¾ÍÊÇÏòϵݹ飬²»¹ÜÓжàÉÙ¼¶Ä¿Â¼£¬Ò»²¢É¾³ý
-f ¾ÍÊÇÖ±½ÓÇ¿ÐÐɾ³ý£¬²»×÷ÈκÎÌáʾµÄÒâ˼
ɾ³ýÎļþ¼ÐʵÀý£º
rm -r ......

Linux tftp ÃüÁî

In my embedded platform, I want to use tftp command,
run tftp, it will output:
Usage: tftp [OPTION]... HOST [PORT]
Transfer a file from/to tftp server
Options:
        -l FILE Local FILE
        -r FILE Remote FILE
 &n ......

Linux ³£ÓÃÃüÁת£©


linuxĿ¼¼Ü¹¹ 
/ ¸ùĿ¼ 
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄 
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ 
/boot/grub/menu.lst GRUBÉèÖà
/boot/vmlinuz Äںˠ
/boot/initrd ºËÐĽâ壓縮ËùÐè RAM Disk 
/dev ϵͳÖܱßÉ豸 
/etc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ